一、简单检查:1、简单检查:使用ICMP协议或者TCP协议进行检查某个服务或者设备的存活。2、关闭zabbix-agent.service模拟测试,1、SMTP检查:安装postfix检查SMTP服务。[root@localhost~]#vim/etc/postfix/main.cf//邮件传输代理软件inet_interfaces=192.168.1.60mydestination=$myhos
分类:
其他好文 时间:
2020-11-24 12:26:39
阅读次数:
7
给树莓派设置静态IP原因 DHCP自动分配的IP来回变动,导致远程连接无法实现 可以提高联网速度 网上大多数方法都是修改 /etc/network/interfaces 配置文件,增加静态IP的设定。但是在树莓派上通过修改 interfaces 设置静态IP的方法,并不完美,即便取得了静态IP,DH ...
分类:
其他好文 时间:
2020-10-05 22:18:20
阅读次数:
28
Spring JPA 定义接口 翻译:Defining Repository Interfaces ? 首先,定义一个特定的实体类的存储库接口,这个接口必须继承自Repository并且绑定对应的实体类和主键ID类型。如果想要引用并使用该实体类的CRUD方法,要继承CrudRepository而不是 ...
分类:
编程语言 时间:
2020-09-11 15:46:53
阅读次数:
41
一、修改网络配置文件 #vim /etc/network/interfaces auto loiface lo inet loopback auto ens33iface ens33 inet manualauto br0iface br0 inet dhcp bridge_stp off brid ...
分类:
系统相关 时间:
2020-07-28 10:00:49
阅读次数:
104
ReactJs as a JavaScript library created by Facebook that lets us build dynamic user interfaces. What this dynamic user interface even means is that we ...
分类:
Web程序 时间:
2020-07-21 09:48:32
阅读次数:
76
1、设置IP地址、网关nano/etc/network/interfaces/etc/network/interfacesbak#备份原有配置文件nano/etc/network/interfaces#编辑网网卡配置文件autoloifaceloinetloopbackautoeth0#开机自动连接网络ifaceeth0inetstatic#static表示使用固定ip,dhcp表述使用动态ipa
分类:
系统相关 时间:
2020-07-10 09:21:22
阅读次数:
79
1、接口类中的Q_DECLARE_INTERFACE 此宏将当前这个接口类声明为接口,后面的一长串就是这个接口的唯一标识。 2、实现类中的Q_INTERFACES 此宏与Q_DECLARE_INTERFACE宏配合使用。 Q_DECLARE_INTERFACE:声明一个接口类 Q_INTERFACE ...
分类:
其他好文 时间:
2020-07-03 12:11:50
阅读次数:
62
JVM class文件格式 魔法数 CAFE BABE 编译器版本号 Constant count Constant pool access flag this class super class interface count interfaces field count fields metho ...
分类:
其他好文 时间:
2020-07-01 20:22:12
阅读次数:
65
###这里最先要完成的是对网卡的配置(os ubuntu14.04) 目的是实现vm上是以桥接的方式联网 修改/etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo ine ...
分类:
其他好文 时间:
2020-06-21 18:02:42
阅读次数:
87
Ubuntu16.04设置静态IP或动态ip(DHCP) 设置静态IP 1,vim编辑/etc/network/interfaces 网络配置文件 sudo vim /etc/network/interfaces 2,码添加以下代码 auto ens33 iface ens33 inet stati ...
分类:
系统相关 时间:
2020-06-15 21:14:56
阅读次数:
165