???????????????TUTK?汾??????????????
?????????????linux?????????????????????????Щ?????????????????.????д???????????Щ????.
???????????????????IP?????????????(???????????????????????)
??????????????????????????????????????????????
????[root@localhost root]#
?????????е?localhost?????????.??????????????????hostname
???????????
????uname –a
??????????????汾(????????ù?redhat???????????????)
????cat /etc/redhat-release
?????????????????
????ifconfig
??????????????
????eth0      Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX
????inet addr:10.1.3.101 Bcast:10.1.3.255 Mask:255.255.255.0
????……
????eth1      Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX
????inet addr:10.1.2.101 Bcast:10.1.2.255 Mask:255.255.255.0
????……..
????lo        Link encap:Local Loopback
????inet addr:127.0.0.1 Mask:255.0.0.0
????UP LOOPBACK RUNNING MTU:16436 Metric:1
????…….
????????????????????:eth0??eth1??lo;????lo??ip??127.0.0.1???????????????????.
?????????????????????????????????????????????
??????eth0
???????less /etc/sysconfig/network-scripts/ifcfg-eth0
??????????????
????DEVICE=eth0        ?豸????
????HWADDR=00:XX:XX:XX:XX:XX              ??????
????ONBOOT=yes
????TYPE=Ethernet
????BOOTPROTO=none
????IPADDR=10.1.3.101     ip???
????GATEWAY=10.1.3.1      ????
????NETMASK=255.255.255.0   ????
??????eth1
???????less /etc/sysconfig/network-scripts/ifcfg-eth1??????????????????.
????????????????
????chkconfig –list
???????????????
????netstat –an
?????????????
????fdisk –l
????df –h
??????cpu?????
????cat /proc/cpuinfo
????????????
????cat /proc/meminfo
???????忨???
????lspci
????cat /proc/pci
??????????????????
????ps –aux
????top (??????windows???????????????????????cpu????????????)
????????????Щ???????
????????????/usr/local/?£????????????????????????м???
????????????????????????????????汾?????????г???????????????汾??????
????PHP:??????bin??????? ./php –v
????MySQL:??????bin??????? ./mysql –V    (??????V???д)
????Apache:??????bin???????./apachectl -v