## 系統名稱
查看系統名稱
```
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
```