Page MenuHomePhabricator

phab-dev setup

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

phab-dev setup

#!/bin/bash -x
################## update base packages ##################
apt-get update
apt-get install sudo htop apache2 php5 php5-fpm php5-cli git
################## join active directory ##################
wget http://download.beyondtrust.com/PBISO/8.3/pbis-open-8.3.0.3287.linux.x86_64.deb.sh
chmod a+x pbis-open-8.3.0.3287.linux.x86_64.deb.sh
./pbis-open-8.3.0.3287.linux.x86_64.deb.sh
echo "%domain^admins ALL=(ALL) ALL" > /etc/sudoers.d/activedirectory
/opt/pbis/bin/domainjoin-cli join scimonshouse.net stwalkerster
############## install FPM #######################
cat /etc/php5/fpm/pool.d/www.conf | sed 's/\[www\]/[phabricator]/' | sed 's/^user = www-data/user = phabricator/' | sed 's/^group = www-data/group = phabricator/' | sed 's#^listen = /var/run/php5-fpm.sock#listen = localhost:30000#' > /etc/php5/fpm/pool.d/phabricator.conf
############## install phabricator #####################
mkdir /opt/phabricator
groupadd phabricator
useradd -d /opt/phabricator -M -s /bin/bash -g phabricator phabricator
cd /opt/phabricator
sudo -u phabricator git clone

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
574
Default Alt Text
phab-dev setup (1 KB)

Event Timeline