Quassel IRC

Created at 2016-07-29 Updated at 2016-11-02 Tag IRC / VPS / Quassel / SQLite

Quassel IRC is a modern, cross platform, distrubuted IRC client. It requires users to set up both the server (QuasselreCore) and a client. The client attaches to the core, which saves all the IRC info. You can create new users that have seperate profiles and channels from each other, allowing multiple people to use the same core without messing up each others settings.

I will assume you have an ubuntu 14.04 Digital Ocean droplet to install your Quasselcore. When we install, we will be using the SQlite database so that we can use the manaers.py script later to add and manage multiple users.

SSH into your server.

Add repository

1
2
3
sudo add-apt-repository ppa:mamarley/quassel
sudo apt-get update
sudo apt-get install quassel-core

Check that Quasselcore is running (I’m using sudo to display the process name)

1
sudo netstat -tulpn

Output should be almost identical to:

1
tcp6 0 0 :::4242 :::* LISTEN 764/quasselcore

On client computer, add repo:

1
2
3
sudo add-apt-repository ppa:mamarley/quassel
sudo apt-get update
sudo apt-get install quasselclient

Connect your Quassel Client to your server and follow the setup wizard.

Create Admin User:
setup_core

Use the default sqlite database:
selectStorage

Accept the self-signed certificate:
accept_untrusted_cert

Add core accounts:
setup_core

setup_account

Setup your networks:
setupNetwork

Now we will configure Quassel to add users. We cannot do this in the gui, we must do it as root in the core.

First, logout of Quassel on your devices (just to play it safe so we don’t have to do an entire reinstallation).

In your VPS, go to /var/lib/quassel/

Copy the manageusers.py file from this GitHub repo

Run the script.

1
./manageusers.py <user> <password>

Open up a new instance of Quasselclient, add the server and user information, and set it up just like before.

Boom, you now have a persistent IRC connection!

NOTE:

If your SQlite database gets too big for your liking you can reduce its size using this script or this other script that includes making a backup.

Here is a weekly purge.

Another method, this time running an sqlite command.

Table of Content

  1. NOTE:
Site by Jackson Stokes

Hide