How To Install Phabricator on CentOS 6

r00t April 17, 2015

Phabricator-logo

For those of you who didn’t know, Phabricator is an open source collection of web applications which help software companies build better software. Phabricator is similar to GIT, and SVN. Currently maintained by Phacility, it was originally developed as an internal tool at Facebook. It is available as free software under the Apache License, version 2.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Phabricator on CentOS 6.

Step 1. First of all make sure that all packages are up to date.

Step 2. Install LAMP server and include some php extension.

Step 3. Configure Apache web server for Phabricator.

Create a virtual host directive in Apache. So open the Apache configuration file with your favorite text editor.

Restart Apache for the changes to take effect:

Step 4. Install Phabricator.

Create a directory called ‘myapps‘ under DocumentRoot of Apache directory.

Clone the needed Git repositories from Phacility:

Step 5. Configuring MySQL.

By default, MySQL is not hardened. You can secure MySQL using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MySQL.

Enter the phabricator directory:

Now, it’s time to configure MySQL. Execute the following commands:

Then, run storage upgrade script to load the Phabricator schemata into it. You’ll be asked to press ‘y’ while loading database schema:

Restart MySQL service to take effect the changes.

Step 6. Accessing Phabricator.

Phabricator will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com or http://server-ip. Continue the installation. Setup your admin account in the following window and click Create Admin Account. After you are logged in you should check if have some unresolved setup issues to take care of. Click the link in the yellow banner at the top of the screen to see them, or find them in the Config application under Setup Issues.

Congratulation’s! You have successfully installed Phabricator. Thanks for using this tutorial for installing Phabricator on CentOS 6 system.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!
Share on Google+0Share on Facebook0Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit1Pin on Pinterest1
The Tags:

Leave a Comment