view doc/install.txt @ 58:41d76bd6268a

add doc for ssl
author Vadim Filimonov <fffilimonov@yandex.ru>
date Tue, 30 Nov 2021 09:32:14 +0200
parents 4d90d48a19ec
children fe217789a45f
line wrap: on
line source

Requirements:
Ubuntu 16.04.6 LTS
2 cpu cores
2 GB RAM
20 GB SSD

Install:
apt-get update
apt-get install mercurial default-jdk postgresql make

Modify postgres config:
vim /etc/postgresql/9.5/main/pg_hba.conf
host    all             all             127.0.0.1/32            trust

Restart postgres:
/etc/init.d/postgresql restart

Create role:
psql -h localhost -U postgres postgres -c 'CREATE ROLE administrator;ALTER ROLE administrator WITH SUPERUSER INHERIT CREATEROLE CREATEDB LOGIN REPLICATION BYPASSRLS;'

Create database:
psql -h localhost -U postgres postgres -c 'create database nabble owner administrator;'

Clone nabble:
hg clone https://hg.luan.software/nabble

Fix config
vim nabble/conf/Init.luan
replace me.nabble.com with your domain (example for ubuntu.nabble.com)
configure MailHome.getSmtpServer with your smtp provider and pop3 with name/password for mailboxes

Start:
cd nabble
./build.sh
./setup.sh
./serve.sh

Visit in browser:
http://ubuntu.nabble.com:8080/free-forum.html