摘要: 配置nginx 在html中新建文件夹yuming1 yuming2,并在其中新建index.html文件 vim nginx server { listen 80; server_name www.nginx-test.cn; location / { root html/yuming1; ind 阅读全文
posted @ 2020-09-07 09:53 琴似蓝调 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 开放80,81端口 firewall-cmd --add-port=80/tcp --permanent firewall-cmd --add-port=81/tcp --permanent firewall-cmd --reload 配置nginx 在html下新建文件夹duankou1,duan 阅读全文
posted @ 2020-09-07 09:31 琴似蓝调 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 在虚拟机中添加另外两个虚拟网卡 虚拟机中,设置,添加,网络适配器 [root@localhost network-scripts]# ls ifcfg-ens33 ifcfg-ens36 ifcfg-ens37 ifcfg-ens36 ifcfg-ens37和ifcfg-ens33差不多,只是删除了 阅读全文
posted @ 2020-09-07 09:08 琴似蓝调 阅读(552) 评论(0) 推荐(0) 编辑