Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

³£ÓõÄLinuxÃüÁî

1.²é¿´ÏµÍ³ÄÚºË
#uname -a
2.²é¿´cpuÐÅÏ¢
#cat /proc/cpuinfo
3.²é¿´ÄÚ´æʹÓÃÇé¿ö
#free -m
4.²é¿´Ó²ÅÌÊ£Óà¿Õ¼ä
#df -h
5.²é¿´Ä¿Â¼Õ¼Óÿռä
#du -hs Ŀ¼Ãû
6.²é¿´µ±Ç°ÓÐÄÄЩ½ø³Ì
#ps -A
7.²é¿´µ±Ç°½ø³ÌµÄʵʱÇé¿ö
#top
8.²é¿´½ø³Ì´ò¿ªµÄÎļþ
#lsof -p
9.²é¿´Ä³¸öÎļþ±»ÄÄЩӦÓóÌÐò¶Áд
#lsof ÎļþÃû
10.²é¿´µ±Ç°¼àÌý80¶Ë¿ÚµÄ³ÌÐò
#lsof -n -i :80
11.¿ìËÙ²éÕÒij¸öÎļþ
#whereis filename
12.ÏÔʾxxxÎļþµ¹Êý6ÐеÄÄÚÈÝ
#tail -n 6 xxx
13.²éÕÒ°üº¬xxx×Ö·û´®µÄÎļþ
#grep -l -r xxx
14.ͳ¼Æµ±Ç°Îļþ¸öÊý
#ls /usr/bin|wc -w
15.½«±¾µØÎļþ¿½±´µ½·þÎñÆ÷ÉÏ
#scp -rp /path/filename username@remoteIP:/path
16.½«Ô¶³ÌÎļþ´Ó·þÎñÆ÷ÏÂÔص½±¾µØ
#scp -rp username@remoteIP:/path/filename/path
[
Ïêϸ½²½âÏÂscp
Ê×Ïȼì²ésshd·þÎñÊÇ·ñÆô¶¯£º
#ps -aux | grep sshd /usr/sbin/sshd
Èç¹ûûÓÐÆô¶¯£¬Ê¹ÓÃÃüÁîÆô¶¯sshd·þÎñ£º
#service sshd start
È»ºóʹÓÃÒÔÉÏÁ½¸öÃüÁî½øÐд«Ê䣬Èç¹û´«Êäʧ°Ü£¬¼ì²éetc/ssh/sshd_configÎļþÖÐ PermitRootLoginyesrootsshÏîÊÇ·ñΪyes
]
17.²é¿´CPUʹÓÃÇé¿ö
#top|grep CPU
18.²é¿´ÄÚ´æʹÓÃÇé¿ö
#top|grep Mem
19.ͳ¼Æ½ø³ÌÊý
#ps -aux|wc –l
20.²é¿´¹ÒÔØÐÅÏ¢
#mount –l
21.²é¿´locale
#locale
22.²éÕҶ˿ںÅËù¶ÔÓ¦µÄ½ø³ÌºÅ
#netstat –ntlp
23.²é¿´µ±Ç°ÏµÍ³×Ô¶¯Æô¶¯µÄ·þÎñ£¬Æô¶¯×´Ì¬·ÅÔÚ/etc/inittabÎļþÖÐ
#chkconfig –list
1. lnÈíÁ´½ÓºÍÓ²Á´½ÓµÄÇø±ð£ºÈíÁ´½ÓÏ൱ÓÚ¿ì½Ý·½Ê½£¬Ó²Á´½ÓÕ¼´ÅÅÌ¿Õ¼ä´óСÓëÔ­ÎļþÏàͬ
2. suÓësu-µÄÇø±ð£ºsu-¼Ì³ÐÁËrootµÄϵͳ±äÁ¿£¬su²»¼Ì³Ð
3. ext2Óëtxt3Çø±ð£ºext2ÎÞÈÕÖ¾¹¦ÄÜ£¬±ÀÀ£ºóÖØÐÂÆô¶¯Âý
4. GRUBÓëLILOµÄÇø±ð£ºLILOµÄ/boot·ÖÇø²»ÄÜ·ÖÔÚ³¬¹ý1024ÖùÃæµÄµØ·½£¬´óÔ¼ÊÇÔÚ8.4G×óÓҵĵط½
5. GRUBµÄÆô¶¯ÅäÖÃÎļþ£º/boot/grub/menu.lst
6. ÍøÂçÅäÖÃĿ¼ /etc/sysconfig/network
7. Íø¿¨ÅäÖÃÎļþ ifcfg-1o
8. DNSÎļþ /etc/resolv.conf
9. hostÎļþ /etc/hosts
10. ·þÎñÎļþ /etc/service
11.RHELÏà¹Ø£º
°ü¹ÜÀíÆ÷£ºsystem-config-packages
Ô¶³Ì°²×°£ºlinux vnc vncpassword=faint123
Ô¶³Ì¹Ø±Õ·À»ðǽ£ºsetup
------------------------------------------------
ÕÒ³öÓû§¼°ÆäϵͳµÄÃû×Ö
[root@localhost ~]# whoami  &nbs


Ïà¹ØÎĵµ£º

ÔÚlinuxÏÂʵÏÖweb qqµÄ×ÀÃ滯


´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ­°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......

LinuxÏÂglftpd´î½¨FTP·þÎñÆ÷


 Ò»¡¢Ç°ÑÔ
    Linux ÉÏÓкò»ÉÙÈí¼þÄܹ»´î½¨ FTP£¬ÀýÈç vsftpd¡¢glftpd¡¢proftpd µÈ¡£
    vsftpd ÊÇºÍ Linux ϵͳÉÏÓû§¹ÜÀíÒ»ÑùµÄ¡£ËùÓеÄÓû§¹ÜÀí¶¼ÊÇÔÚÏÖÓÐËÞÖ÷ϵͳÉϵÄÓû§ÒÔ¼°×é¹ÜÀíÏàͬ¡£ÎļþȨÏÞÉϵĹÜÀíÒ²ÊÇºÍ Linux һģһÑù¡£ÔڴÉϱȽϿ죬¼òµ¥·½±ã¡£
   ......

Linux/Unix WebÓ¦Ó÷þÎñÆ÷°²×°ÅäÖÃ

      ¸ù¾Ý¹¤×÷»·¾³µÄÐèÇó£¬ÐèÒªÕÆÎÕLinux/Unix»·¾³Ï½øÐÐÈí¼þ°²×°Î¬»¤ÒÔ¼°Ïà¹ØÅäÖõȼ¼ÄÜ¡£ÕâÀォÎÒµÄʹÓÃÐĵüǼÏÂÀ´¸ú´ó¼Ò·ÖÏíһϡ£ÉÏһƪÖ÷Òª½²½âÁËÊý¾Ý¿âµÄ°²×°(postgresql)¡£ÏÖÔÚ¾ÍWebÓ¦Ó÷þÎñÆ÷[Apache]µÄ°²×°½øÐн²½â(×¢£ºÒÔÉÏ°²×°¾ùÒÔÔ´´úÂ뷽ʽ½øÐа²×°)¡£ÒÔÏÂʹÓõÄLinuxϵͳÊÇ°²×°Ô ......

Linux¿éÉ豸Çý¶¯(2) ¿éÇý¶¯ÖÐÏà¹ØÏà¹ØÄ£¿éÄ£°å


1.¿éÉ豸Çý¶¯µÄÄ£¿é¼ÓÔØÓëжÔØ
1)¿éÉ豸Çý¶¯µÄÄ£¿é¼ÓÔØÍê³ÉµÄ¹¤×÷ÈçÏÂ:
Ø ·ÖÅä,³õʼ»¯ÇëÇó¶ÓÁÐ,°ó¶¨ÇëÇó¶ÓÁкÍÇëÇóº¯Êý
Ø ·ÖÅä,³õʼ»¯gendisk,¸øgendiskµÄmajor,fops,queueµÈ³ÉÔ±¸³Öµ,×îºóÌí¼Ógendisk.
Ø ×¢²á¿éÉ豸Çý¶¯.
´úÂë1:ʹÓÃblk_alloc_queueº¯ÊýÍê³É¿éÉ豸Çý¶¯µÄÄ£¿é¼Ó ......

8¸ö¹¤×÷ʹÓöøÓÐȤµÄlinux½Å±¾

http://club.topsage.com/thread-1201128-1-1.html
ºÜ¶àÈ˶¼¶Ô¹ýÃüÁîÐÐÌáʾµÄÖØÒªÐÔ²»Ð¼Ò»¹Ë£¬ÉõÖÁÊÇÒ»µã¶¼²»¹ØÐÄ¡£µ«ÊÇÎÒÈ´Ò»µã¶¼²»ÕâôÈÏΪ£¬Ò»¸öºÃµÄÃüÁîÐÐÌáʾ¿ÉÒԸıäÄãʹÓÃÃüÁîµÄ·½Ê½¡£Îª´Ë£¬ÎÒÔÚinternetÉÏÕÒµ½Ò»Ð©·Ç³£ÊµÓã¬ÓÅÐ㣬²¢ÓÐȤµÄbashµÄÃüÁîÐÐÌáʾ¡£ÏÂÃæÎÒ½«ÎÒ×îϲ»¶Ê¹ÓõÄһЩÃüÁîÐÐÌáʾÂÞÁÐÈçÏ¡£
¡¡¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ