Page MenuHomePhabricator

continuation script

Authored By
stwalkerster
May 28 2016, 10:24 PM
Size
1 KB
Referenced Files
None
Subscribers
None

continuation script

#!/bin/bash -xe
############## install phabricator #####################
mkdir /opt/phabricator
groupadd phabricator
useradd -d /opt/phabricator -M -s /bin/bash -g phabricator phabricator
service php5-fpm restart
service apache2 restart
cd /opt/phabricator
sudo -u phabricator git clone https://github.com/phacility/libphutil.git
sudo -u phabricator git clone https://github.com/phacility/arcanist.git
sudo -u phabricator git clone https://github.com/phacility/phabricator.git
cd phabricator
# set up database
sudo -u phabricator ./bin/config set mysql.host ninetales.scimonshouse.net
sudo -u phabricator ./bin/config set mysql.user phabricator
sudo -u phabricator ./bin/config set mysql.pass phabricator
sudo -u phabricator ./bin/storage upgrade --force
# set up user accounts
sudo -u phabricator ./bin/config set diffusion.ssh-user git
sudo -u phabricator ./bin/config set diffusion.phd-user phabricator
echo "git ALL=(phabricator) SETENV: NOPASSWD: /usr/bin/git, /usr/bin/git-upload-pack, /usr/bin/git-receive-pack" > /etc/sudoers.d/phabricator

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
583
Default Alt Text
continuation script (1 KB)

Event Timeline