Skip to content

installing

Marcel Waldvogel edited this page Sep 19, 2019 · 16 revisions

Installing the software

This installation uses SQLite as the default database, for sake of installation simplicity. You can easily convert to a more powerful database at any later stage, install the appropriate database and PHP module, and follow the instructions for the occ db:convert-type command.

⚠️ This description assumes a recent Debian/Ubuntu system. If you use anything else, replace apt commands with your package management system. Also, package names might differ.

On the Nextcloud host

Download the latest Nextcloud version and unpack it into /var/www/nextcloud).

sudo -s
echo deb https://dl.jsxc.org nightly main > /etc/apt/sources.list.d/jsxc.list
wget -qO - https://dl.jsxc.org/archive.key | apt-key add -
apt update
apt install letsencrypt python-letsencrypt-apache apache2 libapache2-mod-php php-gd php-json php-curl php-mbstring php-intl php-imagick php-xml php-zip php-sqlite3

⚠️ If you have trouble with the PHP modules, check the Nextcloud installation instructions

On the XMPP server: For Prosody installations

📌 This might be the same machine as above.

If you prefer to run ejabberd, use the next section.

apt install prosody lua-lpty xcauth

⚠️ xcauth currently only exists as a .deb package. If you are using a different packaging system, download the latest xcauth package, unpack it and run make install.

On the XMPP server: For ejabberd installations

📌 Again, this might be the same machine as above.

apt install ejabberd xcauth

⚠️ xcauth currently only exists as a .deb package. If you are using a different packaging system, download the latest xcauth package, unpack it and run make install.

Next: Setting up DNS entries

Clone this wiki locally