If you need to reprint, please note the source and link

The Lounge is an irc chat client. We can configure the Lounge on the NAS and run it for 7 * 24 hours. If we want to have water irc, we can directly connect to the webui water irc of the Lounge. Because the webui is used for water irc, we can directly right click the webpage translation

New Linux Docker installation tutorial can be seen here Linux Install the Lounge through Docker Tutorial - Configure IRC Online for 24 Hours IRC

Previously, we used the nas to configure the znc. The znc attached the irc to be online for 7 * 24 hours. Then we used the kiwiirc.com/web client to connect to the znc water irc. However, the kiwiirc connection to the znc is not very stable these two days, and the connection is often dropped. Then, it is stable to use the hexchat client to connect to zinc, but I am not very satisfied with the experience of using hexchat. The most important thing is that it is not the web, and cannot use the browser's one click translation.

Recommended by the leaders, use the lounge

This tutorial is implemented in Qunhui system using Docker system

1. First, we need to open the kit center and install docker, as shown in the figure. If it has already been installed, go directly to step 3

2. Click to install Docker

3. Open the docker we installed, click the registry, search for the launch, and double-click the installation (if the download or search is too slow, please refer to this article- Do not use SSH to speed up the image source of Groupon Docker

4.1 Installing Docker

First, we create a new folder. First, we open the file station, then enter the docker folder, create a new folder called the lounge, then click to enter the lounge folder, and create a new config folder

Then we open the docker program, click Impact, double-click the launch, and click Install

Then we click Advanced Settings, and then click Volume to set the file mapping. The file path is the folder we just created, and the mount path is filled in/config

After the file is mapped, we set the port. The container port does not need to be moved. The local port is set to 9000, and then click Application. If you need external network access, we also need the router to set the port forwarding,

 Router port forwarding

However, we haven't built the container yet. Now we have built the container, but we connect it to the IRC server and won't save it automatically. When we close the browser and enter the web, we need to reset it,

Here, we need to modify the configuration file

We enter the/locker/thermounge/config folder, right click the attribute of the file config.js, modify the permission, and add the write permission

Right click the properties of the config file to view the location of the config file, and then we copy and download

Then we open putty, enter ssh, and log in to our nas account first

Then enter sudo - i

Then enter the password. After entering the password, you can't see it. The password is the password of your user name

Then cd/volume2/docker/shelounge/config (this path is the path you just copied)

Enter ls

Enter vim config.js

At this time, a document will be entered, and then press the keyboard i key to enter editing

Then change public: true to public: false

After modification, click the Esc key on the keyboard, and then enter: wq to finish saving and exit the document interface


Next, we enter docker ps

Copy the ID I checked

Then enter docker exec - it ea420165b82c s6 setuidgid abc the launch add ABCD

Ea420165b82c is the ID we just copied, and shi is our user name. We can set it according to our preferences, and then the command will appear, asking us to set our password. We can set our password, and then ask whether to write it to the disk. We can enter yes

At this point, our configuration is complete. Then we enter the docker to open our container. Then we enter the ip: 9000 ip+port in the browser to successfully enter the webui. Then we log in to the user password we just created and go in to configure our own irc. If this step fails to run, restart our container.


Finish, spread flowers

If you need to reprint, please note the source and link

👍 The body ends here 👍
  • Author: Inheritance
  • Link to this article: https://blog.shi.wiki/archives/3.html
  • Copyright notice: Unless otherwise stated, all articles in this blog are adopted by default CC BY-NC-SA 4.0 License agreement, please attach the original source link and this statement for reproduction.
Last modification: February 4, 2024
If you think my article is useful to you, please feel free to appreciate it