Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Latest commit

 

History

History
40 lines (27 loc) · 481 Bytes

initial.md

File metadata and controls

40 lines (27 loc) · 481 Bytes

CentOS 初始化

安装完 CentOS 系统常做的操作

更新系统

yum update -y

添加 epel 源

yum install -y epel-release

安装常见工具

yum install -y tmux vim dstat lsof htop tree jq rsync

配置

时区

ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

时间自动更新:

yum install ntp -y
systemctl enable ntpd
systemctl start ntpd