要设置 IP 和 DNS 解析服务器,编辑 /etc/network/interfaces:# interfaces(5) file used by ifup(8) and ifdown(8)auto loiface lo inet loopbackauto eth0iface eth0 inet ...
分类:
其他好文 时间:
2014-08-09 21:05:49
阅读次数:
227
vim /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0 #描述网卡对应的设备别名,例如ifcfg-eth0的文件中它为eth0BOOTPROTO=static #设置网卡获得ip地址的方式,可能的选项为static,dhcp或bootp,分别...
分类:
其他好文 时间:
2014-08-09 18:16:19
阅读次数:
184
1, 在本地安装的Oracle中找到目录oracle\product\11.2.0\dbhome_1\network\admin, 它下面一般有两个文件可以进行编辑tnsnames.ora listener.ora ,一般只要配置tnsnames.ora即可. 配置内容如下面的方式.# tnsna....
分类:
数据库 时间:
2014-08-09 13:13:47
阅读次数:
211
问题描述:ifconfig命令无法找到eth0设备,且/etc/sysconfig/network-scripts/中只有ifcfg-lo文件,而没有ifcfg-eth0。临时解决方法一:使用命令ifconfigeth0192.168.1.x可以正常设置eth0的IP,该方法仅为临时处理办法,系统重启后即失效了。永久解决方法二:1、在/etc/sysconf..
分类:
其他好文 时间:
2014-08-09 11:50:58
阅读次数:
181
centos最小好化安装没有ifconfig命令刚安装了centos7.0,最小化安装,发现没有ifconfig命令,虚拟机里面的网卡显示ens32,这是centos7.0的特点,要使用 ifconfig命令,在/etc/sysconfig/network-scripts/if-ens32里面配置好...
分类:
其他好文 时间:
2014-08-09 11:25:17
阅读次数:
271
第一种(立即生效,重启后配置丢失)
ifconfigeth0192.168.0.10netmask255.255.255.0
ifconfigeth0up
第二种(重启后生效,重启电脑,IP不会丢失)
vi/etc/sysconfig/network-scripts/ifcfg-eth0
参考配置文件
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.10
NE..
分类:
系统相关 时间:
2014-08-09 02:44:17
阅读次数:
245
之前在hyper-v中装了openwrt的ATTITUDE ADJUSTMENT (12.09, r36088)这个最新版本 我之前的文章有提到怎么安装 link但是发现用opkg update不能用,说wget不能连到openwrt.org这个网络发现ping也ping不同baidu.com,出现...
分类:
Web程序 时间:
2014-08-08 23:50:56
阅读次数:
408
Command Network
Time Limit: 1000MS
Memory Limit: 131072K
Total Submissions: 12648
Accepted: 3656
Description
After a long lasting war on words, a war on arms fina...
分类:
Web程序 时间:
2014-08-08 18:10:36
阅读次数:
280
!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!Thentpdateprogramisdeprecatedandshouldnotbeusedanymore.Toquotetheupstreamntpdevelopers:(ntpdate程序今后不宜再次使用)(该函数由ntpd模块提供,如果使用-q参数将会修改当前的时间并且根据相关的值进行设置)"Thefunctionalityn..
分类:
其他好文 时间:
2014-08-08 16:27:06
阅读次数:
1108
1.RHEL4多bond配置系统版本:RedHatEnterpriseLinuxASrelease4(NahantUpdate6)网卡数量:4块添加两个bond配置文件(以bond0为例):[root@localhost~]#cd/etc/sysconfig/network-scripts/[root@localhostnetwork-scripts]#cpifcfg-eth0ifcfg-bond0[root@localhostnetwork-scrip..
分类:
其他好文 时间:
2014-08-08 16:20:56
阅读次数:
288