You are currently viewing Install The Lounge IRC client on CentOS 

Install The Lounge IRC client on CentOS 

Source: Install The Lounge on CentOS using the Snap Store | Snapcraft

The following directions assume snap is not installed. If snap is installed

  • Install snap.
    yum install epel-release
    yum install snapd
    systemctl enable –now snapd
    snapd.socket ln -s /var/lib/snapd/snap /snap
  • Install theLounge
    snap install thelounge

Create users

After installing run the following in a terminal/console:

sudo thelounge add $USER

Replace $USER with your preferred Lounge username. You will be prompted to add a password once you’ve authenticated for sudo. When you have added your username navigate to http://localhost:9000/ (replace localhost with your server IP or hostname if you are on a different machine) and login with your new username and password.


Enable https

For this to work, port 80 on your device must be Internet accessible.

Run the following in a terminal/console:

sudo thelounge.cert-generate

Next, enter your email address, agree to the terms of service and enter your domain when prompted.

Update the https stanza in thelounge configuration, replacing example.org with your domain.

sudo nano /var/snap/thelounge/current/home/config.js

The https stanza should look something like this:

 https: {
     enable: true,
     key: "/var/snap/thelounge/common/letsencrypt/live/example.org/privkey.pem",
     certificate: "/var/snap/thelounge/common/letsencrypt/live/example.org/fullchain.pem",
     ca: "",
 },

Finally, restart thelounge to enable https.

sudo snap restart thelounge

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

This Post Has 4 Comments

  1. Todd Taft

    There is an error in one of the commands:
    It should be:
    systemctl enable –now snapd

    1. g33kadmin

      Awesome! Thanks for letting me know 😀 Fixed!

  2. Yoshiken

    How does one start the lounge aferwards? This guide doesn’t explain anything beyond how to install it.

    1. g33kadmin

      Hi, I have updated the post to reflect the new info on starting thelounge. 😀

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.