Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÖа²×°Resin3ÊÖ¼Ç

°²×°²½Ö裺
Ø  °²×°resinÇ°ÏÈÒª±£Ö¤°²×°ÁËJDK£¬¿ÉÒÔÓÃÃüÁî²é¿´ÊÇ·ñ°²×°ÁËJDK£º
[root@wxr webapps]# java -versions
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
 
Ø  ÏÂÔØResin3µÄѹËõ°ü£¬ÎļþÃûΪ£ºresin-pro-3.1.10.tar.gz £»
Ø  ÔÚ /usr/localĿ¼Ï½âѹ´ËѹËõÎļþ£º
 [root@wxr local]# tar xzvf resin-pro-3.1.10.tar.gz
Ö®ºóÉú³ÉÒ»¸öÃûΪ“resin-pro-3.1.10”µÄÎļþ¼Ð, ¼´°²×°µÄResinĿ¼¡££»
 
Ø  °²×°£º
cd /usr/local/resin3
./configure
Make
Make install
 
Ø  Æô¶¯resin£º
[root@wxr bin]# ./httpd.sh start
Resin/3.1.10 started -server '' for watchdog at 127.0.0.1:6600
×¢£º¿ÉÒÔ°Ñ°²×°µÄresinÎļþ¼Ð¸Ä¸öÃû×Ö»òÕß×ö¸ö±¸·ÝΪresin3£º
[root@wxr bin]# mv resin-pro-3.1.10 resin3
[root@wxr bin]# cp -r resin-pro-3.1.10 resin3
 
 
Ø  ²é¿´²âÊÔÒ³£º
ÔÚÆäËû»úÆ÷ÉÏÈç¹ûÄÜpingͨ°²×°ÁËresinµÄ·þÎñÆ÷µØÖ·£¬¾ÍÓ¦¸ÃÄÜ·ÃÎÊresinµÄ²âÊÔÒ³ÁË£¬ÈçÔÚieÖÐÖ±½Ó·ÃÎÊ£ºhttp://192.168.2.254:8083
 
Ø  ÐÞ¸ÄÅäÖÃÎļþ
Resin3ÅäÖÃÎļþÊÇresin.conf¡£ÈçÏë¸Ä¶Ë¿ÚºÅΪ”8083”£º
[root@wxr conf]# pwd
/usr/local/resin3/conf
[root@wxr conf]# vi resin.conf
……..
    <server-default>
      <!-- The http port -->
      <http address="*" port="8083"/>
………
ÒÔÏÂΪÐ޸Ķ˿ںźóÏÔʾµÄ²âÊÔÒ³£º
Ø  The End…


Ïà¹ØÎĵµ£º

linuxµÄ´¥ÃþÆÁÖ®ËÄ£ºandroidµÄtslib¶ÔϲãLinuxµÄ¿ØÖÆ

£¨1£©ÈýÐǵĴ¥ÃþÆÁÇý¶¯s3c-ts.c£º
s3c_ts_init-¡·platform_driver_register(&s3c_ts_driver)£»
static struct platform_driver s3c_ts_driver = {
       .probe          = s3c_ts_probe,
       .dri ......

linux µ÷¶ÈÆ÷·¢Õ¹¼òÊö


·¢²¼µÄ 2.6.23 ÄÚºËÖаüº¬ÁËÒ»¸öÖØÒªµÄ±ä»¯£¬ÓÃCFSÌæ´úÁËÒÔÇ°µÄµ÷¶ÈÆ÷¡£CFS ±»ºÏ²¢µ½ mainline ֮ǰ£¬¹ØÓÚÄں˵÷¶ÈÆ÷»¹ÓÐÒ»¸öÖØÒªµÄ patch£ºRSDL¡£×îÖÕ 2.6.23 ¾ö¶¨½« CFS ºÏ²¢µ½ mainline ¶ø·ÅÆúÁË RSDL¡£ÎªÊ²Ã´ÒªÒýÈëеĵ÷¶ÈÆ÷£¬CFS ºÍ RSDL ÓÐʲôÁªÏµºÍÇø±ð£¿±¾ÎÄÊÔͼ¶ÔÄں˵÷¶ÈËã·¨µÄ·¢Õ¹ÀúÊ·×öÒ»¸ö¼òÒª½éÉÜ£¬Ï£ÍûÄ ......

linuxÏÂjdkµÄ°²×°ºÍжÔØ

 Ò»¡¢ jdkµÄ°²×° 
 1. ÏÂÔØjdk£º ´Ówww.sun.comÏÂÔØjdk£¨ jdk-1_5_0_20-linux-i586-rpm.bin £©£¬ÏÂÔغóʹÓÃsshÉÏ´«µ½linuxϵͳµÄhomeĿ¼Ï£¬µ±È»Ò²¿ÉÒÔ·ÅÔÚÆäËüĿ¼¡£
 2. ½øÈ밲װĿ¼,ÐÞ¸ÄjdkµÄʹÓÃȨÏÞ,¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄȨÏÞ£º
#cd /home
#chmod +x jdk-1_5_0_20-linux-i586.rpm.bin ......

LinuxÏÂconfigureÃüÁî²ÎÊýµÄÏêϸ˵Ã÷

Linux»·¾³ÏµÄÈí¼þ°²×°£¬²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊÂÇé;Èç¹ûͨ¹ýÔ´´úÂë±àÒëºóÔÚ°²×°£¬µ±È»ÊÂÇé¾Í¸üΪ¸´ÔÓһЩ;ÏÖÔÚ°²×°¸÷ÖÖÈí¼þµÄ½Ì³Ì¶¼·Ç³£ÆÕ±é;µ«Íò±ä²»ÀëÆäÖУ¬¶Ô»ù´¡ÖªÊ¶µÄÔúʵÕÆÎÕ£¬°²×°¸÷ÖÖÈí¼þµÄÎÊÌâ¾ÍÓ­Èжø½âÁË¡£Configure½Å±¾ÅäÖù¤¾ß¾ÍÊÇ»ù´¡Ö®Ò»£¬ËüÊÇautoconfµÄ¹¤¾ßµÄ»ù±¾Ó¦Óá£
ÓëһЩ¼¼ÇÉÏà±È£¬ConfigureÏԵûù´¡Ò» ......

linux LVM»ù±¾²Ù×÷

1.Ôö¼ÓÓ²¼þ
Ôö¼ÓµÄideÓ²ÅÌǰ׺Ϊhd£¬scsiÓ²ÅÌǰ׺Ϊsd£»µÚÒ»¿éÓ²ÅÌΪhda»òsda£¬µÚ¶þ¿éÓ²ÅÌΪhdb»òsdb,ÒÔ´ËÀàÍÆ¡£
2.ÓÃpvcreate´´½¨physical volumn
pvcreate /dev/sdb1 /dev/sdb2
´Ë´¦ËùÓõķÖÇøÊǵڶþ²½ÖвÙ×÷µÄÀàÐÍΪ8eµÄ·ÖÇø£¬pvcreateµÄ²ÎÊý¿ÉÒÔΪ1¸ö»ò¶à¸ö£»´´½¨Íê³Éºó¿ÉÒÔÓÃpvdisplay -vÀ´²é¿´´´½¨µÄÇé¿ö£¬ÓÃpvre ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ