1. 切换中文
# 安装 中文
sudo yum install -y langpacks-zh_CN
# 设置 中文
localectl set-locale LANG=zh_CN.utf8
# 刷新配置
source /etc/locale.conf
2. 设置 时区
# 列出所有 支持 的时区
timedatectl list-timezones
# 设置 需要的时区 (例子:上海) Asia/Shanghai
timedatectl set-timezone Asia/Shanghai
3. 内网服务器 cockpit
# 下载 安装 cockpit
sudo yum install cockpit
# 启动 cockpit
systemctl enable --now cockpit.socket
# 添加 防火墙 通过
firewall-cmd --add-service=cockpit --permanent
firewall-cmd --reload
# 查看 状态
systemctl status cockpit.socket
# 添加 开机 自启
1. systemctl enable cockpit
方法 1 报错 则使用如下方法
cd cd /usr/lib/systemd/system
vim cockpit.service
在最后 添加 如下 代码
[Install]
WantedBy=sockets.target
重启
reboot
管理页面地址
https://$[你的服务器IP]:9090