centos 下搭建wordpress

lsj1992g發表於2019-03-15

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複製程式碼

相關文章