https://upcloud.com/community/tutorials/wordpress-with-docker/
图形界面 配置网络 dhcp
1 | nmtui |
1 | yum update && yum upgrade |
1 | systemctl start httpd.service |
1 | firewall-cmd --permanent --add-service=http |
sudo systemctl stop firewalld
or
systemctl disable firewalld
aili mirrors
http://mirrors.aliyun.com/centos/7/isos/x86_64/
1 | sudo yum update httpd |
/etc/init.d/network restart
======
sudo vi /etc/httpd/conf/httpd.conf
sudo vi /etc/httpd/sites-available/example.com.conf
<VirtualHost *:80>
ServerName www.example.com
ServerAlias example.com
DocumentRoot /var/www/example.com/html
ErrorLog /var/www/example.com/log/error.log
CustomLog /var/www/example.com/log/requests.log combined