Better Linux
快速配置 linux基础服务(apt更新、安装面板、设置SWAP等)
简体中文 | English
better-linux-script
介绍
便于快速而又简单地配置新系统配置,适合刚装系统时进行一键配置。
目前功能有:
- apt 更新
- 安装curl、wget、vim等
- 安装zsh
- 配置oh-my-zsh(主题设置为bira,安装插件zsh-autosuggestions、zsh-syntax-highlighting)
- 安装开源管理面板1panel(附带安装docker、docker-compose)
- 设置 SWAP
使用方法
tips:推荐在root用户下执行
命令行
Usage: bash better_linux.sh [options]
Options:
-o optional install
-f force install without root
-c clear the generated folders
-h help(usage) and exit
Examples:
bash better_linux.sh -o
下载better_linux.sh
脚本,使用bash better_linux.sh -o
来使用选项式安装,可通过gui来选择需要进行的配置。
一键脚本
curl -sSL -o better_linux.sh https://raw.githubusercontent.com/Star-tears/better-linux-script/master/better_linux.sh && bash better_linux.sh -oc
说明
本项目是因为本人经常折腾新系统镜像,每次从头配置zsh、omz、swap、服务器面板等太费时间,因此写了一个脚本来自动化系统个性化过程,由于是方便自己使用,所以安装过程可能有个人偏好设置。