cleey
望着那一丝海线,若隐若现。落日下的海霞,数不尽的美,看不完的醉
facebook之review工具phabricator安装步骤
1. Installing Required Components

wget http://phabricator.com/rsrc/install/install_rhel-derivs.sh


2. Configuring MySQL

mysql -uroot < /home/qianya/phabricator/resources/sql/init/initialize.sql


3. Upgrading Schema

cd /home/qianya/phabricator/conf
sudo PHABRICATOR_ENV=production.conf.php /home/qianya/phabricator/scripts/sql/upgrade_schema.php


4. Configuring Phabricator
创建 /home/qianya/phabricator/conf/custom/myconfig.conf.php
内容参考 http://www.phabricator.com/docs/phabricator/article/Configuration_Guide.html
5. Configuring Apache
第一个问题:
<<< *** FAILURE! *** >>>

Setup failure! Install PHP extension 'mbstring'.


解决方法:
安装 php53-mbstring 解决
第二个问题:
<<< *** FAILURE! *** >>>

Setup failure! Your configuration fails to specify a server timezone. Either set 'date.timezone' in your php.ini or 'phabricator.timezone' in your Phabricator configuration. See the PHP documentation for a list of supported timezones:
http://us.php.net/manual/en/timezones.php


解决方法:

sudo vi /etc/php.ini


去掉date.timezone前的分号

date.timezone = Asia/Shanghai


第三个问题
Setup failure! MySQL exception: Attempt to connect to failed with error #2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
Edit Phabricator configuration keys 'mysql.user', 'mysql.host' and 'mysql.pass' to enable Phabricator to connect.

解决方法:
启动mysql :
sudo /etc/init.d/mysqld restart
sudo ./mysqladmin -u root password "***"
sudo vi /home/qianya/phabricator/conf/custom/myconfig.conf.php 修改mysql的用户名密码
sudo mysqladmin -u root password ''

创建admin帐号
export PHABRICATOR_ENV=production
sudo ./accountadmin
sudo ./mysqladmin -u root password "***"
<< 上一篇 shell获取系统信息 java即时通信多线程,socket 下一篇 >>
文章标签
随意 | Created At 2014 By William Clinton | 蜀ICP备14002619号-4 |