1.获取地址并远程连接
2.mount /dev/sr0 /mnt
3.vim /etc/yum.repos.d/base.repo
4.
5.yum install httpd -y
6.显示complet!
7.systemctl restart httpd
8. setenforce 0
9. systemctl stop firewalld
10. vim /etc/httpd/conf.d/host.conf
11. 插入模式
12. systemctl restart httpd
13. vim /var/www/html/index.html
14. 编辑网页内容
15. 之后可以cat查看确认
16. 完成
如何搭建一个web服务器
最新推荐文章于 2024-05-21 20:38:51 发布
887

被折叠的 条评论
为什么被折叠?



