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服务器
最新推荐文章于 2023-11-20 17:05:23 发布