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…
Ïà¹ØÎĵµ£º
£¨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 ......
·¢²¼µÄ 2.6.23 ÄÚºËÖаüº¬ÁËÒ»¸öÖØÒªµÄ±ä»¯£¬ÓÃCFSÌæ´úÁËÒÔÇ°µÄµ÷¶ÈÆ÷¡£CFS ±»ºÏ²¢µ½ mainline ֮ǰ£¬¹ØÓÚÄں˵÷¶ÈÆ÷»¹ÓÐÒ»¸öÖØÒªµÄ patch£ºRSDL¡£×îÖÕ 2.6.23 ¾ö¶¨½« CFS ºÏ²¢µ½ mainline ¶ø·ÅÆúÁË RSDL¡£ÎªÊ²Ã´ÒªÒýÈëеĵ÷¶ÈÆ÷£¬CFS ºÍ RSDL ÓÐʲôÁªÏµºÍÇø±ð£¿±¾ÎÄÊÔͼ¶ÔÄں˵÷¶ÈËã·¨µÄ·¢Õ¹ÀúÊ·×öÒ»¸ö¼òÒª½éÉÜ£¬Ï£ÍûÄ ......
Ò»¡¢ 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½Å±¾ÅäÖù¤¾ß¾ÍÊÇ»ù´¡Ö®Ò»£¬ËüÊÇautoconfµÄ¹¤¾ßµÄ»ù±¾Ó¦Óá£
ÓëһЩ¼¼ÇÉÏà±È£¬ConfigureÏԵûù´¡Ò» ......
1.Ôö¼ÓÓ²¼þ
Ôö¼ÓµÄideÓ²ÅÌǰ׺Ϊhd£¬scsiÓ²ÅÌǰ׺Ϊsd£»µÚÒ»¿éÓ²ÅÌΪhda»òsda£¬µÚ¶þ¿éÓ²ÅÌΪhdb»òsdb,ÒÔ´ËÀàÍÆ¡£
2.ÓÃpvcreate´´½¨physical volumn
pvcreate /dev/sdb1 /dev/sdb2
´Ë´¦ËùÓõķÖÇøÊǵڶþ²½ÖвÙ×÷µÄÀàÐÍΪ8eµÄ·ÖÇø£¬pvcreateµÄ²ÎÊý¿ÉÒÔΪ1¸ö»ò¶à¸ö£»´´½¨Íê³Éºó¿ÉÒÔÓÃpvdisplay -vÀ´²é¿´´´½¨µÄÇé¿ö£¬ÓÃpvre ......