Linux操作系统以其强大的自动化能力和灵活的命令行工具而闻名。本文将介绍一些常用的Linux工具,帮助读者更高效地管理和操作Linux系统。
安装docker
curl -fsSL https://get.docker.com | bash -s docker安装docker-compose
curl -L "https://github.com/docker/compose/releases/download/v2.26.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose设置SSH Key登录
通过github用户名获取公钥
bash <(curl -fsSL git.io/key.sh) -g WindIslands -d开启BBR
wget -N --no-check-certificate "https://github.000060000.xyz/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.shSwap交换分区
wget https://raw.githubusercontent.com/zhucaidan/swap.sh/main/swap.sh && bash swap.shIP质量检测
bash <(curl -sL IP.Check.Place)内核交换内存页面的积极程度
echo "vm.swappiness=60" >> /etc/sysctl.conf && sysctl -pDD系统
#重装debian12并且设置密钥登录
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_ && bash reinstall.sh debian 12 --ssh-key github:WindIslands 安装Gost
wget --no-check-certificate -O gost.sh https://raw.githubusercontent.com/KANIKIG/Multi-EasyGost/master/gost.sh && chmod +x gost.sh && mv gost.sh /usr/local/bin/安装Nvm
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash安装Golang
source <(curl -L https://go-install.netlify.app/install.sh)替换linux镜像源
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)酷雪云
bash <(curl -sL https://cdn.kxy.ovh/kxy.sh)
评论区