LinuxÏÂMP3¸èÇúÐÅÏ¢ÂÒÂëÖ®¼úÈ˽â¾ö·½°¸
תÔØ£º
ÏÖÔÚlinuxÏÂÓÐÔ½À´Ô½¶àµÄÓÅÐãµÄ²¥·ÅÈí¼þ£¬xmms£¬m-player£¬beep-media-player£¬totme£¬rhythmbox£¬µÈµÈµÈµÈ£¬µ«ÊÇÕâЩ²¥·ÅÈí¼þ¶¼²»ÄܺܺõĽâ¾ömp3ÎļþÖÐÎÄÐÅÏ¢ÂÒÂëµÄÎÊÌâ¡£
¾¿ÆäÔÒò£¬ÏÖÔÚÍøÉϾø´ó¶àÊý£¨99%ÒÔÉÏ£©µÄmp3¶¼ÊÇÍøÓÑÔÚwindowsÏÂѹÖƵģ¬ÎÄ×ÖÐÅÏ¢±àÂ뷽ʽ×ÔÈ»ÊÇGBK£¬µ½ÁËlinuxÏÂÃæ¾ÍûÓÐlftpÄÇôÐÒÔ˶¼¿ÉÒÔÉèÖÃÏÔʾ±àÂ뷽ʽÁË£¬
ÍøÉÏgoogle¹ýºÃ¶à´Î£¬¶¼Ã»ÓÐÍêÃÀµÄ½â¾ö·½°¸¡£½ñÌìÕûÀíϵͳµÄʱºòͻȻÏëµ½ÄÜ·ñͨ¹ý¸Ä±äϵͳ»·¾³±àÂ뷽ʽÀ´ÊµÏÖ¶Ôbeep-media-playerÕâÒ»ÀàÈí¼þµÄÇ¿ÖƸü¸Ä±àÂëÄØ£¿Ëµ¸É¾Í¸É¡£¡£
sudo vi /etc/environment
°ÑËùÓеÄzh_CN.UTF-8¸Ä³Ézh_CN.GBK£¬ÖØÆô¡£¡£¡£
´ò¿ªbeep-media-player£¬bingo£¡£¡£¡¾ÓÈ»ÈçÎÒÏëÏóµÃÒ»Ñù£¬£¬ËùÓиèÇúÐÅÏ¢¶¼ÄÜÕý³£ÏÔʾÁË£¡
µ«ÊÇÓÉÓÚ»·¾³±ä³ÉÁËGBK£¬µ¼ÖÂterminalÖÐÔ±¾UTF-8µÄÎļþÃûÎÞ·¨Õý³£ÏÔʾÁË¡£¡£Õâ¸ö»áÓ°Ïìµ½¹¤×÷¡£¡£Ò²²»ÊÇ°ì·¨¡£¡£Ôõô°ìºÃÄØ£¿
ß×£¬ÔÚbash shellÏÂexportÒ»¸öµÄ±äÁ¿²»Êǽö¶Ôµ±Ç°ÖÕ¶ËÓÐЧÂµ±ÖÕ¶ËÖØÆô»òÕß¿ªÆôÁíÍâÒ»¸öÖÕ¶Ëʱºò£¬export¼´Ê§Ð§¡£ÄÇÎҾͿÉÒÔÏÈ°ÑLC_CTYPE ¸úLANG¸Äexport³Ézh_CN.GBK£¬Æô¶¯²¥·ÅÆ÷Ö®ºóÔÙexport»ØÀ´zh_CN.UTF-8£¬ÕâÑùÁ¬µ±Ç°Öն˹¤×÷¶¼²»»áÓ°Ïìµ½¡£Ì«°ôÁË£¡
ÔÙ͵ÀÁһϣ¬°ÑÕâЩ²½Öèͨͨд³ÉÒ»¸öbash shell£¬
export LC_CTYPE=zh_CN.GBK
export LANG=zh_CN.GBK
/usr/bin/beep-media-player & //ÕâÀïÒ»¶¨²»ÒªÂ©µô¡°&¡±·û£¬Èò¥·ÅÆ÷ºǫ́ÔËÐС£²»È»»áÕ¼Óõôµ±Ç°ÃüÁîÐУ¬´Ó¶øÓ°Ïìµ½ÏÂÃæÁ½ÐеÄÖ´ÐС£
export LC_CTYPE=zh_CN.UTF-8
export LANG=zh_CN.UTF-8
±£´æ³Émp3.sh
chmod 777 mp3.sh
./mp3.sh
Æô¶¯Æðbeep-media-player£¬¹þ¹þ£¬ÏÔʾÕýÈ·£¡
ÔÙÓÃenv²é¿´Ò»Ïµ±Ç°»·¾³±äÁ¿¡£¡£ÍêȫûÓÐÎÊÌâ¡£
Ö®ºó·¢ÏÖÕâÖÖ·½·¨ËäÈ»¼ú¡£¡£µ«ÊÇ»¹ÕæͦÓÐЧµÄ£¬¿ÉÒÔÆÛÆÈκβ»ÄÜÉèÖóÌÐòÔËÐбàÂ뷽ʽµÄÈí¼þ£¨»òÕßÓÐЩÈí¼þÖ§³Ö£¬µ«ÊÇÄã²»ÖªµÀÈçºÎÔÚconfÀïд¡£¡££©£¬~ÀÇÀï¸öÀÇ~
Ïà¹ØÎĵµ£º
/bin ´æ·Å×î³£ÓõÄÃüÁî,ËùÓÐÓû§¶¼ÓÐÖ´ÐÐȨÏÞ
/boot ϵͳÒýµ¼Ä¿ ......
ÐǼÊÒëÍõµÄ°²×°
“ÐǼÊÒëÍõ”ÊÇÓÃGtk2¿ª·¢µÄ¿çƽ̨µÄ¹ú¼Ê»¯µÄ´ÊµäÈí¼þ¡£Ëü¾ßÓГͨÅä·ûÆ¥Å䔡¢“Ñ¡ÖÐÇøÈ¡´Ê”¡¢“Ä£ºý²éѯ”µÈÇ¿´ó¹¦ÄÜ¡£±¾ÎÄÖ÷Òª½â˵һÏÂÖ÷³ÌÐòºÍ´Ê¿âµÄ°²×°£»
Ò»¡¢Ê²Ã´ ......
Linux
ÄÚ´æ¹ÜÀí
ÕªÒª
£º±¾ÕÂÊ×ÏÈÒÔÓ¦ÓóÌÐò¿ª·¢ÕߵĽǶÈÉóÊÓ
Linux
µÄ½ø³ÌÄÚ´æ¹ÜÀí£¬ÔÚ´Ë»ù´¡ÉÏÖð²½ÉîÈëµ½ÄÚºËÖÐÌÖÂÛϵͳÎïÀíÄÚ´æ¹ÜÀíºÍÄÚºËÄÚ´æµÄʹÓ÷½·¨¡£Á¦Çó´ÓÍâµ½ÄÚ¡¢Ë®µ½Çþ³ÉµØÒýµ¼ÍøÓÑ·ÖÎö
Linux
µÄÄÚ´æ¹ÜÀíÓëʹÓá£ÔÚ±¾ÕÂ×îºó£¬ÎÒÃǸø³öÒ»¸öÄÚ´æÓ³ÉäµÄʵÀý£¬°ïÖúÍøÓÑÃÇÀí½â
ÄÚºËÄÚ´æ¹ÜÀíÓëÓû§ÄÚ´æ¹ÜÀíÖ ......
1.ÏÂÔØapacheÔ´Âë°ü,½øÈëÒ³Ãæhttp://httpd.apache.org/download.cgi,ÏÂÀ´ºó·ÅÈë/usr/local/srcĿ¼ÖÐ
2.½âѹ:
cd /usr/local/src
tar --zxvf httpd-2.2.15.tar.gz
3.cd httpd-2.2.15
./configure --prefix=/usr/local/src/apache2 \
--enable-so \
--enable-rewrite
make;make install
4.Æô¶¯·þÎñ service httpd s ......
ȨÏÞÓëÎļþϵͳ°²È«
1,“ls -l”ÃüÁîÊä³ö½á¹ûÖи÷×ֶκ¬Ò壺
(1),ÎļþÀàÐÍ£¬µÚ1루“-”ÆÕͨÎļþ¡¢“d”Ŀ¼Îļþ¡¢“l”·ûºÅÁ´½ÓÎļþ¡¢“b”¿ìÉ豸Îļþ¡¢“c”×Ö·ûÉ豸Îļþ¡¢“p”¹ÜµÀÎļþ¡¢“s”socketÎļþ£©
(2),ȨÏÞ£¬µÚ2ÖÁ10루 ......