摘要:
设置时钟 date MMddhhmmyyyy.ss 例如,date 102110482013.00 #Mon Oct 21 10:48:00 wet 2013 同步到硬件时钟 hwclock -w 查看系统时间 date date -u 阅读全文
posted @ 2019-03-04 17:30
绿Z
阅读(188)
评论(0)
推荐(0)
|
摘要:
设置时钟 date MMddhhmmyyyy.ss 例如,date 102110482013.00 #Mon Oct 21 10:48:00 wet 2013 同步到硬件时钟 hwclock -w 查看系统时间 date date -u 阅读全文
posted @ 2019-03-04 17:30
绿Z
阅读(188)
评论(0)
推荐(0)
摘要:
修改主机名 vi /etc/hosts /etc/rc.d/boot.localnet restart /etc/init.d/network restart /etc/init.d/ncsd restart vi /etc/HOSTNAME 设置网卡地址 ifconfig ifconfig -a 阅读全文
posted @ 2019-03-04 17:29
绿Z
阅读(804)
评论(0)
推荐(0)
摘要:
【修改ssh认证文件路径】 /etc/ssh/sshd_config 修改AuthorizedKeysFile ./ssh/authoried_keys 为 AuthorizedKeysFile /etc/ssh/auth_key/%u/authoried_keys 重启sshd /etc/init 阅读全文
posted @ 2019-03-04 17:27
绿Z
阅读(2975)
评论(0)
推荐(0)
|