Linux一些常用的脚本
整理一些常用的脚本(持续更新中)
综合工具箱
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh更新、安装必备软件
apt-get update && apt-get install -y wget vim curl检查IP是否可用ChatGPT
bash <(curl -Ls https://raw.githubusercontent.com/missuo/OpenAI-Checker/main/openai.sh)科技lion官方一键脚本
使用方法
Debian/Ubuntu安装下载工具
apt update -y && apt install -y curlCentOS安装下载工具
yum update && yum install curlGitHub版一键脚本
curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh融合怪测评脚本
1、融合怪命令
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.2、融合怪命令
curl -L https://github.com/spiritLHLS/ecs/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh3、融合怪命令1种
bash <(wget -qO- bash.spiritlhl.net/ecs)宝塔面板企业版 开心破解版一键脚本
1、Centos安装命令
yum install -y wget && wget -O install.sh http://io.bt.sy/install/install_6.0.sh && sh install.sh2、Ubuntu Deepin安装命令
wget -O install.sh http://io.bt.sy/install/install-ubuntu_6.0.sh && sudo bash install.sh3、一键卸载宝塔面板
/etc/init.d/bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel4、脚本进行卸载宝塔面板
wget http://download.bt.cn/install/bt-uninstall.sh
sh bt-uninstall.sh系统软件相关
更新系统所有
apt update更新现有软件
apt upgrade -y一键纯净更新
apt update -y && apt full-upgrade -y && apt autoremove -y && apt autoclean -y更新软件依赖关系更新现有软件删除依赖以外的软件
apt full-upgrade -y
安装或更新指定软件如:curl wget
apt install -y curl wget安装docker
环境安装
apt-get update && apt-get install -y wget vim #安装wget和vim官方Docker
curl -sSL https://get.docker.com/ | sh一键docker脚本
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh)官方安装docker-compose
curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose国内机安装 docker
curl -sSL https://get.daocloud.io/docker | sh国内机安装 docker-compose
curl -L https://get.daocloud.io/docker/compose/releases/download/v2.1.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-composechmod +x /usr/local/bin/docker-compose
本文链接:
/archives/1697713467235
版权声明:
本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自
晴的收藏!
喜欢就支持一下吧