Difference between revisions of "Template:Installation/Preparation/openSUSE"

From diaspora* project wiki
Jump to: navigation, search
(Update for openSUSE 15.0, systemd infos still missing)
m (Add switch for MariaDB)
Line 10: Line 10:
sudo zypper install {{#switch: {{#var:DB}}|mysql=mariadb libdb-4_8|postgres=postgresql-server}}
sudo zypper install {{#switch: {{#var:DB}}|mysql=mariadb libdb-4_8|postgres=postgresql-server|mariadb=mariadb libdb-4_8}}

Latest revision as of 09:53, 25 March 2018

Install packages

sudo zypper install make automake gcc gcc-c++ git libcurl-devel ImageMagick ImageMagick-extra libtool bison libtool patch libxml2-devel libxslt-devel libffi-devel libyaml-devel nodejs gdbm-devel libopenssl-devel

Install database

If you already have one skip this step.

sudo zypper install


openSUSE use to have a firewall turned on (good work!) but this filter the HTTP/s protocols. In this particular case we need ports 80 and 443 open.

To do so, do as follows:

TODO: Adapt to systemd


As root run:

zypper install redis
cp /etc/redis/default.conf.example /etc/redis/default.conf
chown redis: /etc/redis/default.conf

TODO: Adapt properly to systemd

Creating a user for Diaspora

As root run:

sudo useradd -m diaspora
sudo su - diaspora