CentOS7 install apache
1. yum install httpd
2. config /etc/httpd/conf/httpd.conf
<VirtualHost *:80>
ServerName www.linuxidc.local
DocumentRoot /wwwroot/www/
</VirtualHost>
<Directory “/wwwroot/www/”>
Requireall granted
</Directory>
3.systemctl enable httpd.service
4.systemctl start httpd.service
1、因为很少登录,评论基本没有回复,见凉!
2、如果转载我的文章,请写明出处,谢谢!
3、有些文章为转载,如果您发现侵权,请联系删除,但回复可能需要较长时间