ubuntu
Joker_PL
路漫漫其修远兮,吾将上下而求索
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Linux系统设置history显示命令运行的时间
linux系统使用history命令可以展示系统在当前用户下运行过的历史命令从上图中可以看出,在展示历史命令时是不显示命令运行的时间的为了使得运行history之后展示历史命令运行的时间修改配置文件:/etc/bashrc、/etc/profile、~/.bashrc(改任意一个都行)我们这里修改 /etc/profile 文件IP_USER=`who -u am i 2>/dev/null | awk '{print $NF}' | sed -e 's/[()]//g'`if [ -z原创 2021-09-26 17:00:37 · 1487 阅读 · 0 评论 -
ubuntu安装ssh服务使得系统支持远程登录
文章目录安装防火墙管理软件sudo apt install ufw关闭防火墙sudo ufw enable开放 22 端口sudo ufw allow 22安装sshsudo apt install openssh-server 启动ssh/etc/init.d/ssh start/etc/init.d/ssh restart #重启SSH服务/etc/init...原创 2020-02-26 17:49:17 · 427 阅读 · 0 评论 -
ubuntu安装PHP7.4
文章目录一、安装 add-apt-repository 命令二、添加第三方源三、安装php四、启动PHP一、安装 add-apt-repository 命令apt-get install software-properties-common二、添加第三方源add-apt-repository ppa:ondrej/phpapt-get update三、安装phpapt-get i...原创 2020-02-26 17:25:14 · 2614 阅读 · 0 评论
分享