CentOS下安裝配置Phabricator

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.