| 
40
 | 
     1 Requirements:
 | 
| 
 | 
     2 Ubuntu 16.04.6 LTS
 | 
| 
 | 
     3 2 cpu cores
 | 
| 
 | 
     4 2 GB RAM
 | 
| 
 | 
     5 20 GB SSD
 | 
| 
 | 
     6 
 | 
| 
 | 
     7 Install:
 | 
| 
 | 
     8 apt-get update
 | 
| 
 | 
     9 apt-get install mercurial default-jdk postgresql make
 | 
| 
 | 
    10 
 | 
| 
 | 
    11 Modify postgres config:
 | 
| 
 | 
    12 vim /etc/postgresql/9.5/main/pg_hba.conf
 | 
| 
 | 
    13 host    all             all             127.0.0.1/32            trust
 | 
| 
 | 
    14 
 | 
| 
 | 
    15 Restart postgres:
 | 
| 
 | 
    16 /etc/init.d/postgresql restart
 | 
| 
 | 
    17 
 | 
| 
 | 
    18 Create role:
 | 
| 
 | 
    19 psql -h localhost -U postgres postgres -c 'CREATE ROLE administrator;ALTER ROLE administrator WITH SUPERUSER INHERIT CREATEROLE CREATEDB LOGIN REPLICATION BYPASSRLS;'
 | 
| 
 | 
    20 
 | 
| 
 | 
    21 Create database:
 | 
| 
 | 
    22 psql -h localhost -U postgres postgres -c 'create database nabble owner administrator;'
 | 
| 
 | 
    23 
 | 
| 
 | 
    24 Clone nabble:
 | 
| 
61
 | 
    25 hg clone https://hg.reactionary.software/repo/nabble
 | 
| 
40
 | 
    26 
 | 
| 
 | 
    27 Fix config
 | 
| 
 | 
    28 vim nabble/conf/Init.luan
 | 
| 
58
 | 
    29 replace me.nabble.com with your domain (example for ubuntu.nabble.com)
 | 
| 
43
 | 
    30 configure MailHome.getSmtpServer with your smtp provider and pop3 with name/password for mailboxes
 | 
| 
40
 | 
    31 
 | 
| 
 | 
    32 Start:
 | 
| 
 | 
    33 cd nabble
 | 
| 
 | 
    34 ./build.sh
 | 
| 
 | 
    35 ./setup.sh
 | 
| 
 | 
    36 ./serve.sh
 | 
| 
 | 
    37 
 | 
| 
 | 
    38 Visit in browser:
 | 
| 
58
 | 
    39 http://ubuntu.nabble.com:8080/free-forum.html
 |