From 95d4fa1e24db49ae2f18248852ed103409246049 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Sun, 19 Aug 2018 12:50:59 -0600 Subject: [PATCH] Add crufy phabricator notes --- source/resources/apps/phabricator/README.md | 52 +++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 source/resources/apps/phabricator/README.md diff --git a/source/resources/apps/phabricator/README.md b/source/resources/apps/phabricator/README.md new file mode 100644 index 0000000..b53d186 --- /dev/null +++ b/source/resources/apps/phabricator/README.md @@ -0,0 +1,52 @@ +Install Phabricator +================= +http://phabricator.org/ +https://secure.phabricator.com/book/phabricator/article/installation_guide/This script has some ideas as to what needs to be done: +http://www.phabricator.com/rsrc/install/install_ubuntu.sh + +sudo su - + +# XXX use Debian Buster + +apt-get update +apt-get install mysql-server apache2 dpkg-dev php5 php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli php5-jsona2enmod rewriteXXXcd /var/www +git clone https://github.com/phacility/libphutil.git +git clone https://github.com/phacility/arcanist.git +git clone https://github.com/phacility/phabricator.gitDocs +http://www.phabricator.com/docs/phabricator/article/Configuration_Guide.htmlrm /etc/apache2/sites-enabled/000-default.conf +cd /etc/apache2/sites-available +vim phabricator.confAdd: +------------ +vim phabricator.conf +ServerName code.alephobjects.com +ServerAdmin webmaster@alephobjects.comChange this to the path where you put 'phabricator' when you checked itout from GitHub when following the Installation Guide. #Make sure you include "/webroot" at the end! +DocumentRoot /var/www/phabricator/webrootRewriteEngine on +RewriteRule ^/rsrc/(.*) - [L,QSA] +RewriteRule ^/favicon.ico - [L,QSA] +RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]ErrorLog ${APACHE_LOG_DIR}/error.log +CustomLog ${APACHE_LOG_DIR}/access.log combinedSSLEngine on +SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem +SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key +SSLOptions +StdEnvVars +BrowserMatch "MSIE [2-6]" \ +nokeepalive ssl-unclean-shutdown \ +downgrade-1.0 force-response-1.0 +BrowserMatch "MSIE [17-9]" ssl-unclean-shutdownLimitRequestBody 33554432 +Require all granted +------------ +vim 000-default.conf + +ServerAdmin webmaster@alephobjects.com#redirect all http requests to https + Redirect permanent / https://code.alephobjects.com/ErrorLog ${APACHE_LOG_DIR}/error.logPossible values include: debug, info, notice, warn, error, crit,alert, emerg. + +LogLevel debugCustomLog ${APACHE_LOG_DIR}/access.log combined + + + +--- + + +cd /etc/apache2/sites-enabled +ln -s ../sites-available/phabricator.conf . +/etc/init.d/apache2 restart +