摘要: 1. 安装 apache,并设置 apache 服务启动和下次开机启动 yum -y install httpd systemctl enable httpd --now 2. 安装成功后切换目录,编辑 index.html 文件 cd /var/www/html/ vim index.html 3 阅读全文
posted @ 2021-12-02 16:10 demoduan 阅读(1208) 评论(0) 推荐(0)
摘要: 1. 安装 nginx,安装 nginx 前要安装 epel 源,安装后并设置 nginx 服务启动和下次开机启动 yum -y install epel-release yum -y install nginx systemctl enable nginx --now 2. 安装成功后切换目录,编 阅读全文
posted @ 2021-12-02 15:56 demoduan 阅读(1059) 评论(0) 推荐(0)