有关个人网站的搭建所遇问题请仔细检查自己的网卡看客户机和服务机之间是否能及时ping通
有关www的网页的搭建请仔细检查防火墙以及selinux
[root@server conf.d]# systemctl status firewalld.service ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-12-14 13:49:29 CST; 1h 17min ago Docs: man:firewalld(1) Main PID: 817 (firewalld) CGroup: /system.slice/firewalld.service └─817 /usr/bin/python -Es /usr/sbin/firewalld --no... Dec 14 13:49:27 server systemd[1]: Starting firewalld - dynam... Dec 14 13:49:29 server systemd[1]: Started firewalld - dynami... Hint: Some lines were ellipsized, use -l to show in full. [root@server conf.d]# systemctl stop firewalld.service [root@server conf.d]# !sys systemctl stop firewalld.service [root@server conf.d]# getenforce Permissive [root@server conf.d]#
注意:域名解析
server/client -> vim /etc/hosts -> 192.168.100.10 www.one.com 192.168.100.11 www.two.com
注意:重启和注意www的位置是否在/(不要在~)
标签:www,service,遇到,firewalld,server,conf,Apache,root,搭建 From: https://www.cnblogs.com/bylk-zizai/p/17901611.html