一江春水向東流

          做一個(gè)有思想的人,期待與每一位熱愛(ài)思考的人交流,您的關(guān)注是對(duì)我最大的支持。

            BlogJava :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            44 隨筆 :: 139 文章 :: 81 評(píng)論 :: 0 Trackbacks
          重啟網(wǎng)卡
          # /etc/init.d/network restart

          配置網(wǎng)卡
          # ifconfig eth0 10.8.0.9 netmask 255.255.255.0

          linux下添加默認(rèn)網(wǎng)關(guān)
          # /etc/sysconfig/network-scripts/ifcfg-eth0
          # /etc/init.d/network restart

          重啟eth0
          ifconfig eth0 down/up

          ipaddr add 192.168.1.1/24 edv eth0??? 添加192.168.1.1/24到eth0網(wǎng)卡

          改DNS
          more??? /etc/resolv.conf

          關(guān)閉iptables
          /etc/rc.d/init.d/iptables stop

          修改啟動(dòng)等級(jí)
          /etc/inittab
          posted on 2008-03-22 15:26 allic 閱讀(291) 評(píng)論(0)  編輯  收藏 所屬分類: LINUX配置,shell
          主站蜘蛛池模板: 林州市| 成武县| 彰武县| 庐江县| 张家界市| 道孚县| 明星| 祁门县| 丽江市| 务川| 蒲城县| 正定县| 甘孜| 岐山县| 治县。| 绍兴县| 衡东县| 亳州市| 公主岭市| 江都市| 天峻县| 兴海县| 石阡县| 盘锦市| 岚皋县| 长乐市| 江达县| 仙居县| 金塔县| 上饶市| 赤水市| 双江| 勃利县| 无棣县| 揭东县| 营山县| 堆龙德庆县| 中西区| 洪泽县| 禄劝| 阳高县|