LinuxĿ¼ȨÏÞÉèÖÃ
Ç°ÑÔ:
ÕâÊÇһƪºÜ³õ¼¶µ«ÊÇÒ²±È½Ï¼òµ¥ÈÝÒ×ѧϰLinuxĿ¼ȨÏÞÉèÖõÄÎÄÕÂ,֮ǰÎÒʹÓÃWindows Serverϵͳ,ÓÃͼÐνçÃæ¹ÜÀíÎļþµÄ·ÃÎÊȨÏÞ.ºóÀ´ÔÚѧϰGUN/Linux ServerµÄʱºò·¢ÏÖGUN/LinuxµÄȨÏÞ¹ÜÀíÉèÖ÷dz£Ç¿´ó,Ò²·Ç³£·½±ã.µ«ÊÇÎÒ·¢ÏÖÔÚÍø·ÉÏûÓÐһƪÎÄÕÂÊÇÍêÕûÐðÊö+ÈöÁÕߺÜÈÝÒ×Àí½âµÄ,ÓÚÊÇÎÒдÁËÕâƪ¼òµ¥Ò׶®µÄLinuxÖ®Îļþ¼ÐȨÏÞÉèÖÃÏ£Íû¿ÉÒÔ°ïµ½´ó¼Ò.
ȨÏÞÉèÖÃÓÐʲôºÃ´¦?
Ëæ׿ÆËã»úÆÕ¼°ËÙ¶ÈÔ½À´Ô½¿ì,¼ÒÍ¥ÖÐÓÐһ̨ÒÔÉϼÆËã»ú,ÅóÓÑ´ø×űʼDZ¾À´´®ÃűäµÃÔ½À´Ô½Æ½³£.µ«ÊÇÔÚÓë¼ÒÈË»òÅóÓÑ·ÖÏí×Ô¼ºµçÄÔÉÏÊղصĺö¬¶¬µÄʱºòÓÐûÓÐÅöµ½·ÃÎʲ»ÄÜ?ûÓÐÎļþÖ´ÐÐȨÏÞ?ÓÖ»òÕßÊDz»Ï£Íû¼ÒÈËÓëÅóÓÑ°Ñ×Ô¼ºµçÄÔÉϵĶ¬¶¬¿´¸ö¾«¹â¶øÓÐÏ£ÍûÓëËûÃÇ·ÖÏí×Ô¼ºÏë¸øËûÃÇ¿´µÄ¶¬¶¬?
Èç¹ûÄãÓöµ½¹ýÒÔÉÏÎÊÌâ¶øµ½ÏÖÔÚ»¹Ã»Óнâ¾ö,ÄÇôÄã¾Í¿ÉÒÔ½Ó×ÅÍùÏÂÔĶÁÁË.ÎÒÏàÐÅÎÒ¿ÉÒÔ½â¾öÄãµÄÄÑÌâ!
Ê×ÏÈ
ÇëÏÈÈ·¶¨ÄãÏëÉèÖõļÆËã»úϵͳΪGUN/Linux,ÄãÔÚÄãÏëÉèÖõļÆËã»úϵͳÖÐÓµÓйÜÀíԱȨÏÞ»òÓµÓпÉÒÔʹÓÃsudoÃüÁîµÄÕË»§.
ÔÚLinuxÖÐʹÓÃÖÕ¶ËÃüÁîÐÐÔ¶±ÈͼÐνçÃæÒªºÃÓöøÊ¡Á¦,ËùÒÔ±¾ÎÄÕÂÈ«²¿¶¼ÊÇÔÚÖÕ¶ËÖнøÐÐ.
¸ö±ðÃüÁîÔÚUnixϵͳ»òMac OS X Leopard 10.5ÖÐÒ²¿ÉʹÓÃ,Èç¹ûÕâÐÐÃüÁîÔÚUnix»òMac Os X Leopard 10.5ÖÐÒ²¿ÉʹÓÃ,ÎÒ»áÔÚÃüÁîµÄ×îºó½øÐбê×¢.
ºÃÁË,ÏÖÔÚÇë´ò¿ªÄãµÄÖÕ¶Ë.
Ê×ÏÈÊäÈë su È»ºóÊäÈëÄãµÄ¹ÜÀíÔ±ÕË»§ÃÜÂë,Èç¹ûÄãÊÇʹÓà sudo ÄÇôÇëÊäÈë sudo su È»ºóÊäÈëÄãµÄÕË»§ÃÜÂëµÇ¼. [Linux/Unix/Mac]
µÈ´ýÃüÁîÌáʾ·û±ä³É#È»ºó½øÐÐÏÂÃæµÄ²Ù×÷.
½øÈëÄãÏë¹²ÏíµÄÎļþ¼Ð,×îºÃÊÇÔÚ /home Ŀ¼ÏÂ,ÕâÑù±È½ÏÉÆÓÚ¹ÜÀí.Èç¹ûÄ㻹ûÓÐרÃÅÓÃÀ´¹²ÏíµÄÎļþ¼Ð,ÄÇôÄã¿ÉÒÔ½¨Á¢Ò»¸ö.
½øÈëÄãÏ뽨Á¢¹²ÏíÎļþ¼ÐµÄĿ¼. cd ·¾¶ ÃüÁî¿ÉÒÔ°ïÖúÄãÈ¥ÈκÎÄãÏëÈ¥µÄĿ¼,±ÈÈç cd /var/www ¾ÍÊǽøÈë¸ùĿ¼ÏµÄvarÎļþ¼ÐÀïµÄwwwÎļþ¼ÐÀï.Èç¹ûÄã²»ÖªµÀÄãÏëÈ¥µÄĿ¼Ãû×Ö,Äã¿ÉÒÔ cd / ½øÈë¸ùĿ¼,È»ºóÊäÈë ls ÃüÁî,²é¿´¸ùĿ¼ÀïµÄËùÓÐÎļþ¼ÐÃû,È»ºóÔÚÓà cd ÃüÁî½øÈëÄãÏëҪȥµÄÎļþ¼Ð [Linux/Unix/Mac]
cd .. ¿ÉÒÔÈÃÄã·µ»ØÉÏÒ»¼¶Ä¿Â¼,±ÈÈçÄãÔÚ/var/wwwĿ¼ÖÐ,ÊäÈë cd .. ¾Í»á·µ»Øµ½varĿ¼ÖÐ,Èç¹ûÊäÈë cd …/blog/ Ôò»á½øÈë /var/Ŀ¼ÀïµÄblogÎļþ¼Ð. [Linux/Unix/Mac]
ÊäÈë mkdir ÄãÏ뽨Á¢µÄ¹²ÏíÎļþ¼ÐµÄÃû×Ö,±ÈÈç mkdir sharing [Linux/Unix/Mac]
ºÃÁË,½¨Á¢ºÃ¹²ÏíÎļþ¼ÐÁË.µ«ÊÇÕâ¸öÎļþ¼ÐÊÇÓùÜÀíÔ±ÕË»§½¨Á¢µÄ,ÔÚÆÕͨÕË»§µÇ¼µÄͼÐνçÃæÖв¢²»ÄÜÖ±½Ó·ÃÎÊ»òÐÞ¸Ä,¿½±´ÐÞ¸ÄÎļþµÄʱºò»áºÜÂé·³.ËùÒÔ
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
¡¶Unix/LinuxϵÄCurses¿â¿ª·¢Ö¸ÄÏ¡·ÓÚ2003ÄêÓÉÇ廪³ö°æÉç³ö°æ£¬ºÏͬÔÚ2008Äê½áÊø¡£ÕâÊǹúÄÚΨһµÄÒ»±¾¹ØÓÚCurses¿â¿ª·¢Ö¸ÄϵÄͼÊé¡£±¾ÊéÎÞÒâÔٰ棬Òò´ËÌØÒ⹫¿ªÈ«ÊéÄÚÈÝ£¬ËùÓеÄÕ½ڻáÖ𽥷ųö¡£Ï£Íû¶Ô´ó¼ÒÓÐÓᣠ......
//videoserver
#!/bin/bash
#
# videoserver
#
# chkconfig: 3456 11 91
# description: videoserver
# Source function library.
. /etc/rc.d/init.d/functions
prog="videoserver"
start() {
# Start daemons.
echo -n $"Starting $prog: "
/video/videoserver/recordvideosvr /video/videoserver ......
linuxÖÐÓÃifconfigΪÍø¿¨ÅäÖÃIPµØÖ·µÈ£¬ÔÚϵͳÖØÆôºó¾ÍʧЧÁË¡£ÎªÁ˱£Ö¤ÅäÖÃÓÀ¾ÃÉúЧ£¬ÐèÒª²ÉÓÃÐÞ¸ÄÅäÖÃÎļþµÄ¾²Ì¬ÅäÖ÷½·¨£¬×ܽáÈçÏ£º
1. cd /etc/sysconfig/network-scripts¡£
2. vi ifcfg-eth0(Ò²¿ÉÄÜÊÇeth1£¬eth2£¬·Ö±ð¶ÔÓ¦²»Í¬µÄÍø¿¨)
3. ÅäÖÃÄÚÈÝÈçÏ£º
DEVICE=eth0 //Íø¿¨É豸à ......