本空间主要是关于php的相关内容,其中有很多都来自网络资源,版权归原作者所有!!!
  • debian配置

    2008-03-28 22:39:41

    step 1:configure the timezone

    ln -sf /usr/share/zoneinfo/Asia/ChongQing /etc/localtime

    install software of ntpdate

    so use ntpdate then time is right

    step 2:install tcpdump and ethtool

    They r tools of capture the packages of the protocals,and r very useful for administrators

    step 3:configure the route

    There are two methods of changing the route

    first,change the file of /etc/sysctl.conf ,in the file ,there is a option of net.ipv4.conf.default.forwarding and set it net.ipv4.conf.default.forwarding=off

    second,echo "1" >/proc/sys/net/ipv4/in_forward

    0 means shutdown

    1 means up

    step 4 :In order to increase the speed of network ,shutdown the service of ipv6.

    step (1):lsmod the commadn of lsmod  is  used to check the status of ipv6

    change the file of host

    /etc/hosts

    comment the all the  option of ipv6

    configure the NIC .because in the host there r two NIC ,so it must configure two ip for it .but how ,,,ifconfig,,,the answer is NO,WHAT???

    look this :

    configure the file of /etc/nework/interfaces

    cp the file ,and delete the gw just configure the ip ,mask

     

     

Open Toolbar