CentOS
愚痴鱼
浮世如海,众生皆鱼
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CentOS7上安装OpenResty
官网地址:OpenResty® - 中文官方站 在CentOS系统中添加OpenResty仓库,可以方便安装和更新。顺序执行下面两条命令: yum install yum-utils -y yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo 运行截图: 安装OpenResty yum install openresty -y 这样就完成了基本的安装,默认的安装目录在/u..原创 2021-12-15 01:26:14 · 675 阅读 · 0 评论 -
CentOS7关闭防火墙
CentOS 7默认使用的是firewall作为防火墙,可以用以下两种方式查看防火墙的状态: firewall-cmd --state systemctl status firewalld.service 两种方式的输出结果: 从centos7开始使用systemctl来管理服务和程序,包括了service和chkconfig。开启、关闭防火墙可以使用以下命令: # 启动防火墙 systemctl start firewalld.service # 关闭防火墙 systemctl s.原创 2021-12-15 01:21:19 · 1166 阅读 · 0 评论
分享