服务查看启动
服务启动、停止和重启
service xxx start
service xxx stop
service xxx restart
服务状态查看
systemctl status xxx
当然也可以用systemctl 对服务启动、停止和启动
systemctl start xxx
systemctl stop xxx
systemctl restart xxx
服务启动、停止和重启
service xxx start
service xxx stop
service xxx restart
服务状态查看
systemctl status xxx
当然也可以用systemctl 对服务启动、停止和启动
systemctl start xxx
systemctl stop xxx
systemctl restart xxx
在日常众多的虚拟机使用中,VMware的使用还是简单粗暴的。但是个人觉得有点重了,这都是题外话。当我们建立好我们的虚拟主机时,可能会遇见没有网络。网络模式常见的:桥接模式和NAT模式桥接模式很好理解就是跟宿主主机一样的网络情况。NAT模式比...
原因是因为zabbix没有支持中文的字体,在win找到一个中文字体文件名是:simkai.ttf把这个文件复制到服务器的/usr/share/zabbix/fonts 路径下然后修改zabbix的配置文件vim /us...
yum install -y epel-release#添加一个epel的三方源,据说新大全在执行yum install ***...
curPath=$(readlink -f "$(dirname "$0")") echo $curPath #或者 curPath=$(dirname $(readli...
查看命令运行的实时结果watch "ls |wc -l" 能够实时的监控命令执行的结果,不过刷新时间有点长,大概2秒,可以修改为1秒iftop查看出入网流量情况nload实时查看出入网流量情况fre...
vim /usr/lib/systemd/system/*.service修改了server的配置需要执行一下systemctl daemon-reload让系统重新加载以下配置,尤其是server中的配置地址更换了分区...