The installation configuration of CentOS Phabricator must be successful!

Source: Internet
Author: User

https://secure.phabricator.com/book/phabricator/article/installation_guide/#installation-requirement

These are official documents


Download the CentOS version of the Phabricator installation script to the OPT directory and install

#cd/opt

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

#chmod 7 install_rhel-derivs.sh

#./install_rhel-derivs.sh

Install the necessary plugins

#yum-y Install Pcre-devel
#yum-y install php-pear#yum-y install pecl
#yum-y Install APC

Move these files to Apache DocumentRoot.

#mv/opt/arcanist/var/www/html
#mv/opt/libphutil/var/www/html
#mv/opt/phabricator/var/www/html

Close Firewall and SELinux
#/etc/init.d/iptables Stop
# Setenforce 0
# chkconfig Iptables off
# Vim/etc/selinux/config
# This file controls the state of the SELinux on the system.
# selinux= can take one of these three values:
# Enforcing-selinux security policy is enforced.
# Permissive-selinux Prints warnings instead of enforcing.
# disabled-no SELinux policy is loaded.
Selinux=disabled
# selinuxtype= can take one of these the values:
# targeted-targeted processes is protected,
# Mls-multi level Security protection.
selinuxtype=targeted

Modify/etc/httpd/conf/httpd.conf the following points

Set DocumentRoot

DocumentRoot "/var/www/html/phabricator/webroot"

Join index.php

DirectoryIndex index.php index.html Index.html.var

<virtualhost *>

Rewriteengine on

Rewriterule ^/rsrc/(. *)-[L,QSA]

Rewriterule ^/favicon.ico-[L,QSA]

Rewriterule ^ (. *) $/index.php?__path__=$1 [B,L,QSA]

</VirtualHost>


Start the necessary services

#service httpd Restart

#chkconfig httpd on

#service mysqld Restart

#chkconfig httpd on


Update Phabricator

#cd/var/www/html/phabricator

#./bin/storage Upgrade


Enter the URL 192.168.161.0 in the browser.




This article is from the "Sally Bar" blog, please be sure to keep this source http://songlisha.blog.51cto.com/6269280/1598922

The installation configuration of CentOS Phabricator must be successful!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.