installing - jsxc/xmpp-cloud-auth GitHub Wiki
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.
:warning: 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
:warning: If you have trouble with the PHP modules, check the Nextcloud installation instructions
On the XMPP server: For Prosody installations
:pushpin: This might be the same machine as above.
If you prefer to run ejabberd, use the next section.
apt install prosody lua-lpty xcauth
:warning: 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
:pushpin: Again, this might be the same machine as above.
apt install ejabberd xcauth
:warning: 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