12 2021 档案
摘要:vim /etc/profile ##添加以下内容到末尾export HISTTIMEFORMAT="[%Y-%m-%d %H:%M:%S] [`who am i 2>/dev/null| awk '{print $NF}'|sed -e 's/[()]//g'`] " export PROMPT_
阅读全文
摘要:服务端配置 安装ntp服务 yum -y install ntp 修改配置文件 vim /etc/ntp.conf #添加可访问网段 restrict 10.9.103.0 mask 255.255.255.0 nomodify notrap #添加本地作为时间服务器供其他服务器同步 server
阅读全文