thelounge建议部署到国外vps上,部署在本地(国内)时,The Lounge的网络大概率不会稳定,频繁断联,如果在help频道排队是断联就只能重新排队,有时还会面临部分IRC频道地址被墙的困扰

安装The Lounge

1.使用官方脚本安装Docker

curl -fsSL https://test.docker.com -o test-docker.sh
sudo sh test-docker.sh

2.下载docker镜像

docker pull linuxserver/thelounge

3.运行docker镜像

docker run -d --name=thelounge -e PUID=1000 -e PGID=1000 -e TZ=Asia/Shanghai -p 9000:9000 -v /opt/thelounge:/config --restart unless-stopped linuxserver/thelounge

The Lounge添加用户

1.设置仅允许指定用户

vim /opt/thelounge/config.js

修改其中的public为false,然后使用docker restart thelounge,重启容器

2.添加自己的用户

docker exec -it thelounge s6-setuidgid abc thelounge add <username>

<username>可以用你喜欢的用户名替代,执行后会提示你输入密码

一些其他的参考文章

最后修改:2024 年 10 月 08 日
如果觉得我的文章对你有用,请随意赞赏