diff --git a/README.md b/README.md index 3579b48..c33bd18 100644 --- a/README.md +++ b/README.md @@ -5,107 +5,107 @@ vps脚本 - 00-disable-password ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/00-disable-password.sh && chmod +x 00-disable-password.sh && ./00-disable-password.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/00-disable-password.sh && chmod +x 00-disable-password.sh && ./00-disable-password.sh ``` - 01-sysUpdate ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/01-sysUpdate.sh && chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/01-sysUpdate.sh && chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh ``` - 02-sysCleanup ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/02-sysCleanup.sh && chmod +x 02-sysCleanup.sh && ./02-sysCleanup.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/02-sysCleanup.sh && chmod +x 02-sysCleanup.sh && ./02-sysCleanup.sh ``` - 03-docker ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/03-docker.sh && chmod +x 03-docker.sh && ./03-docker.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/03-docker.sh && chmod +x 03-docker.sh && ./03-docker.sh ``` - ddns-go ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/ddns-go.sh && chmod +x ddns-go.sh && ./ddns-go.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/ddns-go.sh && chmod +x ddns-go.sh && ./ddns-go.sh ``` - vps_init ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/vps_init.sh && chmod +x vps_init.sh && ./vps_init.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/vps_init.sh && chmod +x vps_init.sh && ./vps_init.sh ``` - xray-manager ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/xray-manager.sh && chmod +x xray-manager.sh && ./xray-manager.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/xray-manager.sh && chmod +x xray-manager.sh && ./xray-manager.sh ``` ## 安装脚本 (install) - 01-Nginx ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/01-Nginx.sh && chmod +x 01-Nginx.sh && ./01-Nginx.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/01-Nginx.sh && chmod +x 01-Nginx.sh && ./01-Nginx.sh ``` - 02-NginxProxy ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/02-NginxProxy.sh && chmod +x 02-NginxProxy.sh && ./02-NginxProxy.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/02-NginxProxy.sh && chmod +x 02-NginxProxy.sh && ./02-NginxProxy.sh ``` - 03-X-UI ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/03-X-UI.sh && chmod +x 03-X-UI.sh && ./03-X-UI.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/03-X-UI.sh && chmod +x 03-X-UI.sh && ./03-X-UI.sh ``` - 04-FRP ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/04-FRP.sh && chmod +x 04-FRP.sh && ./04-FRP.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/04-FRP.sh && chmod +x 04-FRP.sh && ./04-FRP.sh ``` - 05-ZeroTier ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/05-ZeroTier.sh && chmod +x 05-ZeroTier.sh && ./05-ZeroTier.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/05-ZeroTier.sh && chmod +x 05-ZeroTier.sh && ./05-ZeroTier.sh ``` - 06-Rustdesk ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/06-Rustdesk.sh && chmod +x 06-Rustdesk.sh && ./06-Rustdesk.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/06-Rustdesk.sh && chmod +x 06-Rustdesk.sh && ./06-Rustdesk.sh ``` - 07-Alist ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/07-Alist.sh && chmod +x 07-Alist.sh && ./07-Alist.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/07-Alist.sh && chmod +x 07-Alist.sh && ./07-Alist.sh ``` - 08-Duplicati ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/08-Duplicati.sh && chmod +x 08-Duplicati.sh && ./08-Duplicati.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/08-Duplicati.sh && chmod +x 08-Duplicati.sh && ./08-Duplicati.sh ``` - 09-Syncthing ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/09-Syncthing.sh && chmod +x 09-Syncthing.sh && ./09-Syncthing.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/09-Syncthing.sh && chmod +x 09-Syncthing.sh && ./09-Syncthing.sh ``` - 10-Vaultwarden ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/10-Vaultwarden.sh && chmod +x 10-Vaultwarden.sh && ./10-Vaultwarden.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/10-Vaultwarden.sh && chmod +x 10-Vaultwarden.sh && ./10-Vaultwarden.sh ``` - 11-EasyImage ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/11-EasyImage.sh && chmod +x 11-EasyImage.sh && ./11-EasyImage.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/11-EasyImage.sh && chmod +x 11-EasyImage.sh && ./11-EasyImage.sh ``` - 12-Wordpress ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/12-Wordpress.sh && chmod +x 12-Wordpress.sh && ./12-Wordpress.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/12-Wordpress.sh && chmod +x 12-Wordpress.sh && ./12-Wordpress.sh ``` - 13-Nextcloud ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/13-Nextcloud.sh && chmod +x 13-Nextcloud.sh && ./13-Nextcloud.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/13-Nextcloud.sh && chmod +x 13-Nextcloud.sh && ./13-Nextcloud.sh ``` - 14-Joplin ```sh -curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/14-Joplin.sh && chmod +x 14-Joplin.sh && ./14-Joplin.sh +curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/14-Joplin.sh && chmod +x 14-Joplin.sh && ./14-Joplin.sh ``` diff --git a/init/00-disable-password.sh b/init/00-disable-password.sh index 6eceaf4..631f4d2 100644 --- a/init/00-disable-password.sh +++ b/init/00-disable-password.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 00-disable-password.sh && ./00-disable-password.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/00-disable-password.sh && chmod +x 00-disable-password.sh && ./00-disable-password.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/00-disable-password.sh && chmod +x 00-disable-password.sh && ./00-disable-password.sh # 用户设置 diff --git a/init/01-sysUpdate.sh b/init/01-sysUpdate.sh index 36f3de9..e263ac5 100644 --- a/init/01-sysUpdate.sh +++ b/init/01-sysUpdate.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/01-sysUpdate.sh && chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/01-sysUpdate.sh && chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh echo "系统更新" diff --git a/init/02-sysCleanup.sh b/init/02-sysCleanup.sh index 5080a62..77ddc91 100644 --- a/init/02-sysCleanup.sh +++ b/init/02-sysCleanup.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 02-sysCleanup.sh && ./02-sysCleanup.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/02-sysCleanup.sh && chmod +x 02-sysCleanup.sh && ./02-sysCleanup.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/02-sysCleanup.sh && chmod +x 02-sysCleanup.sh && ./02-sysCleanup.sh echo "系统清理" diff --git a/init/03-docker.sh b/init/03-docker.sh index 2c9b4ad..454919d 100644 --- a/init/03-docker.sh +++ b/init/03-docker.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 03-docker.sh && ./03-docker.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/03-docker.sh && chmod +x 03-docker.sh && ./03-docker.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/03-docker.sh && chmod +x 03-docker.sh && ./03-docker.sh echo "初始化vps" diff --git a/init/ddns-go.sh b/init/ddns-go.sh index 1236eb3..8075ec1 100644 --- a/init/ddns-go.sh +++ b/init/ddns-go.sh @@ -1,7 +1,7 @@ #!/bin/bash # ddns-go 自动安装脚本 # 使用方法: chmod +x ddns-go.sh && ./ddns-go.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/ddns-go.sh && chmod +x ddns-go.sh && ./ddns-go.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/ddns-go.sh && chmod +x ddns-go.sh && ./ddns-go.sh # 彩色输出 RED='\033[0;31m' diff --git a/init/vps_init.sh b/init/vps_init.sh index e1c852c..5ef178d 100644 --- a/init/vps_init.sh +++ b/init/vps_init.sh @@ -4,7 +4,7 @@ # 整合了系统更新、登录安全设置、系统清理、Docker安装、防火墙设置、时区设置、 # 内存优化、Fail2ban安装和BBR加速 # 使用方法: chmod +x vps_init.sh && ./vps_init.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/vps_init.sh && chmod +x vps_init.sh && ./vps_init.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/vps_init.sh && chmod +x vps_init.sh && ./vps_init.sh # =========================================== # 用户设置区域 - 根据需要修改 diff --git a/init/xray-manager.sh b/init/xray-manager.sh index 7364536..95a6ea8 100644 --- a/init/xray-manager.sh +++ b/init/xray-manager.sh @@ -2,7 +2,7 @@ # Xray 管理脚本 - 集成安装、卸载和管理功能 # 专门支持 VLESS+REALITY 协议 # 使用方法: chmod +x xray-manager.sh && ./xray-manager.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/xray-manager.sh && chmod +x xray-manager.sh && ./xray-manager.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/xray-manager.sh && chmod +x xray-manager.sh && ./xray-manager.sh # 全局变量 XRAY_PATH="/usr/local/bin" diff --git a/install/01-Nginx.sh b/install/01-Nginx.sh index 8729910..0fc036e 100644 --- a/install/01-Nginx.sh +++ b/install/01-Nginx.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 01-Nginx.sh && ./01-Nginx.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/01-Nginx.sh && chmod +x 01-Nginx.sh && ./01-Nginx.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/01-Nginx.sh && chmod +x 01-Nginx.sh && ./01-Nginx.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=80 diff --git a/install/02-NginxProxy.sh b/install/02-NginxProxy.sh index e51f6e9..89bdaec 100644 --- a/install/02-NginxProxy.sh +++ b/install/02-NginxProxy.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 02-NginxProxy.sh && ./02-NginxProxy.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/02-NginxProxy.sh && chmod +x 02-NginxProxy.sh && ./02-NginxProxy.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/02-NginxProxy.sh && chmod +x 02-NginxProxy.sh && ./02-NginxProxy.sh ipv4_address=$(curl -s ipv4.ip.sb) diff --git a/install/03-X-UI.sh b/install/03-X-UI.sh index df44771..9c63911 100644 --- a/install/03-X-UI.sh +++ b/install/03-X-UI.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 03-X-UI.sh && ./03-X-UI.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/03-X-UI.sh && chmod +x 03-X-UI.sh && ./03-X-UI.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/03-X-UI.sh && chmod +x 03-X-UI.sh && ./03-X-UI.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=54321 diff --git a/install/04-FRP.sh b/install/04-FRP.sh index c233208..e0ba67e 100644 --- a/install/04-FRP.sh +++ b/install/04-FRP.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 04-FRP.sh && ./04-FRP.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/04-FRP.sh && chmod +x 04-FRP.sh && ./04-FRP.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/04-FRP.sh && chmod +x 04-FRP.sh && ./04-FRP.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8040 diff --git a/install/05-ZeroTier.sh b/install/05-ZeroTier.sh index 4167ccf..8af0114 100644 --- a/install/05-ZeroTier.sh +++ b/install/05-ZeroTier.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 05-Zerotier.sh && ./05-Zerotier.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/05-Zerotier.sh && chmod +x 05-Zerotier.sh && ./05-Zerotier.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/05-Zerotier.sh && chmod +x 05-Zerotier.sh && ./05-Zerotier.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8050 diff --git a/install/06-Rustdesk.sh b/install/06-Rustdesk.sh index 670ad1e..24b0a49 100644 --- a/install/06-Rustdesk.sh +++ b/install/06-Rustdesk.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 06-Rustdesk.sh && ./06-Rustdesk.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/06-Rustdesk.sh && chmod +x 06-Rustdesk.sh && ./06-Rustdesk.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/06-Rustdesk.sh && chmod +x 06-Rustdesk.sh && ./06-Rustdesk.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8061 diff --git a/install/07-Alist.sh b/install/07-Alist.sh index 2e11a84..db6bc4c 100644 --- a/install/07-Alist.sh +++ b/install/07-Alist.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 07-Alist.sh && ./07-Alist.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/07-Alist.sh && chmod +x 07-Alist.sh && ./07-Alist.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/07-Alist.sh && chmod +x 07-Alist.sh && ./07-Alist.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8070 diff --git a/install/08-Duplicati.sh b/install/08-Duplicati.sh index e1cdc31..ad5fa0c 100644 --- a/install/08-Duplicati.sh +++ b/install/08-Duplicati.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 08-Duplicati.sh && ./08-Duplicati.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/08-Duplicati.sh && chmod +x 08-Duplicati.sh && ./08-Duplicati.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/08-Duplicati.sh && chmod +x 08-Duplicati.sh && ./08-Duplicati.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8080 diff --git a/install/09-Syncthing.sh b/install/09-Syncthing.sh index bfcfb48..9f27386 100644 --- a/install/09-Syncthing.sh +++ b/install/09-Syncthing.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 09-Syncthing.sh && ./09-Syncthing.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/09-Syncthing.sh && chmod +x 09-Syncthing.sh && ./09-Syncthing.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/09-Syncthing.sh && chmod +x 09-Syncthing.sh && ./09-Syncthing.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8090 diff --git a/install/10-Vaultwarden.sh b/install/10-Vaultwarden.sh index d0b0c35..88e8b7b 100644 --- a/install/10-Vaultwarden.sh +++ b/install/10-Vaultwarden.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 10-Vaultwarden.sh && ./10-Vaultwarden.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/10-Vaultwarden.sh && chmod +x 10-Vaultwarden.sh && ./10-Vaultwarden.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/10-Vaultwarden.sh && chmod +x 10-Vaultwarden.sh && ./10-Vaultwarden.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8100 diff --git a/install/11-EasyImage.sh b/install/11-EasyImage.sh index 7dcad27..5166272 100644 --- a/install/11-EasyImage.sh +++ b/install/11-EasyImage.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 11-EasyImage.sh && ./11-EasyImage.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/11-EasyImage.sh && chmod +x 11-EasyImage.sh && ./11-EasyImage.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/11-EasyImage.sh && chmod +x 11-EasyImage.sh && ./11-EasyImage.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8110 diff --git a/install/12-Wordpress.sh b/install/12-Wordpress.sh index 71838de..93d9dde 100644 --- a/install/12-Wordpress.sh +++ b/install/12-Wordpress.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 12-Wordpress.sh && ./12-Wordpress.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/12-Wordpress.sh && chmod +x 12-Wordpress.sh && ./12-Wordpress.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/12-Wordpress.sh && chmod +x 12-Wordpress.sh && ./12-Wordpress.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8120 diff --git a/install/13-Nextcloud.sh b/install/13-Nextcloud.sh index da9835e..b681e55 100644 --- a/install/13-Nextcloud.sh +++ b/install/13-Nextcloud.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 13-Nextcloud.sh && ./13-Nextcloud.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/13-Nextcloud.sh && chmod +x 13-Nextcloud.sh && ./13-Nextcloud.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/13-Nextcloud.sh && chmod +x 13-Nextcloud.sh && ./13-Nextcloud.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8130 diff --git a/install/14-Joplin.sh b/install/14-Joplin.sh index 0afcf14..c9dc3a2 100644 --- a/install/14-Joplin.sh +++ b/install/14-Joplin.sh @@ -1,6 +1,6 @@ #!/bin/bash # chmod +x 14-Joplin.sh && ./14-Joplin.sh -# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/install/14-Joplin.sh && chmod +x 14-Joplin.sh && ./14-Joplin.sh +# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/install/14-Joplin.sh && chmod +x 14-Joplin.sh && ./14-Joplin.sh ipv4_address=$(curl -s ipv4.ip.sb) port80=8140