diff --git a/Admin/Phabricator/README b/Admin/Phabricator/README --- a/Admin/Phabricator/README +++ b/Admin/Phabricator/README @@ -1,99 +1,58 @@ Phabricator server ================== -- https://www.phacility.com/phabricator - - Slogan: "Discuss. Plan. Code. Review. Test. - Every application your project needs, all in one tool." - -- Ubuntu 18.04 LTS Linux Server standard installation with - Apache and MySQL - https://help.ubuntu.com/lts/serverguide - https://help.ubuntu.com/lts/serverguide/httpd.html - https://help.ubuntu.com/lts/serverguide/mysql.html - - Apache HTTPS via "Let's Encrypt": https://letsencrypt.org/getting-started https://certbot.eff.org/lets-encrypt/ubuntubionic-apache.html -- Installation: - - https://secure.phabricator.com/book/phabricator/article/installation_guide - https://secure.phabricator.com/source/phabricator/browse/master/scripts/install/install_ubuntu.sh - - ./bin/storage upgrade --force - admin user: makarius - -- Configuration/Setup Issues: - - ignore "Alternate File Domain Not Configured" - - Add Auth Provider: Username/Password - ./bin/auth lock - - ./bin/phd start - - Configuration / Authentication: https://secure.phabricator.com/book/phabricator/article/configuring_accounts_and_registration . only local User/Password, *not* Google, Github etc. . auth.require-email-verification true . policy.allow-public true -- Configuration/Mail: - https://secure.phabricator.com/book/phabricator/article/configuring_outbound_email - - e.g. external SMTP via suitable mailers.json: - $ ./bin/config set --stdin cluster.mailers < mailers.json - - Configuration/SSH: https://secure.phabricator.com/book/phabricator/article/diffusion_hosting /etc/ssh/sshd_config: Port 222 /etc/passwd: phabricator:x:118:126::/home/phabricator:/bin/bash vcs:x:119:125::/home/vcs:/bin/bash /etc/group: phabricator:x:126: vcs:x:125: $ cp ssh/ssh-hook /usr/local/bin/. $ cp ssh/sshd_config.phabricator /etc/ssh/. $ cp ssh/sshd-phabricator.service /lib/systemd/system/. $ cp ssh/sudoers.d/phabricator /etc/sudoers.d/. $ ./bin/config set phd.user phabricator $ ./bin/config set diffusion.ssh-user vcs $ ./bin/config set diffusion.ssh-port 22 $ systemctl enable sshd-phabricator $ systemctl start sshd-phabricator Test on local machine: $ echo "{}" | ssh vcs@phabricator.sketis.net conduit conduit.ping -- Repository Local Path: - mkdir -p /var/www/phabricator/repo - chown phabricator:phabricator /var/www/phabricator/repo - -- PHP Daemon: - $ cp phd/phd-phabricator.service /lib/systemd/system/. - $ systemctl enable phd-phabricator - $ systemctl start phd-phabricator - - Update: https://secure.phabricator.com/book/phabricator/article/upgrading sudo ./update +- Documentation: + /var/www/phabricator-vcs/libphutil/scripts/build_xhpast.php ./bin/diviner generate - Backup: https://secure.phabricator.com/book/phabricator/article/configuring_backups $ apt install automysqlbackup edit /etc/default/automysqlbackup: BACKUPDIR