## 系统名称
查看系统名称
```
hostnamectl
```
修改系统名称
```
hostnamectl set-hostname centos701
```
## 系统时间
查看系统时间
```
timedatectl
```
查看系统时区
```
timedatectl list-timezones
timedatectl list-timezones | grep -i asia
timedatectl list-timezones | grep -i shanghai
```
设置系统时区
```
timedatectl set-timezone Asia/Shanghai
```
## 时间服务
chrony(CentOS 7)
```
yum info chrony
yum install chrony -y
systemctl start chronyd
systemctl enable chronyd
systemctl status chronyd
```
ntp(CentOS 6)
```
chkconfig ntpd on
chkconfig | grep ntpd
service ntpd start
service ntpd status
```