How to Install TheLounge IRC Client

  1. Home
  2. Knowledge Base
  3. Applications
  4. How to Install TheLounge IRC Client

This guide was written by cishe so cheers to him!

  1. SSH into your server as root
  2. You will need to install npm and nodejs so run the following commands
apt install npm
npm cache clean -f
npm install -g n
n stable

Note if you are on ubuntu 16.04 and not 18.04 run this as well

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

3. Then you’ll need to install The Lounge. To do this, run the following command

cd root wget https://github.com/thelounge/thelounge/releases/download/v3.0.1/thelounge_3.0.1-1_all.deb mv thelounge_3.0.1-1_all.deb thelounge.deb apt install ./thelounge.deb 

4. And voila you have thelounge with a systemctl process to keep it active at all times systemctl status thelounge for commands on how to make a user you can look here https://thelounge.chat/docs/users

Optional Tasks

To add the link to your QuickBox Dashboard, follow these steps;

  1. Type the following command to edit the custom menu file
nano /srv/quickbox/custom/custom.menu.php 

2. Then type in the following

<strong><li><a class="grayscale" href="https://domain.com/irc" target="_blank"><img src="img/brands/thelounge.png" class="brand-ico"> <span>The Lounge</span></a></li></strong> 

3. If you wish to add an image, you can use the image below. Just right-click, Save Image As to download it.

4. You will then want to move it into the following location

/srv/quickbox/img/brands 

NGINX Configuration

  1. To update your nginx configuration, type the following command
nano /etc/nginx/apps/lounge.conf 

2. Then type in this

location /irc/ {
proxy_pass http://127.0.0.1:9000/;
proxy_http_version 1.1;
proxy_set_header Connection "upgrade";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Forwarded-For $remote_addr;
# by default nginx times out connections in one minute
proxy_read_timeout 1d;
}

3. Finally, run this final command

service nginx reload 

Now you are all done!

Was this article helpful?

Related Articles

On Friday, March 29, 2019 all License Keys previous to the new API system will be expired.