CentOS下安装配置Phabricator

前端之家收集整理的这篇文章主要介绍了CentOS下安装配置Phabricator前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1.下载快捷安装sh
http://download.csdn.net/detail/u012547633/9882697
把centos版的phabricator安装脚本下载到opt目录并安装

  1. #cd /opt
  2. #chmod 777 install_rhel-derivs.sh
  3. #./install_rhel-derivs.sh

注意:可能出现有些yum缺失,需要手动安装,请注意yum命令执行时日志
2.安装必要插件

  1. #yum -y install pcre-devel
  2. #yum -y install PHP-pear
  3. #yum -y install pecl
  4. #yum -y install apc

3.把这些文件移动到apache的DocumentRoot下,可自己设置

  1. #mv /opt/arcanist /var/www/html
  2. #mv /opt/libphutil /var/www/html
  3. #mv /opt/phabricator /var/www/html

4.修改/etc/httpd/conf/httpd.conf以下几点

  1. //设置DocumentRoot
  2. DocumentRoot "/var/www/html/phabricator/webroot"
  3. //加入index.PHP
  4. DirectoryIndex index.PHP index.html index.html.var
  5. <VirtualHost *>
  6. RewriteEngine on
  7. RewriteRule ^/rsrc/(.*) - [L,QSA]
  8. RewriteRule ^/favicon.ico - [L,QSA]
  9. RewriteRule ^(.*)$ /index.PHP?__path__=$1 [B,L,QSA]
  10. </VirtualHost>



5.启动必要的服务

  1. #service httpd restart
  2. #chkconfig httpd on
  3. #service MysqLd restart
  4. #chkconfig httpd on

然后通过地址栏访问,根据步骤来就行了,虽然是英文,只要你用翻译,是明显的。上面还配备了命令语句。
我同步仓库,初始化数据库命令不行,后台发现是代码路径问题,
phabricator/bin下面,定向文件只向上两次,源文件三次,全部要改成dirname(dirname(FILE));

6.界面汉化
点击链接,里面有说明
http://download.csdn.net/detail/u012547633/9882706

猜你在找的CentOS相关文章