LinuxÈí¼þ°²×°·½·¨×ܽá
1¡¢Èí¼þ°²×° жÔØ£¬·Ö¼¸ÖÖÇé¿ö£º
A£º RPM°ü£¬ÕâÖÖÈí¼þ°ü¾ÍÏñwindowsµÄEXE°²×° ÎļþÒ»Ñù£¬¸÷ÖÖÎļþÒѾ±àÒëºÃ£¬²¢´òÁË°ü£¬ÄĸöÎļþ¸Ã·Åµ½ÄĸöÎļþ¼Ð£¬¶¼Ö¸¶¨ºÃÁË£¬°²×° ·Ç³£·½±ã£¬ÔÚͼÐνçÃæÀïÄãÖ»ÐèҪ˫»÷¾ÍÄÜ×Ô¶¯°²×° ¡£
==ÈçºÎжÔØ:
1¡¢´ò¿ªÒ»¸öSHELLÖÕ¶Ë
2¡¢ÒòΪLinux ϵÄÈí¼þÃû¶¼°üÀ¨°æ±¾ºÅ£¬ËùÒÔжÔØÇ°×îºÃÏÈÈ·¶¨Õâ¸öÈí¼þµÄÍêÕûÃû³Æ¡£
²éÕÒRPM°üÈí¼þ£ºrpm -qa ×××*
×¢Ò⣺×××Ö¸Èí¼þÃû³Æ¿ªÍ·µÄ¼¸¸ö×Öĸ£¬²»ÒªÇóдȫ£¬µ«±ð´í£¬*¾ÍÊÇͨÅä·ûºÅ“*”£¬¼´ÐǺţ¬ÈçÄãÏë²éÕÒ»ú×ÓÀï°²×° µÄREALPLAYERÈí¼þ£¬¿ÉÒÔÊäÈ룺rpm -qa realplay*
3¡¢ÕÒµ½Èí¼þºó£¬ÏÔʾ³öÀ´µÄÊÇÈí¼þÍêÕûÃû³Æ£¬Èçfirefox-1.0.1-1.3.2
Ö´ÐÐжÔØÃüÁrpm -e firefox-1.0.1-1.3.2
===°²×° Ŀ¼£¬Ö´ÐÐÃüÁî²éÕÒ£ºrpm -ql firefox-1.0.1-1.3.2
===²Î¿¼ÎÄÕ£ºhttp://blog.chinaunix.net/article.p...178&blogId=1438
B£º tar.gz£¨bz»òbz2µÈ£©½áβµÄÔ´´úÂë°ü£¬ÕâÖÖÈí¼þ°üÀïÃ涼ÊÇÔ´³ÌÐò£¬Ã»ÓбàÒë¹ý£¬ÐèÒª±àÒëºó²ÅÄÜ°²×° £¬°²×° ·½·¨Îª:
1¡¢´ò¿ªÒ»¸öSHELL£¬¼´ÖÕ¶Ë
2¡¢ÓÃCD ÃüÁî½øÈëÔ´´úÂëѹËõ°üËùÔÚµÄĿ¼
3¡¢¸ù¾ÝѹËõ°üÀàÐͽâѹËõÎļþ(*´ú±íѹËõ°üÃû³Æ)
tar -zxvf ****.tar.gz
tar -jxvf ****.tar.bz(»òbz2)
4¡¢ÓÃCDÃüÁî½øÈë½âѹËõºóµÄĿ¼
5¡¢ÊäÈë±àÒëÎļþÃüÁ./configure£¨ÓеÄѹËõ°üÒѾ±àÒë¹ý£¬ÕâÒ»²½¿ÉÒÔÊ¡È¥£©
6¡¢È»ºóÊÇÃüÁmake
7¡¢ÔÙÊÇ°²×° ÎļþÃüÁmake install
8¡¢°²×° Íê±Ï
===ÈçºÎжÔØ£º
1¡¢´ò¿ªÒ»¸öSHELL£¬¼´ÖÕ¶Ë
2¡¢ÓÃCD ÃüÁî½øÈë±àÒëºóµÄÈí¼þĿ¼£¬¼´°²×° ʱµÄĿ¼
3¡¢Ö´Ðз´°²×° ÃüÁmake uninstall
====°²×° Ŀ¼£º×¢Òâmake installÃüÁî¹ý³ÌÖеݲװ Ŀ¼£¬»òÕßÔĶÁ°²×° Ŀ¼ÀïÃæµÄreadmeÎļþ£¬µ±È»×îºÃµÄ°ì·¨ÊÇÔÚ°²×° µÄ¹ý³ÌÖÐÖ¸¶¨°²×° Ŀ¼£¬¼´ÔÚ./configureÃüÁîºóÃæ¼Ó²ÎÊý--prefix=/**£¬
È磺./configure --prefix=/usr/local/aaaa£¬¼´°ÑÈí¼þ×°ÔÚ/usr/local/·¾¶µÄaaaaÕâ¸öĿ¼Àï¡£Ò»°ãµÄÈí¼þµÄĬÈÏ°²×° Ŀ¼ÔÚ/usr/local»òÕß/optÀ¿ÉÒÔµ½ÄÇÀïÈ¥ÕÒÕÒ
C£º ÒÔbin½áβµÄ°²×° °ü£¬ÕâÖÖ°üÀàËÆÓÚRPM°ü£¬°²×° Ò²±È½Ï¼òµ¥
1¡¢´ò¿ªÒ»¸öSHELL£¬¼´ÖÕ¶Ë
2¡¢ÓÃCD ÃüÁî½øÈëÔ´´úÂëѹËõ°üËùÔÚµÄĿ¼
3¡¢¸øÎļþ¼ÓÉÏ¿ÉÖ´ÐÐÊôÐÔ£ºchmod +x ******.bin£¨ÖмäÊÇ×Öĸx£¬Ð¡Ð´£©
3¡¢Ö´ÐÐÃüÁ./******.bin(realplayer for Linux ¾ÍÊÇÕâÑùµÄ°²×° °ü)
===ÈçºÎжÔØ£º°Ñ°²×° ʱÖÐÑ¡ÔñµÄ°²×° Ŀ¼ɾ³
Ïà¹ØÎĵµ£º
¼ÌÐø¡£¡£¡£
ÓôÃƵÄÊÂÇé¼ÌÐø³öÏÖ£¬³öÏÖÉÏÃæµÄ´í£¬»¹²»ÖªµÀËùÒÔÈ»ÄØ£¬½øÈëÒ»¸öbusyboxµÄÖն˵ȴýÊäÈë״̬£¬¸Ï½ôgoogle£¬¿ÉÄÜÓоȡ£
Ï´β»¸ÒÂÒɾÄÚºË×é¼þÁË£¬·¢ÏÖ¶Ô×Ô¼ºÒªµÄÐèÇó²»Ã÷È·£¬½á¹û²úÉú»ìÂҵľÖÃæÁË¡£
¼ÌÐøÂÒŪ£¬helpÏ£¬³öÏÖÁËÐí¶à¿ÉÒÔ±»½âÎöµÄÃüÁ²»ÊÇÉÙĿ¼Âð£¬ÎÒmksirÏ£¬½á¹û²»ÐУ¬ºÃÏñÕâ¸ö״̬ÊÇÒ»¸ö/bin ......
LinuxϽøÐÐMYSQLµÄC++±à³ÌÆð²½ÊÖ¼Ç
Ê×ÏÈ°²×°±ØÐèµÄ¿ª·¢°ü
sudo apt-get install gcc g++ libgcc1 libg++ make gdb
°²×°MYSQLµÄCÓïÑÔ¿ª·¢°ü
sudo apt-get install libmysql++-dev libmysql++2c2a libmysqlclient15-dev libmysqlclient15off
......
¿ÉÒÔ¶ÁÈ¡/proc/devicesÎļþÒÔ»ñµÃLinuxÄں˷ÖÅä¸ø¸ÃÉ豸µÄÖ÷É豸ºÅ¡£
Ö÷É豸ºÅÓÃÀ´Çø·Ö²»Í¬ÖÖÀàµÄÉ豸£¬¶ø´ÎÉ豸ºÅÓÃÀ´Çø·ÖͬһÀàÐ͵Ķà¸öÉ豸
ÔÚLinuxÄں˿´À´£¬Ö÷É豸ºÅ±êʶÉ豸¶ÔÓ¦µÄÇý¶¯³ÌÐò£¬
¸æËßLinuxÄÚºËʹÓÃÄÄÒ»¸öÇý¶¯³ÌÐòΪ¸ÃÉ豸(Ò²¾ÍÊÇ/devϵÄÉ豸Îļþ)·þÎñ£»¶ø´ÎÉ豸ºÅÔòÓÃÀ´±êʶ¾ßÌåÇÒΨһµÄij¸öÉ豸¡£
......
linuxϲ鿴Ŀ¼´óС- -
du -sb /dir
²éÕÒµ±Ç°Óû§Ö÷Ŀ¼ÏµÄËùÓÐÎļþ
find . -print
²éÕÒ/var/logsĿ¼Öиü¸Äʱ¼äÔÚ7ÈÕÒÔÇ°µÄÆÕͨÎļþ£¬²¢ÔÚɾ³ý֮ǰѯÎÊËüÃÇ
find /var/logs -type f -mtime +7 -ok rm { } \;
δÍê´ýÐø£¡ ......
¼ÌÐøÊáÀíÒÔǰѧϰµÄ֪ʶ£¬µ±³õѧϰ¡¶Linux and Open Source¡·Ê±ºòµÄ×÷Òµ£¬Äں˱àÒë¡£
¡¾ÊµÑé»·¾³¡¿
Fedora£¬ÄÚºË2.6.21.6
¡¾ÊµÑé²½Öè¡¿
Ò»¡¢ ±àÒëÄÚºË
1. ´Ówww.kernel.org ÏÂÔØÔ´´úÂë linux-2.6.21.6.tar.bz2 ÖÁ /usr/src
2. cd /usr/src £¬½øÈë/usr/src Ŀ¼
3. tar xvjf linux-2.6.21.6.tar.bz2 ½âѹԴÂë°ü
4. l ......