70750
|
1 |
Phabricator server
|
|
2 |
==================
|
|
3 |
|
|
4 |
- https://www.phacility.com/phabricator
|
|
5 |
|
|
6 |
Slogan: "Discuss. Plan. Code. Review. Test.
|
|
7 |
Every application your project needs, all in one tool."
|
|
8 |
|
|
9 |
- Ubuntu 18.04 LTS Linux Server standard installation with
|
|
10 |
Apache and MySQL
|
|
11 |
https://help.ubuntu.com/lts/serverguide
|
|
12 |
https://help.ubuntu.com/lts/serverguide/httpd.html
|
|
13 |
https://help.ubuntu.com/lts/serverguide/mysql.html
|
|
14 |
|
|
15 |
- Apache HTTPS via "Let's Encrypt":
|
|
16 |
https://letsencrypt.org/getting-started
|
|
17 |
|
|
18 |
- Installation:
|
|
19 |
|
|
20 |
https://secure.phabricator.com/book/phabricator/article/installation_guide
|
|
21 |
https://secure.phabricator.com/source/phabricator/browse/master/scripts/install/install_ubuntu.sh
|
|
22 |
|
|
23 |
- Configuration/Setup Issues: ignore "Alternate File Domain Not Configured"
|
|
24 |
|
|
25 |
- Configuration/Accounts: local, *not* Google, Github etc.
|
|
26 |
https://secure.phabricator.com/book/phabricator/article/configuring_accounts_and_registration
|
|
27 |
|
|
28 |
- Configuration/Mail:
|
|
29 |
https://secure.phabricator.com/book/phabricator/article/configuring_outbound_email
|
|
30 |
|
|
31 |
e.g. external SMTP via suitable mailers.json:
|
|
32 |
$ ./bin/config set --stdin cluster.mailers < mailers.json
|
|
33 |
|
|
34 |
- Configuration/SSH:
|
|
35 |
https://secure.phabricator.com/book/phabricator/article/diffusion_hosting
|
|
36 |
|
|
37 |
$ cp ssh/ssh-hook /usr/local/bin/.
|
|
38 |
$ cp ssh/sshd_config.phabricator /etc/ssh/.
|
|
39 |
$ cp ssh/sshd-phabricator.service /etc/systemd/system/.
|
|
40 |
$ cp ssh/sudoers.d/phabricator /etc/sudoers.d/.
|
|
41 |
|
|
42 |
Test:
|
|
43 |
$ echo "{}" | ssh -p2222 vcs@phabricator.sketis.net conduit conduit.ping
|
|
44 |
|
|
45 |
- Update:
|
|
46 |
https://secure.phabricator.com/book/phabricator/article/upgrading
|
|
47 |
|
|
48 |
sudo ./update
|
|
49 |
|
|
50 |
- Backup:
|
|
51 |
https://secure.phabricator.com/book/phabricator/article/configuring_backups
|
|
52 |
|
|
53 |
$ apt install automysqlbackup
|
|
54 |
edit /etc/default/automysqlbackup: BACKUPDIR
|