diff --git a/INSTALL.md b/INSTALL.md index e77e1b9..fe391de 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -3,14 +3,40 @@ Initial requirements ``` # apt install screen -# adduser etherpad +``` + +Create DB +========= + +``` +# apt install postgresql postgresql-client +# systemctl enable --now postgresql +``` + +Check /etc/postgresql/xx/main/pg_hba.conf for localhost contains +``` +host all all 127.0.0.0/24 md5 +``` + +``` +# su - postgres +$ createuser +$ createdb -O +$ psql + ALTER USER WITH PASSWORD ' ; + ALTER ROLE; + \q ``` Install Etherpad-lite ===================== -Log as etherpad user -`# su etherpad && cd` +Add etherpad user + +``` +# adduser etherpad +# su etherpad && cd +``` Install and run etherpad ```