CentOS7常用命令 CentOS7常用命令
开启防火墙systemctl start firewalld 关闭防火墙systemctl stop firewalld 查看防火墙状态systemctl status firewalld 开放某个端口firewall-cmd --
CentOS7安装nginx CentOS7安装nginx
安装依赖yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel 下载稳定版本wget http://nginx.org/download/nginx-1.16
2022-07-01
CentOS7安装docker-compose CentOS7安装docker-compose
curl -L https://github.com/docker/compose/releases/download/1.23.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin
2022-07-01
CentOS7安装docker CentOS7安装docker
卸载旧版本sudo yum remove docker \ docker-client \ docker-client-latest \
9 / 9