conupefox / conupefox.github.io

0 stars 0 forks source link

CentOS7开局配置记录 | D2O | 重水 #3

Open conupefox opened 3 years ago

conupefox commented 3 years ago

https://blog.d2okkk.net/201709/centos-init/#more

记录一下我自己用的CentOS 7的开局配置。 查看CentOS版本,修改主机名、修改时区、升级到最新发行版 12345cat /etc/redhat-release hostnamectl --static set-hostname D2O-VPSrm -f /etc/localtimeln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtimey