Analytics

2013年4月30日 星期二

[WP]在UBUNTU 12.04 安裝 wordpress 記錄

(圖片來源:source)

不愧是當今最多人使用的CMS
安裝步驟非常簡單

(請先安裝好LAMP...中的Apache,Mysql,Php)

1. 下載 wordpress

sudo apt-get install wordpress

就搞定了XDDD
沒有啦還有一些設定


2.接下來請參考官方教學

https://help.ubuntu.com/community/WordPress

mysql 設定那段我是直接用指令開wordpress專用DB
http://ubuntuserverguide.com/2012/05/how-to-install-latest-wordpress-in-ubuntu-server-12-04-lts.html
參考下方手動設定那段

然後再按照這個網頁設定wp-config.php
http://wpnote.tw/wordpress%E5%AE%89%E8%A3%9D%E6%95%99%E5%AD%B8%EF%BC%8C%E8%B8%8F%E9%80%B2wp%E4%B8%96%E7%95%8C%E7%9A%84%E7%AC%AC%E4%B8%80%E6%AD%A5/2/

3.如果你要直接用網頁根目錄的位置來連結
依照以上的安裝方式結果會是
http://example.com/wordpress
如果你想要...
http://example.com

請參考這個文件
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

其中的:Using a pre-existing subdirectory install
來操作


ps. 其他有關資料
http://ibluemonkey.blogspot.tw/2012/03/ubuntuwordpress.html


沒有留言:

張貼留言