| 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: | 
|  | 25 hg clone https://hg.luan.ws/nabble | 
|  | 26 | 
|  | 27 Fix config | 
|  | 28 vim nabble/conf/Init.luan | 
|  | 29 replace me.nabble.com with server domain | 
|  | 30 configure MailHome.getSmtpServer with your smtp provider | 
|  | 31 | 
|  | 32 Start: | 
|  | 33 cd nabble | 
|  | 34 ./build.sh | 
|  | 35 ./setup.sh | 
|  | 36 ./serve.sh | 
|  | 37 | 
|  | 38 Visit in browser: | 
|  | 39 http://domain/free-forum.html |