更改 /etc/issue,因为 reboot 后重新加载,所以编辑 /ect/rc.d/rc.local # This will overwrite /etc/issue at every boot. So, make any changes you # want to make to /etc/issue here or you will lose them when you reboot. #echo "" > /etc/issue #echo "$R" >> /etc/issue #echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue # #cp -f /etc/issue /etc/issue.net #echo >> /etc/issue 把以上行前的 "#" 去掉
Apache 不回显版本: apache 的配置文件,找到 ServerTokens 和 ServerSignature 两个 directive,修改默认属性: #ServerTokens Full ServerTokens Prod <---------- #ServerSignature On ServerSignature Off <----------