超强的linux DD脚本-DD centos
1.更新源,下载脚本:
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
2.指定源,输入系统和对应版本后,加参数“-mirror”,如DD debian11:
bash InstallNET.sh -debian 11 -mirror "http://ftp.riken.jp/Linux/debian/debian/"
DD centos7:
bash InstallNET.sh -centos 7 -mirror "https://www.centos.org/download/mirrors/"
DD ubuntu:
bash InstallNET.sh -ubuntu 18.04 -mirror "https://launchpad.net/ubuntu/+cdmirrors"
默认密码:
LeitboGi0ro
更改密码,输入两次自己的密码:
passwd
Ubuntu/Debian 系统升级并安装 Curl/wget/sudo:
apt update -y && apt install curl -y && apt install wget -y && apt install sudo -y
开启BBR,记得执行完重启:
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
安装宝塔命令:
debian:
wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh ed8484bec
centos:
yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
ubuntu:
wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。