侧边栏壁纸
  • 累计撰写 55 篇文章
  • 累计创建 7 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

科学上网常用一键脚本汇总,搭建服务器最常用的脚本,总有一个是你需要的,Finalshell的进阶用法,快捷命令设置|如何导出快捷命令,轻松搭建VPS

米粒儿
2024-10-01 / 0 评论 / 0 点赞 / 71 阅读 / 0 字
温馨提示:
本文最后更新于2024-10-02,若内容或图片失效,请留言反馈。 部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

准备工作

SSH连接工具Fianlshell点击进入

  • 导出快捷命令,文件路径:<mark class="has-inline-color has-ast-global-color-1-color">\finalshell\config.json</mark>,直接把config.json文件替换到新的客户端即可

1. Xray面板

项目地址点击进入

bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

2. Reality Xray面板

项目地址点击进入

bash <(curl -Ls https://raw.githubusercontent.com/slobys/x-ui/main/install.sh)

3. 伊朗版Xray面板

项目地址点击进入

bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)

4. BBR加速

项目地址点击进入

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

5. 一键安装依赖包

Debian/Ubuntu系统

apt update -y && apt install -y curl && apt install -y socat

CentOS系统

yum update -y && yum install -y curl && yum install -y socat

6. 证书相关

安装证书申请程序acme.sh

curl https://get.acme.sh | sh -s [email protected]

申请证书

~/.acme.sh/acme.sh --issue -d 你的域名 --standalone

安装证书

~/.acme.sh/acme.sh --installcert -d 你的域名 --key-file /root/private.key --fullchain-file /root/cert.crt

7. 防火墙相关

更加详细的可看此文章点击进入

放行端口

firewall-cmd --zone=public --add-port=端口号/tcp --permanent
iptables -A INPUT -p tcp --dport 端口号 -j ACCEPT
ufw allow 端口号

关闭防火墙

systemctl stop firewalld.service
service iptables stop
ufw disable

8. 一键更改root用户密码

echo root:naiyou@199 | sudo chpasswd root   #红色部分更为自己的密码
sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config
sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config
sudo reboot

9. 一键安装Docker

此脚本包含了docker-compose

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

10. 宝塔面板aapanel(国际版)

项目地址点击进入

Debian系统一键安装脚本如下,更多系统版本可进入官网查看

wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh aapanel

11. OpenVPN一键安装脚本

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

12. 一键安装Gost V3

项目地址点击进入

bash <(curl -fsSL https://github.com/go-gost/gost/raw/master/install.sh) --install

13. 一键安装Hysteria2

wget -N --no-check-certificate https://raw.githubusercontent.com/flame1ce/hysteria2-install/main/hysteria2-install-main/hy2/hysteria.sh && bash hysteria.sh

14. 极光面板一键安装脚本

项目地址点击进入

bash <(curl -fsSL https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/install.sh)

15. ServerStatus服务器管理面板一键脚本

项目地址点击进入

wget https://raw.githubusercontent.com/cokemine/ServerStatus-Hotaru/master/status.sh

16. Trojan Panel一键安装脚本

项目地址点击进入

source <(curl -L https://github.com/trojanpanel/install-script/raw/main/install_script.sh)
0

评论区