Linux 下查看硬盘大小。df -h查看当前文件夹下所有文件大小。du -h --max-depth=1以免忘记,备份下。
用于矫正服务器的时间问题。#设置时间相关#安装ntp服务yum -y install ntp #开机启动服务systemctl enable ntpd #启动服务systemctl start ntpd timedatectl set-timezone Asia/Shanghai //更改时区timedatectl set-ntp yes //启用ntp同步ntpq
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号