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>
可以用你喜欢的用户名替代,执行后会提示你输入密码
一些其他的参考文章
- https://mylovesaber.gitee.io/dophin-blog/2020/09/16/irc-plus/
- https://mylovesaber.gitee.io/dophin-blog/2020/09/11/irc-basic/
- https://shyi.org/posts/27005/#%E5%AE%89%E8%A3%85thelounge
- https://carloo.cc/archives/51/
版权属于:Pickle Piccolo
本文链接:https://blog.pickle.su/index.php/archives/83/
转载时须注明出处及本声明