编译软件是使用到make命令,提示make不可用
yum -y install gcc automake autoconf libtool make 安装g++: yum -y install gcc gcc-c++tree命令安装
yum -y install tree时间同步
ntpdate cn.pool.ntp.org
安装ntpdate命令(ntpdate不存在)
yum -y install ntp ntpdate
查看时间
timedatectl
[root@centos01 kafka]# timedatectl
Local time: 日 2020-01-05 00:08:26 CST
Universal time: 六 2020-01-04 16:08:26 UTC
RTC time: 六 2020-01-04 16:08:28
Time zone: Asia/Shanghai (CST, +0800)
NTP enabled: no
NTP synchronized: no #默认为no,表示关闭同步时间,替换为yes则与NTP服务器时间同步
RTC in local TZ: no #默认为no,表示是UTC时间,替换为yes则使用本地时间
DST active: n/a
开启RTC,使用本地时间
timedatectl set-local-rtc yes
开启NTP服务器同步
timedatectl set-ntp no



