July 26, 2018 by Volkor2 minutes
Caution
This is a Legacy blog post. I wrote this many years ago. The content may not be up to date or relevant in the current times. Please google elsewhere if you’re following this as a single source.
Most of this information comes from this wiki page which was pretty out of date.
From the start, instead of installing what it says there, quassel is now using qt5, so I’ve changed the command to this:
sudo apt install git-core zlib1g-dev qca-qt5-2-utils libqca-qt5-2-dev qtbase5-dev qttools5-dev-tools libqt5sql5-psql screen cmake build-essential libboost-dev
if you don’t want postgres, you can use libqt5sql5-mysql
for mysql, libqt5sql5-sqlite
for sqlite.
The rest of the installation is the same as the wiki, but I’ll copy it anyway
or to change the install path
-DCMAKE_INSTALL_PREFIX=/path/where/it/should/be/installed
for the cmake options
Turns out I was importing the database wrong, but in general the guide is correct, here’s what I did to make it work properly.
pg_dump --clean --no-owner --no-acl --file=quassel-dump.sql quassel
scp -C -o CompressionLevel=9 quassel-dump.sql [email protected]:~
psql -d quassel -U quassel < quassel-dump.sql
quasselcore --select-backend=PostgreSQL --configdir=/var/lib/quassel/
quasselcore --change-userpass=usernamehere --configdir=/var/lib/quassel/
After that, you should have imported it successfully, so now make a systemd service file for it, (I’ll attach one at the bottom of the post), run and you should be all good to run!
https://troubles.noblogs.org/post/2018/04/24/quassel-and-lets-encrypt/
Now you’re done. If you’d like to set up Quassel-Web, along with rest-searching, please check out part 2