设置linux时间自动同步世界标准时间
因为主机时间没有自动同步有9.8s的误差。导致了出现负时间的问题
首先手动校准时间
ntpdate cn.pool.ntp.org
开启时间自动更新服务
systemctl start ntpd
查看服务状态
systemctl status ntpd
设置开机自启
systemctl enable ntpd
因为主机时间没有自动同步有9.8s的误差。导致了出现负时间的问题
首先手动校准时间
ntpdate cn.pool.ntp.org
开启时间自动更新服务
systemctl start ntpd
查看服务状态
systemctl status ntpd
设置开机自启
systemctl enable ntpd
python ssh登录服务器In this tutorial, you will learn how to carry out basic configurations on a server with Telnet and SSH co...
在日常众多的虚拟机使用中,VMware的使用还是简单粗暴的。但是个人觉得有点重了,这都是题外话。当我们建立好我们的虚拟主机时,可能会遇见没有网络。网络模式常见的:桥接模式和NAT模式桥接模式很好理解就是跟宿主主机一样的网络情况。NAT模式比...
准备工作一台服务器:Ubuntu Server 16.04.1 LTS 64位安装RabbitMq可以参照RabbitMq官网的安装教程(Installing on Debian and Ubuntu),来进行安装。这里我们使用apt-ge...
背景:公司因项目开发需要购置了两台主机。因为配置网络的大哥又是不在公司,但是又着急使用新主机。(旧的已经卡成狗腿了)急需解决问题,首先电脑刚插入网线又问题,不亮。只有一个网卡亮但是并不是Internet的网卡。其他四个网卡插入均不亮。换个网...
ubuntu:rm /etc/localtimeln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtimecentos echo "A...
curPath=$(readlink -f "$(dirname "$0")") echo $curPath #或者 curPath=$(dirname $(readli...