dhcp错误,日志如下an202:31:33lylinuxdhcpd:Nosubnetdeclarationforeth0(192.168.88.128).Jan202:31:33lylinuxdhcpd:**Ignoringrequestsoneth0.IfthisisnotwhatJan202:31:33lylinuxdhcpd:youwant,pleasewriteasubnetdeclarationJan202:31:33lylinuxdhcpd:inyourdhcpd.conffile..
分类:
其他好文 时间:
2017-02-08 00:14:11
阅读次数:
153
时间:2017-1-4 22:33 ——动态代理(Proxy)概述1、只学一个方法: Proxy proxy = newProxyInstance(ClassLoader loader, Class<?>[] interfaces, InvocationHandler h) 2、方法的作用: 在运行 ...
分类:
其他好文 时间:
2017-02-07 18:54:51
阅读次数:
200
装完ubuntu 第一件事情就是连上网,换个源,进行更新操作,但前提条件是要配好ip和dns。 下面把自己配置的过程记录下来,权且当作一份备份,以便不时之需。 一、配置ip ubuntu的网络配置信息放在 /etc/network/interfaces 中, 操作: sudo vim /etc/ne ...
分类:
系统相关 时间:
2017-02-07 13:39:39
阅读次数:
247
在用管理员执行一个命令后,我用Ctrl+Z把命令转移到了后台天。导致我无法退出root的。输入命令:logout终端显示:There are stopped jobs.解决方法:输入命令:jobs终端显示:[1]+ Stopped vim /etc/network/interfaces > /hom ...
分类:
系统相关 时间:
2017-02-07 11:56:11
阅读次数:
175
虚拟机上静态地址配置方法 虚拟机要与其他东西进行连接时,由于IP地址总会变动,故设置为静态地址。 方法如下,留作备用。 1. 确保虚拟机网络连接方式是桥接模式 2.启动Ubuntu虚拟机,修改/etc/network/interfaces 网络接口文件,配置ip、掩码、网关等信息: 1 auto l ...
分类:
其他好文 时间:
2017-01-26 20:35:22
阅读次数:
204
“interfaces”文件中还有很多其他的设置项,如需要了解更多的信息,可以使用man命令查询“interfaces”文件的手册页。 #man interfaces 其中eth0指本机以太网卡一,类似的,eth1指本机的以太网卡2。一般一台电脑只有一个eth0。网卡的设备名/dev/eth0 和硬 ...
分类:
其他好文 时间:
2017-01-24 14:40:44
阅读次数:
186
门面模式的定义 门面模式(Facade Pattern)也叫做外观模式,是一种比较常用的封装模式,其定义如 下: Provide a unified interface to a set of interfaces in a subsystem.Facade defines a higher-lev ...
分类:
其他好文 时间:
2017-01-18 00:43:21
阅读次数:
207
编辑配置文件: #sudo vim /etc/network/interfaces #sudo vim /etc/network/interfaces auto ens33 #没有这句网卡不能启动 iface ens33 inet static address 192.168.100.16 netm ...
分类:
系统相关 时间:
2017-01-08 22:33:00
阅读次数:
213
I passionately enjoy working with commands as they offer more control over a Linux system than GUIs(Graphical User Interfaces) applications, therefore ...
进行虚拟机的软拷贝和硬拷贝,或直接从一台机器上拷贝虚拟机硬盘文件到另一台机子的虚拟机上时,发现通过修改/etc/network/interfaces配置的IP没用,输入ifconfig,发现根本就没有eth0.其原因是udev搞的鬼,udev在/etc/udev/rules.d/下面搞了一个持久命名 ...
分类:
其他好文 时间:
2017-01-08 10:42:11
阅读次数:
137