QuickBash is a script collection created by Jimmy to simplify the setup of commonly used Linux configurations. Whenever a new server needs environment configuration, this script list can solve multiple problems at once. Currently implemented features include time configuration, Docker installation, and more.
GitHub: JimmyKmi/QuickBash
Feel free to submit Issues and PRs (if it works, a star would be nice too)The Gitee version is synchronized, but I haven't frequently checked its availability, so I'll skip the details here.
Tested List
QuickBash supports various Linux systems, including Alibaba Cloud Linux, CentOS, Ubuntu, etc. The script will automatically recognize the system branch.
/ | Alibaba 3 | Alibaba 2 | Anolis 8 | CentOS | Ubuntu |
---|---|---|---|---|---|
default | 3.2104 LTS | -- | -- | 8.5 UEFI | 20.04 UEFI |
NVIDIA-GPUS[beta] | -- | -- | -- | -- | 20.04 UEFI |
Usage
If GitHub is Unavailable
If GitHub is Available
Precautions
Using in Production Environments
Please follow these steps to mitigate potential risks before usage:
- The author will use this script in his own business, but this does not mean it is safe for every production environment.
- It is recommended to fork and test first to avoid unexpected issues that may arise from script updates.
- Please read the content that the script executes carefully before use.
- This script is designed for virtualized scenarios + unified network management scenarios (local data center with a firewall, Alibaba Cloud, Tencent Cloud, Huawei Cloud...), and will default to turning off the firewall in the system. It uses a unified security group or inbound/outbound firewall policies for easier management. If you need to use the system's firewall, please fork and delete
firewall-off.sh
or modify its contents.
Compatibility
- If your system is a Synology, HomeAssistant, OpenWrt, iKuai, or other unusual systems, please do not use this script in production environments of such systems. However, you can refer to the commands inside for manual input.
- Compatibility for Synology may be added in the future if a good solution comes to mind.
- This script can be compatible with some unusual devices, such as Raspberry Pi (experimental).
Future
In the future, this project may evolve into "Cloud Bash," which is a script management platform that allows the cloud configuration of bash scripts to be run with one click on the client side. The backend will also be open-sourced to support Self-Hosting scenarios required by enterprises. This maintains the ease of quick installation while offering a new way to manage operations with Workflow, cron jobs, and other maintenance tasks.