Collection of commonly used one-click scripts for Linux

Publish: 2017-12-12 | Modify: 2017-12-12

If you have multiple VPSes on hand and frequently need to deploy environments, it can be time-consuming to manually compile and install each time. Therefore, I have collected some commonly used Linux one-click scripts to help improve efficiency. (All scripts are open source, listed in order of creation, with self-written scripts listed first)

bash

LACY One-Click Setup Aria2 for Offline Downloading

Aria2 + Caddy + YAAW can be installed with a single command in a Linux environment, enabling offline downloading, file management, and online playback.

# For CentOS users
yum -y install wget unzip

# For Debian or Ubuntu users
apt-get install -y wget unzip

# The following command is universal, just copy and paste it
wget https://github.com/helloxz/aria2/archive/master.zip
unzip master.zip && cd aria2-master && chmod u+x *.sh && ./install_aria2.sh

Installation Instructions: Linux One-Click Installation of Aria2 + YAAW for Offline Downloading

Help Documentation: LACY Help Documentation

Source Code: https://github.com/helloxz/aria2

CentOS 7 One-Click Installation of Seafile for Private Cloud Storage

Seafile is an open-source enterprise cloud storage solution developed using Python. It is stable and secure, making it the best choice for building private clouds.

yum -y install wget
wget https://raw.githubusercontent.com/helloxz/seafile/master/install_seafile.sh
chmod +x install_seafile.sh && ./install_seafile.sh

Installation Instructions: CentOS 7 One-Click Installation of Seafile for Private Cloud Storage

Source Code: https://github.com/helloxz/seafile

CentOS One-Click Installation of Resilio Sync

Resilio Sync is a dedicated file sharing system that relies on the BitTorrent protocol. It was originally known as BitTorrent Sync and can be used for file sharing and synchronization.

# Install necessary packages
yum -y install wget unzip

# Download the script
wget https://github.com/helloxz/Resilio-Sync/archive/master.zip

# Unzip and install
unzip master.zip && cd Resilio-Sync-master && chmod +x mysync.sh sync.sh && ./sync.sh

Installation Instructions: CentOS One-Click Installation of Resilio Sync

Source Code: https://github.com/helloxz/Resilio-Sync

OneinStack

This script is enough to set up a website environment, with one-click installation of Apache, Nginx, Mysql, Tomcat, and more, such as the popular LNMP environment. Note: This script does not support web panels. If you are not familiar with Linux, it is recommended to use Baota/AMH as an alternative.

yum -y install wget screen curl python # for CentOS/Redhat
wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz
tar xzf oneinstack-full.tar.gz
cd oneinstack
screen -S oneinstack
./install.sh

Official Website: https://oneinstack.com

Shadowsocks Python Edition One-Click Installation Script

This script by TeddySun is highly versatile and can be used for a variety of purposes. You know what it can do.

wget --no-check-certificate -O shadowsocks.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
chmod +x shadowsocks.sh
./shadowsocks.sh 2>&1 | tee shadowsocks.log

Original Article: https://teddysun.com/444.html

One-Click Kernel Upgrade and Enable Google BBR

Google has open-sourced the TCP BBR congestion control algorithm, which effectively improves TCP transmission speed. When used in conjunction with Shadowsocks, the effect is even better. If your neighbor is hogging all the outbound bandwidth and you still want to surf the internet, this script is for you.

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh

Original Article: https://teddysun.com/342.html

One-Click Test Script bench.sh

This script is also by TeddySun and is very practical. bench.sh allows you to easily view CPU/memory information and test VPS disk I/O, download speed, etc. It is essential for VPS performance evaluation.

# Method 1
wget -qO- bench.sh | bash

# Method 2
curl -Lso- bench.sh | bash

Summary

One-click scripts are suitable for those who are not familiar with Linux or want to improve efficiency. If you are planning to learn Linux, you can try compiling and installing manually, which will give you a clearer understanding of the operation principles. Then, you can write your own one-click scripts to benefit humanity. Of course, there are many excellent scripts out there. The above list only includes some of the scripts commonly used by me. If you have any good scripts, feel free to recommend them in the comments below.


Comments