
linux
zsw2zkl
这个作者很懒,什么都没留下…
展开
-
Linux小知识
1.查ip ifconfig 2. 以Red Hat Enterprise Linux 5.2为例 1、最常用的给网卡配置ip的命令为 #ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up 说明: eth0是第一个网卡,其他依次为eth1,eth* 192.168.0.1是给网卡配置的第一个网卡配置的ip地址 netmask 255原创 2012-07-10 14:37:50 · 458 阅读 · 0 评论 -
ubuntu12.04固定IP和修改启动级别
1固定IP 在etc下中的network中的interfaces 修改为 auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.226.133 netmask 255.255.255.0 network 192.168.226.0 broadcast 192.168.226.255原创 2012-10-30 17:46:35 · 2030 阅读 · 0 评论