默认情况下,我们买服务器都会给我们5个以上的ip,一般主机都对应一个主ip,如果想把4个剩余ip加到主机上,需要手动配置,具体操作是打开vim /etc/network/interfaces默认是auto loiface lo inet loopbackauto eth0iface eth0 ine...
分类:
系统相关 时间:
2015-07-31 12:54:30
阅读次数:
190
TheUIViewclass defines a rectangular area on the screen and the interfaces for managing the content in that area. At runtime, a view object handles th...
分类:
其他好文 时间:
2015-07-30 16:35:08
阅读次数:
141
代理了MaBatis Generator自动生成的Mapper的类
package com.aliapp.wxxd.material.service;
import interfaces.EntityWrapperInterface;
import java.util.List;
import org.springframework.beans.factory.annotation.Aut...
分类:
编程语言 时间:
2015-07-30 15:00:20
阅读次数:
156
Single-Area OSPF Link Costs and Interface PrioritiesTopologyObjectives:Configure single-area OSPF on a router. Advertise loopback interfaces in to OSP...
分类:
其他好文 时间:
2015-07-30 10:53:07
阅读次数:
108
虽然Linux发行版支持各种各样的GUI(graphical user interfaces),但在某些情况下,Linux的命令行接口(bash)仍然是简单快速的。Bash和 Linux Shell 需要输入命令来完成任务,因而被称为命令行接口。命令是计算机执行任务的指令。可以使用命令去关闭计算机,或者列出当前目录的文件列表,或当前文本的内容,或者屏幕显示一条消息。如果你是一个新手,并尝试使用命令...
分类:
系统相关 时间:
2015-07-27 09:32:40
阅读次数:
209
Facade Pattern
Provide a unified interface to a set of interfaces in a subsystem.Facade defines a higher-level interface that makes the
subsystem easier to use.(要求一个子系统的外部与其内部的通信必须通过一个统一的对象进行,门...
分类:
其他好文 时间:
2015-07-25 15:19:16
阅读次数:
98
lsusb 查看usb网卡
搜索周围的无线网: sudo iwlist wlan0 scan
/etc/network/interfaces 配置文件路径
将配置文件更改为以下文件 注意 ssid名和密码 都要加引号!!!
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allo...
分类:
其他好文 时间:
2015-07-24 13:00:28
阅读次数:
171
1.确保VMware DHCP Service和VMware NAT Service两个服务都开启了。
2.sudo vim /etc/network/interfaces,添加内容如下:
auto eth0
iface eth0 inet dhcp
3.sudo ifdown eth0
sudo ifup eth0
发现eth0成功分配了地址。
4.ping...
分类:
系统相关 时间:
2015-07-22 10:39:53
阅读次数:
183
基本上按照这个教程做(实际上这个教程是翻译自这里),期间出现过两个问题:磁盘空间不够Preparing network interfaces时出错。均解决环境:ubuntu12.041 . 准备工具:VirtualBoxVagrant我所采用的版本为:VirtualBox v4.3.2 , Vagr...
分类:
其他好文 时间:
2015-07-22 09:12:33
阅读次数:
134
先安装uml-utilities,该工具包含建立虚拟网络设备(所谓的“TAP interfaces”)的工具: sudo apt-get install uml-utilities 安装 桥接工具 bridge-utils #sudo apt-get install bridge-utils#...
分类:
系统相关 时间:
2015-07-21 10:27:30
阅读次数:
230