1.下載快捷安裝sh
http://download.csdn.net/detail/u012547633/9882697
把centos版的phabricator安裝指令碼下載到opt目錄並安裝
#cd /opt #chmod 777 install_rhel-derivs.sh #./install_rhel-derivs.sh
注意:可能出現有些yum缺失,需要手動安裝,請注意yum命令執行時日誌
2.安裝必要外掛程式
#yum -y install pcre-devel#yum -y install php-pear#yum -y install pecl#yum -y install apc
3.把這些檔案移動到apache的DocumentRoot下,可自己設定
#mv /opt/arcanist /var/www/html#mv /opt/libphutil /var/www/html#mv /opt/phabricator /var/www/html
4.修改/etc/httpd/conf/httpd.conf以下幾點
//設定DocumentRootDocumentRoot "/var/www/html/phabricator/webroot"//加入index.phpDirectoryIndex index.php index.html index.html.var<VirtualHost *> RewriteEngine on RewriteRule ^/rsrc/(.*) - [L,QSA] RewriteRule ^/favicon.ico - [L,QSA] RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]</VirtualHost>
5.啟動必要的服務
#service httpd restart#chkconfig httpd on#service mysqld restart#chkconfig httpd on
然後通過地址欄訪問,根據步驟來就行了,雖然是英文,只要你用翻譯,是明顯的。上面還配備了命令語句。
我同步倉庫,初始化資料庫命令不行,後台發現是代碼路徑問題,
phabricator/bin下面,定向檔案只向上兩次,源檔案三次,全部要改成dirname(dirname(FILE));
6.介面漢化
點選連結,裡面有說明
http://download.csdn.net/detail/u012547633/9882706