/proc/sys/net/ipv4/* Variables: ip_forward - BOOLEAN 0 - disabled (default) not 0 - enabled Forward Packets between interfaces. This variable is speci ...
分类:
其他好文 时间:
2020-06-15 15:47:48
阅读次数:
69
1、配置静态IP地址: # vim /etc/network/interfaces 原内容有如下4行: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp 以上表示默认使用DHCP分配IP,修改为如下: auto lo ifac... ...
分类:
系统相关 时间:
2020-05-27 18:55:19
阅读次数:
89
ZABBIX服务器添加一台被监控的目标设备,主要信息如下:
> Host name:10.10.10.1
> Visible name:NJ-OA-01-02
> Groups:LNX_APP_OA系统
> Agent interfaces:
> IP 地址:10.10.10.1
> Connect to:IP
> Port:10...
分类:
其他好文 时间:
2020-05-24 10:09:48
阅读次数:
136
所在包: All Implemented Interfaces:Serializable, Comparable<TimeUnit> public enum TimeUnit extends Enum<TimeUnit> A TimeUnit represents time durations at ...
分类:
编程语言 时间:
2020-05-23 20:34:09
阅读次数:
68
1 package test_12_2; 2 3 public interface Game { 4 5 boolean move(); 6 } 1 package test_12_2; 2 3 public interface GameFactory { 4 5 Game getGame(); 6 ...
分类:
编程语言 时间:
2020-05-15 00:34:12
阅读次数:
74
package utils; import javax.crypto.Cipher; import java.security.*; import java.security.interfaces.RSAPrivateKey; import java.security.interfaces.RSAP ...
分类:
其他好文 时间:
2020-05-13 17:00:30
阅读次数:
64
1 package test_3_1; 2 3 public enum Note { 4 5 MIDDLE_C, C_SHARP, B_FLAT; 6 } 1 package test_3_1; 2 3 interface Instrument { 4 5 // 自动static final 6 i ...
分类:
编程语言 时间:
2020-05-06 19:34:54
阅读次数:
71
//获取本地连接ip 掩码 网关 DNS NetworkInterface[] interfaces = NetworkInterface.GetAllNetworkInterfaces(); foreach (NetworkInterface bendi in interfaces) { if ( ...
分类:
其他好文 时间:
2020-05-06 18:07:57
阅读次数:
80
一,引入dll 1.ServiceStack.Common.dll 2.ServiceStack.Interfaces.dll 3.ServiceStack.Redis.dll 4.ServiceStack.Text.dll 二,修改配置文件 在你的配置文件中加入如下的代码: <appSetting ...
分类:
其他好文 时间:
2020-05-05 13:59:47
阅读次数:
52
静态代理就不说了... jdk动态代理 在java中动态代理主要有一个接口InvocationHandler和Proxy 实现InvocationHandler接口的并不是代理类,他主要封装了调用方法,invoke(ClassLoader,Interfaces[],InvocationHandler ...
分类:
其他好文 时间:
2020-04-17 21:51:32
阅读次数:
68