Skip to content

Instantly share code, notes, and snippets.

@mppatterson
Created February 21, 2014 20:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mppatterson/9142241 to your computer and use it in GitHub Desktop.
Save mppatterson/9142241 to your computer and use it in GitHub Desktop.
Install Phabricator on Ubuntu
wget http://www.phabricator.com/rsrc/install/install_ubuntu.sh
bash install_ubuntu.sh
sudo vim /etc/apache2/sites-enabled/000-default
################
<VirtualHost *>
# Change this to the domain which points to your host.
ServerName codereview.localhost
# Change this to the path where you put 'phabricator' when you checked it
# out from GitHub when following the Installation Guide.
#
# Make sure you include "/webroot" at the end!
DocumentRoot /home/vagrant/phabricator/webroot
RewriteEngine on
RewriteRule ^/rsrc/(.*) - [L,QSA]
RewriteRule ^/favicon.ico - [L,QSA]
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
</VirtualHost>
################
sudo service apache2 restart
cd phabricator/ && ./bin/storage upgrade
# Add the following to your /etc/hosts:
127.0.0.1 codereview.localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment