https://github.com/fly-studio/ops
https://github.com/fly-studio/ops
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fly-studio/ops
- Owner: fly-studio
- License: apache-2.0
- Created: 2023-06-06T12:07:41.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-06T06:35:24.000Z (about 2 years ago)
- Last Synced: 2025-01-30T13:14:22.888Z (over 1 year ago)
- Language: Go
- Size: 39.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 初始化Linux的工具
支持:CentOS 6/7/8、Ubuntu 18/20/22
## Usage
### 初始化操作系统、安装必要的工具
- kernel:更新内核参数
- system:优化系统设置
- time:安装chrony、设置时区Asia/Shanghai
- pkg:安装YUM或APT源仓库及依赖工具
- docker:安装docker
- tools:安装常用工具,列表:https://s3.load.cool:8000/software/linux-software.txt
- all:执行所有指令
1. 执行所有指令
```bash
ops init all
```
2. 执行指定指令
```bash
ops init docker
```
3. 执行所有,但是排除docker
```bash
ops init all -x docker
```