How To Install Phabricator on CentOS 7 work 100%

How To Install Phabricator on CentOS 7 work 100%

How To Install Phabricator on CentOS 7 work 100%

Phabricator is a complete set of tools for developing software. Included apps help you manage tasks and sprints, review code, host git, svn, or mercurial repositories, build with continuous integration, review designs, discuss in internal chat channels, and much more. It’s fast, scalable, and fully open source. Install it locally with no limitations, or have us host it for you.


To install Phabricator, login in your system as root user, then follow the command below:

1.Update the system

yum update -y

2.Install Database Server (Mariadb)

yum install mariadb mariadb-server -y 
systemctl start mariadb
systemctl enable mariadb

+Run the MySQL secure installation

Enter current password for root (enter for none): Enter
Set root password? [Y/n]: Y
New password:<Type-Your_Password_Here>
Re-enter new password:<Type-Your_Password_Here>
Remove anonymous users? [Y/n]: Y
Disallow root login remotely? [Y/n]: Y
Remove test database and access to it? [Y/n]: Y
Reload privilege tables now? [Y/n]: Y

3. Install Web Server (Apache)

yum install httpd -y
systemctl start httpd
systemctl enable httpd

4. Install PHP

yum install php php-mysqli php-mbstring php-gd php-curl php-cli php-common php-process 

5. Install GIT

yum install git -y

6. Download and install Phabricator

cd /var/www/html/
mkdir phabricator
cd phabricator/
git clone
git clone
git clone
chown -R apache: /var/www/html/phabricator

7.Create VirtualHost for Phabricator

vi /etc/httpd/conf.d/phabricator.conf

Edit the virtualhost as the following:

Note: Don’t forget to change ‘’ to your own server name.

<VirtualHost *:80>
    DocumentRoot /var/www/html/phabricator/phabricator/webroot/
    RewriteEngine on
    RewriteRule ^/rsrc/(.*)     -                       [L,QSA]
    RewriteRule ^/favicon.ico   -                       [L,QSA]
    RewriteRule ^(.*)$          /index.php?__path__=$1  [B,L,QSA]
    <Directory /var/www/html/phabricator/phabricator/webroot/>
        AllowOverride All
    ErrorLog /var/log/httpd/
    CustomLog /var/log/httpd/ common

+Restart service to update the modification

systemctl restart httpd

8. Setup the database credentials for Phabricator

cd /var/www/html/phabricator/phabricator/
./bin/config set 'localhost'
./bin/config set mysql.port '3306'
./bin/config set mysql.user 'root'
./bin/config set mysql.pass 'P@ssw0rd'
./bin/storage upgrade --user 'root' --password 'P@ssw0rd'

After typed the command above, you need to type ‘y’ for two time to continue.

Before running storage upgrades, you should take down the Phabricator web
interface and stop any running Phabricator daemons (you can disable this
warning with --force).

    Are you ready to continue? [y/N] y


MySQL needs to copy table data to make some adjustments, so these migrations may take some time.

    Fix these schema issues? [y/N] y

9. Configure firewall rules to setup Phabricator admin account

firewall-cmd --zone=public --permanent --add-service=http
firewall-cmd --reload

+Open your web browser, and type the following:

http://your_server_ip or http://your_server_domain_name

Note: If you found the error like ” Required PHP extensions are not installed” , just use the below command: 

yum install php-mysqli    or   yum install php-*
systemctl restart httpd 


I am a Linux lover. I like to do research about open source and contribute them to serve the business problem. I like technology very much since I first time saw the computer, and I believe that technology is the most powerful weapon currently. I also strongly believe that technology will be used to serve most of everything for the human life.

leave a comment

Create Account

Log In Your Account