Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : linux

LinuxÏ mplayer ʹÓÃÊÖ²á

²¥·ÅÎļþ
ʹÓà MPlayer ²¥·ÅýÌåÎļþ×î¼òµ¥µÄ·½Ê½ÊÇ£º
mplayer <somefile>
MPlayer »á×Ô¶¯¼ì²âÎļþµÄÀàÐͲ¢¼ÓÒÔ²¥·Å£¬Èç¹ûÊÇÒôƵÎļþ£¬Ôò»áÔÚÃüÁîÐÐÖÐÏÔʾ¸Ã²¥·ÅÎļþµÄ״̬ÐÅÏ¢£»¶ø¼ÙÈçÊÇÊÓƵÎļþµÄ»°£¬Ôò»á´ò¿ªÒ»¸öеIJ¥·Å´°¿Ú¡£
µ¹ÍËÓë¿ì½ø
ÔÚ²¥·ÅÎļþµÄʱºò£¬Äã¿ÉÒÔͨ¹ýÒÔÏÂÈý×é¿ì½Ý¼üÀ´¶Ô²¥·Å½ø³Ì½øÐе¹ÍËÓë¿ì½ø²Ù×÷£º
×ó·½Ïò¼üºÍÓÒ·½Ïò¼ü£º·Ö±ðÖ´Ðе¹ÍË 10 ÃëºÍ¿ì½ø 10 Ãë²Ù×÷
Ï·½Ïò¼üºÍÉÏ·½Ïò¼ü£º·Ö±ðÖ´Ðе¹ÍË 1 ·ÖÖӺͿì½ø 1 ·ÖÖÓ²Ù×÷
Ï·­Ò³¼üºÍÉÏ·­Ò³¼ü£º·Ö±ðÖ´Ðе¹ÍË 10 ·ÖÖӺͿì½ø 10 ·ÖÖÓ²Ù×÷
²¥·Å DVD
ËäÈ» MPlayer ²»Ö§³Ö DVD ²Ëµ¥£¬µ«ÊÇÈ´Äܹ»²¥·Å DVD¡£Äã¿ÉÒÔÕâÑù²¥·Å DVD£º
mplayer dvd://<titlenumber>
ÄãÐèҪʹÓÃʵ¼ÊµÄÊý×ÖÀ´Ìæ»» <titlenumber>£¬Èç 1¡¢2¡¢3 µÈ¡£
ʹÓÃ×ÖÄ»
µ±²¥·ÅµçÓ°Îļþʱ£¬Äã¿ÉÒÔÖ¸¶¨×ÖÄ»Îļþ£º
mplayer -sub <somesubtitlefile> <somefile>
ÔÚ²¥·Å DVD µçӰʱ£¬ÄãÒ²¿ÉÒÔͨ¹ýÖ¸¶¨ÓïÑÔ´úÂëÀ´Ê¹ÓÃ×ÖÄ»£º
mplayer dvd://<titlenumber> -slang nl,en
ÕâÑù£¬MPlayer ¾Í»áÓÅÏÈʹÓúÉÀ¼Óï×ÖÄ»£¬Èç¹û¸ÃÓïÑÔ²»¿ÉÓã¬ÔòÔÙʹÓÃÓ¢Óï×ÖÄ»¡£
ÓÐÓõĿì½Ý¼ü
ÒÔÏÂÊÇ MPlayer ÖÐһЩÓÐÓÃµÄ¿ì½ ......

¹ØÓÚLinuxÄÚºËѧϰµÄÎóÇøÒÔ¼°Ïà¹ØÊé¼®½éÉÜ

¹ØÓÚLinuxÄÚºËѧϰµÄÎóÇøÒÔ¼°Ïà¹ØÊé¼®½éÉÜ
·¢ ²¼ ʱ ¼ä :
2008-11-19   
À´ Ô´ :
À´×ÔÍøÂç   
×÷ Õß :
ÄäÃû
  ä¯ ÀÀ :
1053


д¸øLinuxÄÚºËÐÂÊÖ-¹ØÓÚLinuxÄÚºËѧϰµÄÎóÇø
¡¡¡¡ÏÈ˵¾äÕý¾­µÄ£ºÆäʵÎÒû×ʸñдÕâƪÎÄÕ£¬ÒòΪ×Ô¼ºÒ²¾ÍÒ»Á½¸öÔÂÒÔÀ´²Å¿ªÊ¼ÓÐËùÁìÎòµÄ¡£Òò´Ë£¬ÕâÀïÓëÆä˵ÊǹØÓÚLinuxÄÚºËѧϰµÄ¾­Ñ飬²»Èç˵
ÊÇ×Ô¼ºµÄ½Ìѵ°É£¬Ï£Íû²»ÒªÈÓ¼¦µ°ÔÒÎÒ^_^
¡¡¡¡¡¡³£³£ÓÐÈËÎÊ£ºÎÒÏëѧϰÄںˣ¬ÐèҪʲô»ù´¡Âð£¿Linus Torvalds±¾ÈËÊÇÕâÑù»Ø´ðµÄ£ºÄã±ØÐëʹÓùýLinux¡£
Õâ¸ö……»¹ÊÇÓеãÌ«·ºÁË°É£¬ÎÒÏëÏÂÃ漸¸ö»ù´¡¿ÉÄÜ»¹ÊÇÐèÒªµÄ£¬¾¡¹Ü²»Ò»¶¨±ØÐ裺
¡¡¡¡1,
¹ØÓÚ²Ù×÷ϵͳÀíÂÛµÄ×î³õ¼¶µÄ֪ʶ¡£²»ÐèҪͨ¶Á²¢Àí½â¡¶²Ù×÷ϵͳ¸ÅÄî¡·¡¶ÏÖ´ú²Ù×÷ϵͳ¡·µÈ¾ÞÖø£¬µ«×ÜÒªÖªµÀ·Öʱ£¨time-shared£©ºÍʵʱ
£¨real-time£©µÄÇø±ðÊÇʲô£¬½ø³ÌÊǸöʲô¶«Î÷£¬CPUºÍϵͳ×ÜÏß¡¢ÄÚ´æµÄ¹Øϵ£¨ºÜ´ÖÂÔ¼´¿É£©£¬µÈµÈ¡£
¡¡¡¡2,
¹ØÓÚCÓïÑÔ¡£²»ÐèÒªÒѾ­ºÜ¾«Í¨CÓïÑÔ£¬Ö»ÒªÄÜÊìÁ·±àдC³ÌÐò£¬ÄÜ¿´¶®Á´±í¡¢É¢ÁбíµÈÊý¾Ý½á¹¹µÄCʵÏÖ£¬Óùýgcc±àÒëÆ÷£¬¾Í¿ÉÒÔÁË¡£µ±È»£¬Èç¹ûÒѾ­¾«Í¨C
ÓïÑÔÏÔÈ»ÊÇ´óÕ¼±ãÒ˵ġ£
¡¡¡¡3, ......

linux³£ÓÃcÍ·Îļþ

linux³£ÓÃÍ·ÎļþÈçÏ£º
POSIX±ê×¼¶¨ÒåµÄÍ·Îļþ
<dirent.h>       
Ŀ¼Ïî
<fcntl.h>         Îļþ¿ØÖÆ
<fnmatch.h>    ÎļþÃûÆ¥ÅäÀàÐÍ
<glob.h>   
·¾¶ÃûģʽƥÅäÀàÐÍ
<grp.h>        ×éÎļþ
<netdb.h>    ÍøÂçÊý¾Ý¿â²Ù×÷
<pwd.h>       
¿ÚÁîÎļþ
<regex.h>    ÕýÔò±í´ïʽ
<tar.h>        TAR¹éµµÖµ
<termios.h>   
ÖÕ¶ËI/O
<unistd.h>    ·ûºÅ³£Á¿
<utime.h>    Îļþʱ¼ä
<wordexp.h>   
×Ö·ûÀ©Õ¹ÀàÐÍ
-------------------------
<arpa/inet.h>   
INTERNET¶¨Òå
<net/if.h>    Ì×½Ó×Ö±¾µØ½Ó¿Ú
<netinet/in.h>   
INTERNETµØÖ·×å
<netinet/tcp.h>   ......

linux³£ÓÃcÍ·Îļþ

linux³£ÓÃÍ·ÎļþÈçÏ£º
POSIX±ê×¼¶¨ÒåµÄÍ·Îļþ
<dirent.h>       
Ŀ¼Ïî
<fcntl.h>         Îļþ¿ØÖÆ
<fnmatch.h>    ÎļþÃûÆ¥ÅäÀàÐÍ
<glob.h>   
·¾¶ÃûģʽƥÅäÀàÐÍ
<grp.h>        ×éÎļþ
<netdb.h>    ÍøÂçÊý¾Ý¿â²Ù×÷
<pwd.h>       
¿ÚÁîÎļþ
<regex.h>    ÕýÔò±í´ïʽ
<tar.h>        TAR¹éµµÖµ
<termios.h>   
ÖÕ¶ËI/O
<unistd.h>    ·ûºÅ³£Á¿
<utime.h>    Îļþʱ¼ä
<wordexp.h>   
×Ö·ûÀ©Õ¹ÀàÐÍ
-------------------------
<arpa/inet.h>   
INTERNET¶¨Òå
<net/if.h>    Ì×½Ó×Ö±¾µØ½Ó¿Ú
<netinet/in.h>   
INTERNETµØÖ·×å
<netinet/tcp.h>   ......

RedHat Linux 5.4 SUN JDKµÄ°²×°

1¡¢ÏÂÔØjdk£¬¿ÉÒÔÖ±½ÓÔÚRHÉÏÏÂÔØ£¬Ò²¿ÉÒÔÔÚ±¾»úÏÂÔØ£¬È»ºóͨ¹ýpsftp´«ÉÏÈ¥£¨jdk-6u20-linux-i586-rpm.bin£©
2¡¢ÓÃputtyÁ¬½Ólinux
3¡¢Ö´ÐÐjdk-6u20-linux-i586-rpm.bin ûÕÒµ½
4¡¢Ö´ÐÐ./jdk-6u20-linux-i586-rpm.bin ÕÒµ½£¬µ«Ã»ÓÐȨÏÞ
5¡¢chmod 775 jdk-6u20-linux-i586-rpm.bin ¸ÄȨÏÞ
6¡¢Ö´ÐÐ./jdk-6u20-linux-i586-rpm.bin ¿ªÊ¼°²×°£¨°²×°ºÃºó£¬½ÓÏÂÀ´¾ÍÊÇÅäÖû·¾³±äÁ¿ÁË£¬ÎÒµÄjdkĬÈÏ°²×°Ä¿Â¼£º/usr/java/jdk1.6.0_20£©
7¡¢java -version£¬·¢ÏÖÊÇ RH×ÔµÄJDK(1.4.x....)
8¡¢Ð¶ÔØrhel5×Ô´øµÄjdk£º(ÃüÁî)yum remove java
9¡¢vi /etc/profile
10¡¢ÔÚÎļþ×îºóÌí¼Ó
#jdk1.6 env
JAVA_HOME=/usr/java/jdk1.6.0_20
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/td.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME
export PATH
export CLASSPATH
±£´æÍ˳ö£¬ÖØÆôϵͳ
½ÓÏÂÀ´¾Í¿ÉÒÔʹÓð²×°µÄjdkÁË ......

linuxϽûÖ¹ÐÞ¸ÄDNS·þÎñÆ÷µØÖ·(DNS±»×Ô¶¯ÐÞ¸ÄÎÊÌâ)

´ó¼Ò¶¼ÖªµÀÐÞ¸ÄlinuxϵÄDNS¿ÉÒÔÖ±½ÓÐÞ¸Ä/etc/resolv.conf:
root@xuanfei-desktop:~#vim /etc/resolv.conf
nameserver ip //ÌîÉÏÄãµ±µØʹÓõÄ×î¿ìDNS·þÎñÆ÷IPµØÖ·
nameserver ip   
 
µ±È»Ò²¿ÉÒÔÖ±½ÓʹÓÃÍøÂç¹ÜÀíÆ÷Ð޸ġ£
µ«ÊÇÈç¹ûÄãËùÔÚ»ú¹¹»òÕß¹¤×÷µÄµØ·½±ØÐëÒªÇóÄãÓÃDHCP»ñµÃ×Ô¼º·Ç¹Ì¶¨¶¯Ì¬IP£¬ÄÇôËæÖ®¶øÈ»Äã×Ô¼ºÒ»Ïòϲ»¶µÄ»òÕß×Ô¼º¾õµÃ×î¿ìµÄDNS·þÎñÆ÷ipÒ²½«×Ô¶¯¸ü¸ÄΪËûÃÇËùÖ¸¶¨µÄDNS·þÎñÆ÷¡£
ÄÇô£¬ÎªÁ˱ÜÃâDNSÔÚDHCP×Ô¶¯»ñÈ¡µØÖ·ºó±»¸²¸Ç£¬Äú»¹ÐèÒªÕâô×ö£º
root@xuanfei-desktop:~# cp /etc/resolv.conf /etc/resolv.conf.bak
root@xuanfei-desktop:~# vim /etc/dhcp3/dhclient.conf prepend domain-name-servers 202.96.128.86 192.168.10.11;//ÏȽ«¸ÃÐÐ×¢ÊÍÈ¥µô£¬È»ºóÌîÉÏ×Ô¼ºÏëÓõ½µÄDNS·þÎñÆ÷IP  
»¹ÓÐÁíÍâÒ»ÖÖ·½·¨¾ÍÊǸøDNSÅäÖÃÎļþ¼ÏËø£ºroot@xuanfei-desktop:~# chattr +i /etc/resolv.conf //¼ÓËöroot@xuanfei-desktop:~# lsattr /etc/resolv.conf //²é¿´¼ÓËøÊÇ·ñ³É¹¦ ÓÐi±íʾ³É¹¦
----i------------- /etc/resolv.conf
 
ÖØÐÂ×Ô¶¯»ñÈ¡IPÒ»´Îroot@xuanfei-desktop:~# dhclient //×Ô¶¯»ñÈ¡ipÃüÁîroot@xuanf ......

Linux GCC°²×° (ת)

Ä¿Ç°£¬GCC¿ÉÒÔÓÃÀ´±àÒëC/C++¡¢FORTRAN¡¢JAVA¡¢OBJC¡¢ADAµÈÓïÑԵijÌÐò£¬¿É¸ù¾ÝÐèҪѡÔñ°²×°Ö§³ÖµÄÓïÑÔ¡£±¾ÎÄÒÔÔÚRedhat LinuxÉÏ°²×°GCC4.1.2ΪÀý(ÒòÔÚÏîÄ¿¿ª·¢¹ý³ÌÖÐÒªÇóʹÓã¬Ã»ÓÐÓÃ×îеÄGCC°æ±¾)£¬½éÉÜGCCµÄ°²×°¹ý³Ì¡£
°²×°Ö®Ç°£¬ÏµÍ³ÖбØÐëÒªÓÐcc»òÕßgccµÈ±àÒëÆ÷£¬²¢ÇÒÊÇ¿ÉÓõģ¬»òÕßÓû·¾³±äÁ¿CCÖ¸¶¨ÏµÍ³ÉϵıàÒëÆ÷¡£Èç¹ûϵͳÉÏûÓбàÒëÆ÷£¬²»ÄÜ°²×°Ô´´úÂëÐÎʽµÄGCC 4.1.2¡£Èç¹ûÊÇÕâÖÖÇé¿ö£¬¿ÉÒÔÔÚÍøÉÏÕÒÒ»¸öÓëÄãϵͳÏàÊÊÓ¦µÄÈçRPMµÈ¶þ½øÖÆÐÎʽµÄGCCÈí¼þ°üÀ´°²×°Ê¹Óᣱ¾ÎĽéÉܵÄÊÇÒÔÔ´´úÂëÐÎʽÌṩµÄGCCÈí¼þ°üµÄ°²×°¹ý³Ì£¬Èí¼þ°ü±¾ÉíºÍÆä°²×°¹ý³ÌͬÑùÊÊÓÃÓÚÆäËüLinuxºÍUnixϵͳ¡£
ϵͳÉÏÔ­À´µÄGCC±àÒëÆ÷¿ÉÄÜÊÇ°ÑgccµÈÃüÁîÎļþ¡¢¿âÎļþ¡¢Í·ÎļþµÈ·Ö±ð´æ·Åµ½ÏµÍ³ÖеIJ»Í¬Ä¿Â¼Ïµġ£Óë´Ë²»Í¬£¬ÏÖÔÚGCC½¨ÒéÎÒÃǽ«Ò»¸ö°æ±¾µÄGCC°²×°ÔÚÒ»¸öµ¥¶ÀµÄĿ¼Ï¡£ÕâÑù×öµÄºÃ´¦Êǽ«À´²»ÐèÒªËüµÄʱºò¿ÉÒÔ·½±ãµØɾ³ýÕû¸öĿ¼¼´¿É£¨ÒòΪGCCûÓÐuninstall¹¦ÄÜ£©£»È±µãÊÇÔÚ°²×°Íê³ÉºóÒª×öһЩÉèÖù¤×÷²ÅÄÜʹ±àÒëÆ÷¹¤×÷Õý³£¡£ÔÚ±¾ÎÄÖвÉÓÃÕâ¸ö·½°¸°²×°GCC 4.1.2£¬²¢ÇÒÔÚ°²×°Íê³Éºó£¬ÈÔÈ»Äܹ»Ê¹ÓÃÔ­À´µÍ°æ±¾µÄGCC±àÒëÆ÷£¬¼´Ò»¸öϵͳÉÏ¿ÉÒÔͬʱ´æÔÚ²¢Ê¹Óöà¸ö°æ±¾µÄGCC±àÒëÆ÷¡£
°´ÕÕ±¾ÎÄÌṩµ ......
×ܼǼÊý:5772; ×ÜÒ³Êý:962; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [3] [4] [5] [6] 7 [8] [9] [10] [11] [12]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ