°²×°ubuntu linux²Ù×÷ϵͳ
Ò»¡¢ÏÂÔØubuntu²Ù×÷ϵͳ
http://www.ubuntu.com.cn/
ÎÒÔÚÕâ¸öÍøÕ¾ÏÂÔØubuntu 10.04 LTS°æ±¾µÄ£¬²¢Ð´³É¹âÅ̸ñʽ¡£
¶þ¡¢°²×°ubuntu linux
£¨1£©ÉèÖÃbios´Ó¹âÅÌÒýµ¼
£¨2£©Æô¶¯¼ÆËã»úÖ®ºó»á³öÏÖÒ»¸öinstall´°¿Ú£¬²¢ÏÔʾÁË»¶ÓÐÅÏ¢£¬Ñ¡ÔñÓïÑÔ£ºÖÐÎÄ£¨¼òÌ壩£¬ËûÌṩÁËÊÔÓúͰ²×°Á½¸öÑ¡ÏÎÒÑ¡ÔñÁË“ÊÔÓÃUbuntu 10.04 LTS”¡£
£¨3£©½øÈëÁË×ÀÃæ״̬£¬Ë«»÷“°²×°Ubuntu 10.04 LTS”³öÏÖÁË°²×°½çÃ棬ѡÔñ“Ç°½ø”Ö®ºóϵͳÉèÖÃʱÖÓ£¬ÎÒÕâ¶ùĬÈÏÊÇ“Öйú£¨ÖØÇ죩”£¬Ñ¡Ôñ“Ç°½ø”¡£
£¨4£©¼üÅ̲¼¾ÖµÄÉèÖãºÄ¬ÈÏÊÇUSA£¬ÎÒûÓÐ×öÈκθı䣬ѡÔñ“Ç°½ø”¡£
£¨5£©·ÖÇø£º
Ñ¡Ôñ“ÊÖ¶¯Ö¸¶¨·ÖÇø£¨¸ß¼¶£©”Ö®ºóµ¥»÷“Ç°½ø”¡£Ö®ºó·¢ÏÖÁË/dev/sdaÕâ¿éÓ²ÅÌ£¬Ñ¡Ôñ“н¨·ÖÇø±í”£¬Õâʱ³öÏÖÁË¿ÕÏеÄ80GÓ²ÅÌ¡£Ñ¡Ôñ“Ìí¼Ó”½øÐзÖÇø
Ö÷·ÖÇø£º /boot 100M ext4
À©Õ¹·ÖÇø£º / 10G
/usr 10G
/var 4G
/tmp 4G
swap 2G
/home Ê£Óà¿Õ¼ä
Ö®ºóÑ¡Ôñ“Ç°½ø”
£¨6£©ÊäÈë¼ÆËã»úÃû£¬Óû§ÃûºÍÃÜÂ룬֮ºóÑ¡Ôñ“Ç°½ø”¡£
£¨7£©¸ø³öÁ˸ղÅÉèÖõÄÐÅÏ¢£¬Ñ¡Ôñ“¸ß¼¶”¿ÉÒÔ¿´µ½Òýµ¼³ÌÐò½«±»°²×°ÔÚ/dev/sdaÉÏ¡£Ö®ºóÑ¡Ôñ“Ç°½ø”¡£Ê£ÏµÄʱ¼äÎÒÃǾÍÊǵȴýÁË¡£
£¨8£©°²×°100%£¬Ö®ºóÌáʾÖØÐÂÆô¶¯¼ÆËã»ú,Ñ¡Ôñ“ÏÖÔÚÖØÆô”£¬Ö®ºóÌáʾÎÒÃÇÒƳö´ÅÅÌ¡£ºÃÁË£¬ÖØÆôÖ®ºó³öÏÖÁ˵Ǽ½çÃ棬ѡÔñÓû§ÃûÊäÈëÃÜÂë½øÈëÓÅ
Ïà¹ØÎĵµ£º
¹ÜµÀ¼°ÓÐÃû¹ÜµÀ
ÔÚ±¾ÏµÁÐÐòÖÐ×÷Õ߸ÅÊöÁË linux ½ø³Ì¼äͨÐŵļ¸ÖÖÖ÷ÒªÊֶΡ£ÆäÖйܵÀºÍÓÐÃû¹ÜµÀÊÇ×îÔçµÄ½ø³Ì¼äͨÐÅ»úÖÆÖ®Ò»£¬¹ÜµÀ¿ÉÓÃÓÚ¾ßÓÐÇ×Ôµ¹Øϵ½ø³Ì¼äµÄͨÐÅ£¬ÓÐÃû¹ÜµÀ¿Ë·þÁ˹ܵÀûÓÐÃû×ÖµÄÏÞÖÆ£¬Òò´Ë£¬³ý¾ßÓйܵÀËù¾ßÓеŦÄÜÍ⣬Ëü»¹ÔÊÐíÎÞÇ×Ôµ¹Øϵ½ø³Ì¼äµÄͨÐÅ¡£ ÈÏÇå¹ÜµÀºÍÓÐÃû¹ÜµÀµÄ¶Áд¹æÔòÊÇÔÚ³ÌÐòÖÐÓ¦Ó ......
ÒòΪLINUX
µÄÄÚºË
»úÖÆ£¬Ò»°ãÇé¿öϲ»ÐèÒªÌØÒâÈ¥ÊÍ·ÅÒѾʹÓõÄcache¡£ÕâЩcacheÆðÀ´µÄÄÚÈÝ¿ÉÒÔÔö¼ÓÎļþÒÔ¼°µÄ¶ÁдËٶȡ£
ÏÈ˵ÏÂfreeÃüÁîÔõô¿´ÄÚ´æ
[root@ahsq proc]# free
total used free shared buffers cached
Mem: 515588 295452 220136 0 2060 64040
-/+ buffers/cache: 229352 286236
Swap: 682720 112 ......
Ò»¡¢Àí½âLinuxµÄµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñ¸ÅÄ
Linux ÊÇÒ»¸ö¶àÓû§¡¢¶àÈÎÎñµÄ²Ù×÷ϵͳ£»ÎÒÃÇÓ¦¸ÃÁ˽ⵥÓû§¶àÈÎÎñºÍ¶àÓû§¶àÈÎÎñµÄ¸ÅÄ
1¡¢Linux µÄµ¥Óû§¶àÈÎÎñ£»
µ¥Óû§¶àÈÎÎñ£»±ÈÈçÎÒÃÇÒÔbeinan µÇ¼ϵͳ£¬½øÈëϵͳºó£¬ÎÒÒª´ò¿ªgedit À´Ð´Îĵµ£¬µ«ÔÚдÎĵµµÄ¹ý³ÌÖУ¬ÎҸоõÉÙµãÒôÀÖ£¬ËùÒÔÓÖ´ò¿ªxmms À´µãÒôÀÖ£» ......
±¾ÎļǼһϱ¾ÈË°²×°LAMPµÄÈ«¹ý³Ì
±¾ÈËʹÓõÄLinuxΪRedHat Enterprise 5 X64
µÚÒ»²½:°²×°Mysql
MysqlµÄ°²×°±È½Ï¼òµ¥£¬ÎªÁ˱ÜÃâ³öÏÖÎļþÕÒ²»µ½µÄÇé¿ö£¬ÎÒÒÀ´ÎÏÂÔØ°²×°ÁËÒÔÏÂ4¸öRPM°ü
MySQL-server-community-5.1.46-1.rhel5.x86_64.rpm
MySQL-client-community-5.1.46-1.rhel5.x86_64.rpm
MySQL-devel-commu ......
ls :²é¿´µ±Ç°Ä¿Â¼ÏµÄÎļþ
ls -l ;ÒÔÍêÕû¸ñʽ²é¿´Îļþ
help;²é¿´°ïÖúÐÅÏ¢
man;Ò²ÊDz鿴°ïÖúÐÅÏ¢,µ«ÊDZÈhelp¸üÏêϸ
info;ͬÑùÊDz鿴°ïÖúÐÅÏ¢,±Èman¸üÏêϸ
cp;¿½±´Îļþ(Ò²¿ÉÒÔ¿½±´Ä¿Â¼)
mv;Òƶ¯Îļþ»òÕßÖØÃüÃû
rm;ɾ³ýÎļþ
pwd;²é¿´ÎļþµÄÍêÕû·¾¶
touch ;´´½¨¿ÕÎļþ
cd;¸Ä±äµ±Ç°Â·¾¶
cat;²é¿´ÎļþÄÚÈÝ
mor ......