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复制代码