摘要: 服务器DNS配置 直接上效果和步骤 阅读全文
posted @ 2020-07-13 15:38 Security 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 服务器系统配置初始化脚本 #/bin/bash # 设置时区并同步时间 ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime if ! crontab -l |grep ntpdate &>/dev/null ; then (echo "* 1 * * * ntpdat 阅读全文
posted @ 2020-07-13 14:54 Security 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 系统巡检用到的参数 系统巡检: Linux CentOS、Ubuntu #查看CPU核数 cat /proc/cpuinfo | grep "cpu cores" | uniq | awk -F ' ' '{print $4}' #查看CPU个数 cat /proc/cpuinfo | grep "physical i 阅读全文
posted @ 2020-07-13 14:53 Security 阅读(226) 评论(0) 推荐(0) 编辑
小布的个人空间 京ICP备2023021324号-1