Skip to content

aaalpineee/3x-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3x-ui alpine amd64

请使用root用户运行


安装前准备

apk add bash wget

安装:

wget https://github.com/aaalpineee/3x-ui/raw/refs/heads/main/install.sh
bash install.sh

卸载
卸载面板没有删除数据库

rc-service x-ui stop
rc-update del x-ui
rm -rf /usr/local/x-ui /usr/bin/x-ui /etc/init.d/x-ui

显示设置

/usr/local/x-ui/x-ui setting -show

设置随机用户名,密码,端口,路径
修改设置需要重启

/usr/local/x-ui/x-ui setting -username $(tr -dc A-Za-z0-9 </dev/urandom | head -c 20) -password $(tr -dc A-Za-z0-9 </dev/urandom | head -c 20)
/usr/local/x-ui/x-ui setting -webBasePath $(tr -dc A-Za-z0-9 </dev/urandom | head -c 0)
/usr/local/x-ui/x-ui setting -port $(( RANDOM % 64512 + 1024 ))

改变用户名,密码,路径,端口
修改设置需要重启

/usr/local/x-ui/x-ui setting -username 新用户名 -password 新密码
/usr/local/x-ui/x-ui setting -webBasePath 新路径
/usr/local/x-ui/x-ui setting -port 新端口

重置数据库
卸载面板没有删除数据库

rm -rf /etc/x-ui

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages