VPS脚本

首页 / 各种收集 / 正文

萌咖一键DD纯净系统脚本(2021年8月最新版)

LOC论坛原帖


推荐DD为Debian10 64位

bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 10 -v 64 -p "自定义root密码" -port "自定义ssh端口"
  • DD为CentOS 6.9
    以下命令中的 -c 后面为CentOS版本号,-v 后面为64位/32位,可根据需求进行替换。

    # CentOS 6.9 64位:
    bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -c 6.9 -v 64 -a
    
    # CentOS 6.9 32位:
    bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -c 6.9 -v 32 -a
    • DD为Debian

    以下命令中的 -d 后面为Debian版本号,-v 后面为64位/32位,可根据需求进行替换。

    # Debian 8 64位:
    bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 8 -v 64 -a
    
    # Debian 9 64位:
    bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 9 -v 64 -a
    • DD为Ubuntu

    以下命令中的 -u 后面为Ubuntu版本号,-v 后面为64位/32位,可根据需求进行替换。

# Ubuntu 12.04 64位:
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 12.04 -v 64 -a

# Ubuntu 14.04 64位:
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 14.04 -v 64 -a

# Ubuntu 16.04 64位:
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 16.04 -v 64 -a

# Ubuntu 18.04 64位:
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 18.04 -v 64 -a

开机密码

#!/bin/bash
echo root:Vicer |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

Docke

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

speed test-X(Docker版)

GitHub

  • 拉取 Docker 镜像

docker pull badapple9/speedtest-x

(ARM 架构的机器,执行 docker pull stilleshan/speedtest-x,ARM 镜像由热心网友制作)
  • 运行容器 docker run -d -p 9001:80 -it badapple9/speedtest-x

    (ARM 架构的机器,运行 docker run -d -p 9001:80 -it stilleshan/speedtest-x)

BBR四合一脚本

GitHub

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

X-ui

GitHub


使用一键安装/升级脚本
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

Caddy一键管理脚本

原文


wget https://git.io/vra5C -O - -o /dev/null|bash

无标签
评论区
头像