centos 下搭建wordpress
1、 yum -y install httpd
2、 vi /etc/httpd/conf/httpd.conf
修改監聽埠, AllowOverride None 改為 AllowOverride all
systemctl start httpd
systemctl restart httpd.service
3、 wget https://wordpress.org/latest.zip
mv latest.zip wordpress.zip
yum install php
yum install php-mysql
yum install php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc
移動wordpress 放到 /var/www/html/ 目錄下
4、yum install vsftpd
useradd ftp001複製程式碼