linux centos7 安裝ntp服務並啓動,設置開機重啓

yum list |grep ntpd
yum -y install ntp
systemctl start ntpd
systemctl status ntpd
systemctl enable ntpd
systemctl list-unit-files|grep ntpd

yum確認是否安裝
yum安裝
啓動ntpd服務
查看狀態
設置開機啓動
查看是否設置開機啓動

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章