在Centos上安裝wordpress
- yum install wordpress
- cat /usr/share/doc/wordpress-4.1/README.fedora(按照裡面的步驟建立資料庫)
- 訪問http://host/wordpress 發現這個錯誤 "client denied by server configuration: /usr/share/wordpress/"
- 檢查 vi /etc/httpd/logs/error_log 發現 "client denied by server configuration: /usr/share/wordpress/" 說明apache已經把請求轉到指定目錄,但是由於apache的設定被禁止了
- 檢查 vi /etc/httpd/conf/httpd.conf 沒找到wordpress設定,但是發現"Include conf.d/*.conf"
- 進一步檢查 vi /etc/httpd/conf.d/wordpress.conf 發現預設選項是 "Deny from All" 只允許本機的。所以改成 "Allow from All"就好
- service httpd reload
http://ahmed.amayem.com/installing-wordpress-step-2-setting-up-mysql-for-wordpress-using-command-line-mysql-client-on-linux-centos-6/
1. sudo vi /etc/wordpress/wp-config.php 設定資料庫名和使用者名稱
2. mysql> grant all privileges on wordpress.* to wordpress@localhost identified by 'wordpress';
3. http://tt/wordpress/wp-admin/install.php
解決 /usr/share/wordpress/.htaccess: RewriteEngine not allowed here
http://stackoverflow.com/questions/6995545/htaccess-rewriteengine-not-allowed-here
相關文章
- CentOS 7上安裝WordPress詳細步驟CentOS
- 在CentOS上安裝GitCentOSGit
- 在centos上安裝molochCentOS
- 在CentOS上安裝dockerCentOSDocker
- 在CentOS上安裝PowerShellCentOS
- hive在centos上安裝HiveCentOS
- CentOS7上安裝WordPress詳細步驟CentOS
- 在CentOS 8.1上安裝 DockerCentOSDocker
- SonarQube在CentOS上的安裝CentOS
- 在CentOS上安裝GITLABCentOSGitlab
- 在Centos7上安裝DockerCentOSDocker
- 在CentOS 7上安裝TensorflowCentOS
- 在Centos6.5上安裝ossfsCentOS
- 在CentOS 7.5上安裝和配置ProFTPDCentOSFTP
- 在Red Hat和Centos上安裝MongoDBCentOSMongoDB
- 2、在VM上的 CentOS 6.5 上安裝mysqlCentOSMySql
- Centos7安裝WordPress詳細教程CentOS
- 在Centos8上安裝和使用curlCentOS
- 在 Centos/RHEL 6.X 上安裝 WettyCentOS
- 截圖利器:shutter在centos上的安裝CentOS
- 在Centos7上安裝Redis6CentOSRedis
- 在CentOS7上安裝Zabbix3.0CentOS
- 在CentOS 6.5上安裝python2.7CentOSPython
- CentOS 上安裝 NginxCentOSNginx
- centos上安裝grafanaCentOSGrafana
- centos上安裝redmineCentOS
- 在rhel和CentOS上安裝SQL Server的方法CentOSSQLServer
- PostgreSQL tar.gz在centos7上安裝SQLCentOS
- 在Linux CentOS 6.6上安裝Python 2.7.9LinuxCentOSPython
- 在 CentOS6 上安裝 Zabbix2.4 ServerCentOSServer
- 遊俠原創:在CentOS上安裝Nessus薦CentOS
- centos上nginx的安裝CentOSNginx
- 在Centos7上安裝圖形化桌面工具CentOS
- Docker架構及在Centos7上安裝dockerDocker架構CentOS
- 在Centos 7上使用Devstack快速安裝Openstack薦CentOSdev
- 在 CentOS7 上安裝 zookeeper-3.4.9 服務CentOS
- 在CentOS上使用yum安裝MySQL+安全優化CentOSMySql優化
- 安裝wordpress教程詳細安裝wordpress步揍