常用工具
- 科技Lion:
这是一个常用脚本汇总工具箱,里面包含诸多常用脚本,服务器配置,网站搭建,容器使用等等。
1 | curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh |
- Docker安装
1 | # Docker安装 |
- Sing-Box节点搭建
1 | # fscarmen: Sing-Box全家桶 |
- 开启root账户
1 | sudo -i && echo root:PassWord |chpasswd root && sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config; && sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config; && service sshd restart |
- RustDesk Server
1 | wget https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/install.sh && chmod +x install.sh && ./install.sh |
- Code-Server
1 | curl -fOL https://github.com/coder/code-server/releases/download/v4.17.1/code-server_4.17.1_amd64.deb && sudo dpkg -i code-server_4.17.1_amd64.deb && sudo systemctl enable --now code-server@root |
- IP检测脚本
1 | curl ip.sb # 获取服务器出口IP |
- Conda安装
1 | wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && bash Miniconda3-latest-Linux-x86_64.sh # X86_64架构 |
- 系统更新和升级
1 | sudo apt -y update && sudo apt -y upgrade |
- Cloudflare优选IP
1 | curl -sSL https://gitlab.com/rwkgyg/CFwarp/raw/main/point/cfip.sh -o cfip.sh && chmod +x cfip.sh && bash cfip.sh # 优选IP |
- 添加新用户
1 | sudo adduser ub && sudo usermod -aG sudo ub # 添加新用户ub,并为它分配sudo权限 |
常用面板
- 哪吒监控面板
1 | curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && ./nezha.sh |
- 1Panel服务器管理面板
1 | curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh |
- X-UI节点搭建面板
1 | bash <(curl -Ls https://raw.githubusercontent.com/alireza0/x-ui/master/install.sh) # |
- XBoard机场面板
使用Docker部署XBoard机场面板,容器使用host与主机共享网络,访问链接的默认端口为7001。
1 | git clone -b docker-compose --depth 1 https://github.com/cedar2025/Xboard && cd Xboard && docker compose run -it --rm xboard php artisan xboard:install && docker compose up -d |
- V2Board面板
1 | # 原版部署 |
- SSPanel机场面板(PHP8.3)
1 | # 使用OneInStack |
1 | # 部署Mysql+phpmyAdmin |
在docker-compose.yml中填入以下内容,并根据实际情况修改相应配置:
1 | version: "2" |
拉取源代码,并修改网站配置
1 | # 拉取源代码 |
- XrayR机场后端
1 | # wyx2685修改版 |
- 机场后端节点搭建
1 | # V2bX可用来对接V2Board的节点,支持vmess, vless, hy2, tuic5等协议 |
- 极光面板(AuroraPanel端口转发)
1 | bash <(curl -fsSL https://raw.fastgit.org/Aurora-Admin-Panel/deploy/main/install.sh) --mirror # 加速镜像 |
- Linux科学上网面板
1 | # Yacd(Yet another clash dashboard) |