ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Debian

DELL·þÎñÆ÷DEBIAN°²×°

·¢²¼Ê±¼ä:2008-01-09 00:33:49À´Ô´:ºìÁª×÷Õß:mpuPosi
Ò».×¼±¸¹¤×÷
¿ª»úºó°´CTRL+EÅäÖÃBIOS
Ñ¡Ôñvirtual media configuration
½«virtual media attected ¸ü¸ÄΪ detected
×¢:ϵͳÆô¶¯ºó»á½«DISKʶ±ðΪUSBÒƶ¯É豸,ÉÏÊö·½·¨¿ÉÒÔ½â¾öÕâ¸öÎÊÌâ

¶þ.¿ªÊ¼°²×°DEBIAN´ó¸Å²½Öè
1.Ñ¡ÔñÓïÑÔ->µØÇø->ÅäÖÃÍøÂçÔÝ¿ÉÏÈÌø¹ý
2.ÒòΪÍøÂ粻ͨ,µ½ÊÇ·ñ¾µÏñʱѡÔñ·ñ
3.ÅäÖÃROOTÃÜÂëºÍÐÂÓû§ÕʺſÚÁî
4.°²×°Íê³ÉÖØÆôºó½øÈëϵͳ,ʹÓÃrootµÇ¼ϵͳ

Èý.ÅäÖÃÍøÂç
1.²é¿´Íø¿¨¹¤×÷״̬
# mii-tool
eth0: negotiated 100baseTx-FD, link ok
eth1: negotiated 100baseTx-FD, link ok
eth2: no link
eth3: no link
ÁбíÏÔʾeth0ºÍeth1¹¤×÷Õý³£

2.ÐÞ¸ÄÍøÂçÅäÖÃÎļþ,Ìí¼Ó¾²Ì¬IPµØÖ·
# vi /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.15.163
netmask 255.255.255.0
gateway 192.168.15.1
auto eth1
iface eth1 inet static
address 192.168.16.117
netmask 255.255.255.0
gateway 192.168.16.1

3.ÖØÆôÍøÂçÖ´ÐÐÁ½´Î,ÍøÂçÅäÖü´¿ÉÉúЧ
# /etc/init.d/networking restart

4.ÖØÆôÍø¿¨
# ifdown eth0
# ifup eth0

# ifdown eth1
# ifup eth1

5.²é¿´IP,¼ì²âÍøÂçÊÇ·ñÅäͨ
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:8B:33:7C:0F
inet addr:192.168.15.163 Bcast:192.168.15.255 Mask:255.255.255.0
inet6 addr: fe80::218:8bff:fe33:7c0f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:267284 errors:0 dropped:0 overruns:0 frame:0
TX packets:167939 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:131509974 (125.4 MiB) TX bytes:15676680 (14.9 MiB)
Interrupt:169 Memory:f4000000-f4011100

eth1 Link encap:Ethernet HWaddr 00:18:8B:33:7C:0D
inet addr:192.168.16.117 Bcast:192.168.16.255 Mask:255.255.255.0
inet6 addr: fe80::218:8bff:fe33:7c0d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:197202 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:184430172 (175.8 MiB) TX bytes:4036 (3.9 KiB)
Interrupt:169 Memory:f8000000-f8011100

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:105 errors:0 dropped:0 overruns:0 frame:0
TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8808 (8.6 KiB) TX bytes:8808 (8.6 KiB)

# ping 192.168.15.2
PING 192.168.15.2 (192.168.15.2) 56(84) bytes of data.
64 bytes from 192.168.15.2: icmp_seq=1 ttl=128 time=3.22 ms
64 bytes from 192.168.15.2: icmp_seq=2 ttl=128 time=0.435 ms
64 bytes from 192.168.15.2: icmp_seq=3 ttl=128 time=0.429 ms

--- 192.168.15.2 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5002ms
rtt min/avg/max/mdev = 0.402/0.886/3.223/1.045 ms

6.ÅäÖÃDNS
# vi etc/resolv.conf
nameserver 202.xxx.xxx.xxx

ÖØÆôÍøÂç
# etc/init.d/networking restart
wget²âÊÔ¿ÉÒÔ³öÈ¥¾ÍOKÁË

ËÄ.°²×°SSH
# apt-get install openssh-server

¼ì²âSSHÊÇ·ñ°²×°³É¹¦
root 2514 1 0 Jan03 ? 00:00:00 /usr/sbin/sshd

ÏÖÔÚÎÒÃÇ¿ÉÒÔÔ¶³ÌÁ¬½Ó·þÎñÆ÷ÁË¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ