整理一些常用的脚本(持续更新中)

综合工具箱

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 curl

CentOS安装下载工具

yum update && yum install curl

GitHub版一键脚本

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.sh

3、融合怪命令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.sh

2、Ubuntu Deepin安装命令

wget -O install.sh http://io.bt.sy/install/install-ubuntu_6.0.sh && sudo bash install.sh

3、一键卸载宝塔面板

/etc/init.d/bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel

4、脚本进行卸载宝塔面板

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-compose
chmod +x /usr/local/bin/docker-compose

文章作者:
本文链接:
版权声明: 本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 晴的收藏
云服务器
喜欢就支持一下吧