华为云-CentOS7.5模板搭建部署

配置 yum

curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.myhuaweicloud.com/repo/CentOS-Base-7.repo
配置跳板机的 yum 源

安装工具包

yum -y install net-tools lftp rsync psmisc vim bash-completion lrzsz

优化系统服务

systemctl stop postfix ntpd
yum remove postfix ntp
yum install -y chrony

配置时间同步

vim /etc/chrony.conf
server ntp.myhuaweicloud.com iburst

systemctl enable chronyd
systemctl start chronyd

你可能感兴趣的:(博客)