随笔分类 -  linux

CentOS8安装redis
摘要:参考: https://www.cnblogs.com/codexj/p/12606037.html 阅读全文
posted @ 2020-07-25 21:21 wnotes 阅读(204) 评论(0) 推荐(0)
CentOS8安装Nginx
摘要:方式一:yum安装 安装: yum install nginx 启用并启动Nginx服务: $ sudo systemctl enable nginx $ sudo systemctl start nginx 停止服务: $ sudo systemctl stop nginx 要验证服务是否正在运行 阅读全文
posted @ 2020-07-25 16:19 wnotes 阅读(17738) 评论(0) 推荐(0)
linux常用命令
摘要:打包和压缩文件 【tar】命令,常用参数: -c:创建一个新tar文件 -v:显示运行过程信息 -f:指定文件名 -t:查看压缩文件的内容 -z:调用gzip压缩命令进行压缩 -x:解开tar文件 打包: tar -cvf xxx.tar ./* 打包并压缩: tar -zcvf xxx.tar.g 阅读全文
posted @ 2020-07-24 16:05 wnotes 阅读(174) 评论(0) 推荐(0)
centos8联网问题
摘要:问题1描述: 在vm上安装CentOS8后,发现无法联网。 解决: 1.若一开始ifconfig没有显示网卡,则去设置在系统启动时激活网卡: [root@localhost ~]# cd /etc/sysconfig/network-scripts/ [root@localhost network- 阅读全文
posted @ 2020-07-24 10:53 wnotes 阅读(4151) 评论(0) 推荐(0)