# centos_init **Repository Path**: oslo/centos_init ## Basic Information - **Project Name**: centos_init - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-21 - **Last Updated**: 2021-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CentOS 初始化脚本 ## 国内CentOS服务器初始化脚本 1. 脚本1 `init_gitee1.sh`,安装的内容: 1. 将 `centos` 的源换成清华源,使用的是清华镜像网站的命令,在更新软件包缓存生效 2. 安装 `ifconfig` 3. 安装 `oh-my-zsh` 2. 脚本2 `init_gitee2.sh`,安装的内容: 1. 将系统的默认 `shell` 改为 `zsh` 2. 安装 `zsh-autosuggestions` 3. 安装 `autojump` 4. 安装 安装 `zsh-syntax-highlighting` 5. 安装 `vim` 6. 安装 `spacevim` 脚本中所使用的资源已经全部迁移到 `gitee.com`。 ### 使用方法 ```bash curl -sLf https://gitee.com/oslo/centos_init/raw/master/init_gitee1.sh | bash curl -sLf https://gitee.com/oslo/centos_init/raw/master/init_gitee2.sh | bash ``` ## 国内CentOS服务器初始化脚本 1. 脚本1 `init_github1.sh`,安装的内容: 1. 安装 `ifconfig` 2. 安装 `oh-my-zsh` 2. 脚本2 `init_github2.sh`,安装的内容: 1. 将系统的默认 `shell` 改为 `zsh` 2. 安装 `zsh-autosuggestions` 3. 安装 `autojump` 4. 安装 安装 `zsh-syntax-highlighting` 5. 安装 `vim` 6. 安装 `spacevim` ### 使用方法 ```bash curl -sLf https://gitee.com/oslo/centos_init/raw/master/init_github1.sh | bash curl -sLf https://gitee.com/oslo/centos_init/raw/master/init_github2.sh | bash ```