2018年搜集的 Linux/Ubuntu/CentOS/Unix 实用一键脚本安装集合(2018年8月持续更新中)
程序员文章站
2022-06-01 08:04:22
...
1.Linux网络优化加速一键脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/tcp/tcp.sh“; chmod +x tcp.sh;sudo bash ./tcp.sh
2.Ubuntu一键配置脚本
https://blog.csdn.net/rovast/article/details/49686565
3.Linux 环境下的 hosts 一键部署脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/hosts/hosts.sh“; chmod +x hosts.sh;sudo bash ./hosts.sh
4.一键安装ghost轻博客
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ghost/ghost.sh“; chmod +x ghost.sh;sudo bash ./ghost.sh
5.Linux/Ubuntu一键测试性能脚本bench.sh
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/bench/bench.sh“; chmod +x bench.sh;sudo bash ./bench.sh
6.Linux一键测试性能脚本UnixBench
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/unixbench/unixbench.sh“; chmod +x unixbench.sh;sudo bash ./unixbench.sh
7.ftp上传一键脚本
https://teddysun.com/484.html
8.一键安装kms服务脚本
https://teddysun.com/530.html
9.一键安装最新内核并开启 BBR 脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/bbr/bbr.sh“; chmod +x bbr.sh;sudo bash ./bbr.sh
重启之后输入下面的命令如果有 BBR 说明 BBR 加速开启成功
sysctl net.ipv4.tcp_available_congestion_control
10.L2TP/IPSec一键安装脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/L2TP/l2tp.sh“; chmod +x l2tp.sh;sudo bash ./l2tp.sh
具体使用方法可以参照下面的文章
https://teddysun.com/448.html
https://down.vpsmm.com/shell/l2tp.sh
一键安装l2tp的v7n服务器端,输入3个指令即可
11.LAMP一键安装脚本
https://teddysun.com/410.html
12.Ubuntu/Debian/Centos一键安装FTP脚本
http://vpsxyz.com/archives/21
13.网速测试
主要包括国内的一些节点进行专项测试,电信、联通、移动
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/superspeed/superspeed.sh“;chmod +x superspeed.sh;sudo bash ./superspeed.sh
14.html5网速测试
https://down.vpsmm.com/php/speedtest.zip
需要php环境,下载后解压即可运行,无须安装
15.SS一键包4版本
一键安装ss服务器端4合1版本,自主选择:python版、R版(推荐)、go版、libev版(省内存)。
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ss/ss_all.sh“;chmod +x ss_all.sh;sudo bash ./ss_all.sh
16.锐速一键包
一键安装锐速破解全功能版,不支持openvz架构,来自91yun
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/serverspeeder/serverspeeder.sh“;chmod +x serverspeeder.sh;sudo bash ./serverspeeder.sh
另一位爱好者开发的锐速一键安装脚本,开发:https://github.com/0oVicero0/serverSpeeser_Install
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/serverspeeder/serverspeeder_appex.sh“;chmod +x serverspeeder_appex.sh;sudo bash ./serverspeeder_appex.sh
17.FS/finalspeed一键包
一键安装finalspeed功能,支持全系架构
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/finalspeed/finalspeed.sh“;chmod +x finalspeed.sh;sudo bash ./finalspeed.sh
18.mysql一键备份脚本
每天自动备份MYSQL及打包网站目录
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/AutuBackupToFtp/AutoBackupToFtp.sh“;chmod +x AutoBackupToFtp.sh;sudo bash ./AutoBackupToFtp.sh
19.transfer.sh 中文一键安装脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/transfer/transfer.sh“;chmod +x transfer.sh;sudo bash ./transfer.sh
20.腾讯云CVM服务中文一键移除脚本
该脚本可以一键移除您腾讯云CVM内部所预装的阿里云后台服务。
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/service_removal_tencent/service_removal_tencent.sh“;chmod +x service_removal_tencent.sh;sudo bash ./service_removal_tencent.sh
21.阿里云服务中文一键移除脚本
该脚本可以一键移除您阿里云ECS内部所预装的阿里云后台服务。
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/service_removal_ali/service_removal_ali.sh“;chmod +x service_removal_ali.sh;sudo bash ./service_removal_ali.sh
22.WordPress + LNMP 中文一键安装脚本
HTTP版
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/wp_lnmp/wp_lnmp.sh“;chmod +x wp_lnmp.sh;sudo bash ./wp_lnmp.sh
HTTPS版(带自动跳转HTTPS、自动申请Let’s Encrypt SSL证书)
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/wp_lnmp_le/wp_lnmp_le.sh“;chmod +x wp_lnmp_le.sh;sudo bash ./wp_lnmp_le.sh
23.WordPress + SQLite 一键安装脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/wp_sqlite/wp_sqlite.sh“;chmod +x wp_sqlite.sh;sudo bash ./wp_sqlite.sh
24.Debian & Ubuntu 中文一键TCP网络优化脚本(集成锐速、BBR,自动更换内核)
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/net_acc/net_acc.sh“;chmod +x net_acc.sh;sudo bash ./net_acc.sh
25.Debian(Ubuntu)网络安装/重装系统一键脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/DebianNET/DebianNET.sh“;chmod +x DebianNET.sh;sudo bash ./DebianNET.sh
26.Ubuntu一键配置脚本
https://blog.csdn.net/rovast/article/details/49686565
27.CENTOS/UBUNTU一键安装IPSEC/IKEV2 VPN服务器
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ikev2/ikev2.sh“;chmod +x ikev2.sh;sudo bash ./ikev2.sh
使用方法如下:
http://www.linuxdiyf.com/linux/13378.html
28.linux shell之简单一键优化脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ubuntu_init/init.sh“;chmod +x init.sh;sudo bash ./init.sh
使用方法如下:
http://blog.51cto.com/chocolee/1424587
29.锐速破解版Linux一键安装脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/appex/appex.sh“;chmod +x appex.sh;sudo bash ./appex.sh
使用方法如下:
https://xpsss.com/859.html
30.Linux下一键http配置脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/httpauto/httpauto.sh“;chmod +x httpauto.sh;sudo bash ./httpauto.sh
使用方法如下:
http://www.pengqi.club/blog/264.html
31.Linux一键评测跑分脚本——ZBench
英文版
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ZBench/ZBench.sh“;chmod +x ZBench.sh;sudo bash ./ZBench.sh
中文版
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ZBench/ZBench-CN.sh“;chmod +x ZBench-CN.sh;sudo bash ./ZBench-CN.sh
32.一键优化centos脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/init_centos/centos.sh“;chmod +x centos.sh;sudo bash ./centos.sh
33.linux shell之简单一键优化脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/init_linux/linux.sh“;chmod +x linux.sh;sudo bash ./linux.sh
34.shell脚本一键安装redis
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/redis/redis.sh“;chmod +x redis.sh;sudo bash ./redis.sh
35.*一键安装脚本及*使用方法
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/*/*.sh“;chmod +x *.sh;sudo bash ./*.sh
使用方法
https://zshttp.com/1190.html
36.Linux下实现SNMP一键安装的Shell脚本linux shell
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/snmp/snmp.sh“;chmod +x snmp.sh;sudo bash ./snmp.sh
使用方法
http://www.yuedudg.cn/script/article/2150001.html
37.安装完Ubuntu后通过shell脚本一键安装软件
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ubuntu_software/software.sh“;chmod +x software.sh;sudo bash ./software.sh
38.一个用于批量下载网络图片的Shell脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/download/image1.sh“;chmod +x image1.sh;sudo bash ./image1.sh
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/download/image2.sh“;chmod +x image2.sh;sudo bash ./image2.sh
39.Ubuntu一键安装docker的脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/docker/docker.sh“;chmod +x docker.sh;sudo bash ./docker.sh
40.一键备份数据库脚本
https://teddysun.com/469.html
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/tcp/tcp.sh“; chmod +x tcp.sh;sudo bash ./tcp.sh
2.Ubuntu一键配置脚本
https://blog.csdn.net/rovast/article/details/49686565
3.Linux 环境下的 hosts 一键部署脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/hosts/hosts.sh“; chmod +x hosts.sh;sudo bash ./hosts.sh
4.一键安装ghost轻博客
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ghost/ghost.sh“; chmod +x ghost.sh;sudo bash ./ghost.sh
5.Linux/Ubuntu一键测试性能脚本bench.sh
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/bench/bench.sh“; chmod +x bench.sh;sudo bash ./bench.sh
6.Linux一键测试性能脚本UnixBench
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/unixbench/unixbench.sh“; chmod +x unixbench.sh;sudo bash ./unixbench.sh
7.ftp上传一键脚本
https://teddysun.com/484.html
8.一键安装kms服务脚本
https://teddysun.com/530.html
9.一键安装最新内核并开启 BBR 脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/bbr/bbr.sh“; chmod +x bbr.sh;sudo bash ./bbr.sh
重启之后输入下面的命令如果有 BBR 说明 BBR 加速开启成功
sysctl net.ipv4.tcp_available_congestion_control
10.L2TP/IPSec一键安装脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/L2TP/l2tp.sh“; chmod +x l2tp.sh;sudo bash ./l2tp.sh
具体使用方法可以参照下面的文章
https://teddysun.com/448.html
https://down.vpsmm.com/shell/l2tp.sh
一键安装l2tp的v7n服务器端,输入3个指令即可
11.LAMP一键安装脚本
https://teddysun.com/410.html
12.Ubuntu/Debian/Centos一键安装FTP脚本
http://vpsxyz.com/archives/21
13.网速测试
主要包括国内的一些节点进行专项测试,电信、联通、移动
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/superspeed/superspeed.sh“;chmod +x superspeed.sh;sudo bash ./superspeed.sh
14.html5网速测试
https://down.vpsmm.com/php/speedtest.zip
需要php环境,下载后解压即可运行,无须安装
15.SS一键包4版本
一键安装ss服务器端4合1版本,自主选择:python版、R版(推荐)、go版、libev版(省内存)。
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ss/ss_all.sh“;chmod +x ss_all.sh;sudo bash ./ss_all.sh
16.锐速一键包
一键安装锐速破解全功能版,不支持openvz架构,来自91yun
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/serverspeeder/serverspeeder.sh“;chmod +x serverspeeder.sh;sudo bash ./serverspeeder.sh
另一位爱好者开发的锐速一键安装脚本,开发:https://github.com/0oVicero0/serverSpeeser_Install
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/serverspeeder/serverspeeder_appex.sh“;chmod +x serverspeeder_appex.sh;sudo bash ./serverspeeder_appex.sh
17.FS/finalspeed一键包
一键安装finalspeed功能,支持全系架构
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/finalspeed/finalspeed.sh“;chmod +x finalspeed.sh;sudo bash ./finalspeed.sh
18.mysql一键备份脚本
每天自动备份MYSQL及打包网站目录
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/AutuBackupToFtp/AutoBackupToFtp.sh“;chmod +x AutoBackupToFtp.sh;sudo bash ./AutoBackupToFtp.sh
19.transfer.sh 中文一键安装脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/transfer/transfer.sh“;chmod +x transfer.sh;sudo bash ./transfer.sh
20.腾讯云CVM服务中文一键移除脚本
该脚本可以一键移除您腾讯云CVM内部所预装的阿里云后台服务。
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/service_removal_tencent/service_removal_tencent.sh“;chmod +x service_removal_tencent.sh;sudo bash ./service_removal_tencent.sh
21.阿里云服务中文一键移除脚本
该脚本可以一键移除您阿里云ECS内部所预装的阿里云后台服务。
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/service_removal_ali/service_removal_ali.sh“;chmod +x service_removal_ali.sh;sudo bash ./service_removal_ali.sh
22.WordPress + LNMP 中文一键安装脚本
HTTP版
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/wp_lnmp/wp_lnmp.sh“;chmod +x wp_lnmp.sh;sudo bash ./wp_lnmp.sh
HTTPS版(带自动跳转HTTPS、自动申请Let’s Encrypt SSL证书)
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/wp_lnmp_le/wp_lnmp_le.sh“;chmod +x wp_lnmp_le.sh;sudo bash ./wp_lnmp_le.sh
23.WordPress + SQLite 一键安装脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/wp_sqlite/wp_sqlite.sh“;chmod +x wp_sqlite.sh;sudo bash ./wp_sqlite.sh
24.Debian & Ubuntu 中文一键TCP网络优化脚本(集成锐速、BBR,自动更换内核)
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/net_acc/net_acc.sh“;chmod +x net_acc.sh;sudo bash ./net_acc.sh
25.Debian(Ubuntu)网络安装/重装系统一键脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/DebianNET/DebianNET.sh“;chmod +x DebianNET.sh;sudo bash ./DebianNET.sh
26.Ubuntu一键配置脚本
https://blog.csdn.net/rovast/article/details/49686565
27.CENTOS/UBUNTU一键安装IPSEC/IKEV2 VPN服务器
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ikev2/ikev2.sh“;chmod +x ikev2.sh;sudo bash ./ikev2.sh
使用方法如下:
http://www.linuxdiyf.com/linux/13378.html
28.linux shell之简单一键优化脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ubuntu_init/init.sh“;chmod +x init.sh;sudo bash ./init.sh
使用方法如下:
http://blog.51cto.com/chocolee/1424587
29.锐速破解版Linux一键安装脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/appex/appex.sh“;chmod +x appex.sh;sudo bash ./appex.sh
使用方法如下:
https://xpsss.com/859.html
30.Linux下一键http配置脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/httpauto/httpauto.sh“;chmod +x httpauto.sh;sudo bash ./httpauto.sh
使用方法如下:
http://www.pengqi.club/blog/264.html
31.Linux一键评测跑分脚本——ZBench
英文版
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ZBench/ZBench.sh“;chmod +x ZBench.sh;sudo bash ./ZBench.sh
中文版
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ZBench/ZBench-CN.sh“;chmod +x ZBench-CN.sh;sudo bash ./ZBench-CN.sh
32.一键优化centos脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/init_centos/centos.sh“;chmod +x centos.sh;sudo bash ./centos.sh
33.linux shell之简单一键优化脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/init_linux/linux.sh“;chmod +x linux.sh;sudo bash ./linux.sh
34.shell脚本一键安装redis
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/redis/redis.sh“;chmod +x redis.sh;sudo bash ./redis.sh
35.*一键安装脚本及*使用方法
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/*/*.sh“;chmod +x *.sh;sudo bash ./*.sh
使用方法
https://zshttp.com/1190.html
36.Linux下实现SNMP一键安装的Shell脚本linux shell
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/snmp/snmp.sh“;chmod +x snmp.sh;sudo bash ./snmp.sh
使用方法
http://www.yuedudg.cn/script/article/2150001.html
37.安装完Ubuntu后通过shell脚本一键安装软件
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/ubuntu_software/software.sh“;chmod +x software.sh;sudo bash ./software.sh
38.一个用于批量下载网络图片的Shell脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/download/image1.sh“;chmod +x image1.sh;sudo bash ./image1.sh
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/download/image2.sh“;chmod +x image2.sh;sudo bash ./image2.sh
39.Ubuntu一键安装docker的脚本
wget -N –no-check-certificate “https://raw.githubusercontent.com/WhosYourFathe/UsefulScripts/master/docker/docker.sh“;chmod +x docker.sh;sudo bash ./docker.sh
40.一键备份数据库脚本
https://teddysun.com/469.html