Install and configure Phabricator in CentOS

Source: Internet
Author: User

Install and configure Phabricator in CentOS

Download the centos phabricator installation script to the opt directory and install it.

# Cd/opt

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

# Chmod 777 install_rhel-derivs.sh

#./Install_rhel-derivs.sh

Install necessary plug-ins

#yum-yinstallpcre-devel
#yum-yinstallphp-pear#yum-yinstallpecl
#yum-yinstallapc

Move these files to the DocumentRoot directory of apache.

#mv/opt/arcanist/var/www/html
#mv/opt/libphutil/var/www/html
#mv/opt/phabricator/var/www/html
 
Firewall shutdown and selinux
#/etc/init.d/iptablesstop
#setenforce0
#chkconfigiptablesoff
#vim/etc/selinux/config
#ThisfilecontrolsthestateofSELinuxonthesystem.
#SELINUX=cantakeoneofthesethreevalues:
#enforcing-SELinuxsecuritypolicyisenforced.
#permissive-SELinuxprintswarningsinsteadofenforcing.
#disabled-NoSELinuxpolicyisloaded.
SELINUX=disabled
#SELINUXTYPE=cantakeoneofthesetwovalues:
#targeted-Targetedprocessesareprotected,
#mls-MultiLevelSecurityprotection.
SELINUXTYPE=targeted
 

Modify the following parameters in/etc/httpd/conf/httpd. conf:

// Set DocumentRoot

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

// Add index. php

DirectoryIndex index. php 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 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 192.168.161.0 in the browser.

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

The above are official documents

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.