[研究] WordPress 3.8.1 部落格伺服器架設 (CentOS 6.5 x64)(繁體中文版)
2014-01-26
Lu
WordPress 台灣正體中文網站
http://tw.wordpress.org/
安裝參考
http://tw.wordpress.org/txt-install/
下載
http://tw.wordpress.org/wordpress-3.8.1-zh_TW.tar.gz
http://tw.wordpress.org/wordpress-3.8.1-zh_TW.zip
安裝
yum -y install php php-mysql mysql httpd mysql-server
chkconfig httpd on
chkconfig mysqld on
service mysqld restart
service httpd restart
# 替 MySQL 的 root 帳號設定密碼
/usr/bin/mysql_secure_installation
# 建立 WordPress 系統使用的資料庫,稱為 wordpressdb,連線帳號 wordpresser,密碼 123456
(可以依自己喜好修改)
[root@localhost ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.1.71 Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database wordpressdb;
Query OK, 1 row affected (0.00 sec)
mysql> grant all privileges on wordpressdb.* to wordpresser@localhost identified by '123456';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
[root@localhost ~]#
wget http://tw.wordpress.org/wordpress-3.8.1-zh_TW.tar.gz
tar xzvf wordpress-3.8.1-zh_TW.tar.gz -C /var/www/html
# 為了寫入 wp-config.php
chmod a+w /var/www/html/wordpress
# 啟動瀏覽器,連上網站
firefox httpd://192.168.128.20/wordpress
最後把權限改回
chmod a-w /var/www/html/wordpress
(完)
[研究] WordPress 3.8.1 部落格伺服器架設 (CentOS 6.5 x64)(繁體中文版)
http://shaurong.blogspot.com/2014/01/wordpress-381-centos-65-x64.html
[研究] WordPress 3.7 部落格伺服器架設 (CentOS 6.4 x64)(繁體中文版)
http://shaurong.blogspot.tw/2013/10/wordpress-27-centos-64-x64.html
沒有留言:
張貼留言