Phabricator User Guide
1, phabricator installation
Phabricator installation requires lamp's related components environment, namely Linux-based Apache2, MySQL, PHP-related installation. Here, using the installation script provided by the official website, it is convenient to install related dependencies directly at once.
The install_ubuntu.sh installation script links are as follows:
https://secure.phabricator.com/diffusion/P/browse/master/scripts/install/install_ubuntu.sh
After the script is successfully installed, the Phabricator directory tree is as follows:
2. Phabricator Configuration
The official configuration guidance document is linked as follows:
https://secure.phabricator.com/book/phabricator/article/configuration_guide/
configuration of the Hosts file :
127.0.0.1 hostlocal phabricator.example.com
configuration of the Apache2:
The default installation under Apache is installed under/etc/apache2/and is configured according to the official documentation as follows:
Apache older Than 2.4
Here's what to note:
ServerName phabricator.example.com need to be configured on <virtualhost *> to be correct.
SSL configuration for HTTPS, here Apache2 need to support SSL configuration, configured as follows:
After modifying the configuration, restart Apache. The restart command is
/etc/init.d/apache2 Restart (or service apache2 restart).
configuration of MySQL:
Restart the MySQL database,
/etc/init.d/mysqld Restart or service MySQL restart
After configuring Apache, configure MySQL to switch to the Phabricator directory./bin/storage upgrade initializes the relevant schema of the Phabricator to the database.
phabricator/$./bin/storage Upgrade
phabricator/$./bin/storage Upgrade--user <user>--password <password>
3, Phabricator related configuration
Here in the browser to enter the corresponding host IP, that is 192.168.xx.xx can.
The associated issue configuration can be fixed by following the links below:
Http://wenku.baidu.com/view/de1bf072a5e9856a5612607f.html
Øno authentication Providers configured (landing issue)
Øserver Timezone Not Configured (set the time zone of the server)
Ømissing Repository Local Path (Configuring the On-premises library)
Øbase URI Not Configured (configure Server base address)
Øphabricator daemons is not Running (open daemon thread)
Ø ' Apc.stat ' enabled in Production (open phabricator developer mode)
O... 4. Phabricator Configuration Account
Permissions for users and general users who configure administrator permissions based on the page
Note: The registered user name here needs to be consistent with SVN username 5, phabricator connection SVN-related configuration
installation and viewing of a single-board SVN:
Apt-get Install Subversion
SVN--version
after the installation is successful, configure host:
Here you need to configure the SVN hostname and the corresponding SVN server IP
IP xxx
command-line validation:
SVN--non-interactive--no-auth-cache--trust-server-cert--username ' xxx '--password ' xxx ' cat ' svn address '
Here's how to use P's Forever remember password
SVN cat ' svn address ' 6, Phabricator's diffusion configuration
This connects the SVN configuration library for diffusion viewing of the code.
Create Repository
Phabricator's SVN commit record and comparison view:
7, Phabricator of the audit configuration
Audit configuration management, mainly for the post-submission review, here can be in the code submission, specify the person who needs code review, the code reviewer for review or recommendations, to modify or pass.
to create a different user:
Each new user to apply and register, and then by the management of the approval of the user registration, registration success, you can see the following information (as long as the administrator rights to see),
user submits SVN:
Note: Here's auditors:xxx,xxx, both specifying who needs to do code review.
reviewer for code review:
After the user code is submitted, the following information can be found on the different user's homepage:
Click to go to the detailed page:
Here you can annotate the code review for different lines, and then save the draft.
After all the file code review is complete, you can submit the action,
Here are: Audit passed, there are objections to discuss the meeting and so on. In general, either the review is returned to the Code submitter for modification by either the review of the installation code or the comment.
The code review here is returned to the corresponding code submitter if the selection failed.
If you need to add a new code reviewer, you will need to submit according to the figure below.