2009-10-27 [ĹǯÆüµ]
_ [ÆüËܼò]²Ã²ìÆÐ »³ÇѽãÊƶã¾ú Îä¤ä¤ª¤í¤·¸¶¼ò
¡¡¶ì¤ß¤¬¥¬¥Ä¥ó¤ÈÍè¤ë¡¢¤¤¤«¤Ë¤âÃˤ餷¤¤ÆüËܼò¤é¤·¤¤Ì£¡£°ÊÁ°°û¤ó¤À¿¿À¡ ±üÅÁ´¨Â¤¤ê¤ÈƱ·ÏÅý¤Ê´¶¤¸¡£
_ [ÆüËܼò]½©¼¯ ½ãÊƶã¾ú Îä¤ä¤ª¤í¤·
¡¡·ë¹½Í̾¤ÊÂçºå¤ÎÃϼò¡£¼ÂºÝÎɤ¤ÆüËܼò¤È¤¤¤¦´¶¤¸¤Ç¤¢¤ë¤¬¡¢²¿¤È¤Ê¤¯¾åÉʤǾ¯¤·¤â¤Î¤ê¤Ê¤¤¤è¤¦¤Êµ¤¤¬¤¹¤ë¡£
_ [ÆüËܼò]±º²â ½ãÊÆÀ¸¼ò¡õ°ì¥Î¢ ÆÃÊ̽ãÊÆ
¡¡¤³¤Á¤é¤Ï¤É¤Á¤é¤âµÜ¾ë¤ÎÃϼò¡£°ì¥Î¢¤Ï£·¡Ý£±£±¤Ç¹ØÆþ¤·¤¿¤Î¤À¤¬¡¢°ì¥Î¢¤Î¸ø¼°¥Ú¡¼¥¸¤Ë¤¢¤ë¤Î¤È¥é¥Ù¥ë¤Î¥Ç¥¶¥¤¥ó¤¬°ã¤¦¤Î¤Ç¡¢¤â¤·¤«¤·¤¿¤é£·¡Ý£±£±ÀìÍѤΥ饤¥ó¤ÎÀ½Éʤ«¤â¡£
¡¡¤É¤Á¤é¤âƱ¶¿¤Î¤»¤¤¤«¡¢Æ±¤¸¤è¤¦¤ÊÌ£¤Î·¹¸þ¤Ç¤Á¤ç¤Ã¤È´Å¤ß¤¬¤¢¤ë¡£¤¿¤À°ì¥Î¢¤ÎÊý¤Ï³«¤±¤Æ¤·¤Ð¤é¤¯·Ð¤Ä¤È´Å¤ß¤¬¤Ê¤¯¤Ê¤ë·¹¸þ¤Ë¤¢¤ë¤è¤¦¤À¡£
2009-10-29 [ĹǯÆüµ]
_ [µ»½Ñ]FreeBSD¤ÇFunambol¤ò»È¤¦
¡¡Funambol¤Ã¤Æ¤Î¤ÏSyncML¥Ù¡¼¥¹¤Ç¥¹¥±¥¸¥å¡¼¥ë¤Ê¤ÉPIM¥Ç¡¼¥¿¤ò¥Í¥Ã¥È¥ï¡¼¥¯·Ðͳ¤ÇƱ´ü¤µ¤»¤ë¥·¥¹¥Æ¥à¤ò³«È¯¤·¤Æ¤¤¤ë²ñ¼Ò¡£¤Ç¤â¤Ã¤Æ³«È¯¤·¤¿¥¢¥×¥êÎà¤Ï¥ª¡¼¥×¥ó¥½¡¼¥¹¤Ç¸ø³«¤·¤Æ¤¤¤ÆÍøÍѤǤ¤ë¡£¥µ¡¼¥Ð¥¢¥×¥ê¤Ï¸½ºßLinux¤ÈWindowsÍѤΤâ¤Î¤¬¸ø³«¤µ¤ì¤Æ¤¤¤ë¤¬¡¢¤½¤ÎÃæ¿È¤ÏJAVA Servelet¤Ê¤Î¤Ç¾¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤â»È¤¨¤ë¤Ï¤º¡£¤È¸À¤¦¤³¤È¤Çº£²ó¤ÏFreeBSD¤ÇÆ°¤«¤·¤Æ¤ß¤¿¤Î¤Ç¤½¤ÎµÏ¿¤ò¤³¤³¤Ë»Ä¤¹¡£
¡¡¤Ä¤¤¤Ç¤Ë¥Ð¥Ã¥¯¥¨¥ó¥É¤È¤·¤Æmysql¤â»È¤¨¤ë¤è¤¦¤Ê¤Î¤Ç¡Ê¥Ç¥Õ¥©¥ë¥È¤Ï¥Ð¥ó¥É¥ë¤Î¥ª¥ê¥¸¥Ê¥ë¡©RDB¡Ë¡¢¤½¤ÎÊÕ¤ÎÊѹ¹¤â°ì½ï¤Ë²Ã¤¨¤Æ¤¤¤ë¡£¤½¤Î´ØÏ¢¼ê½ç¤Ï°ì±þ[mysql]¤ÈÉÕµ¤·¤Æ¤ª¤¯¤¬Ãí°Õ¡£
´Ä¶
FreeBSD 7.2-RELEASE
»öÁ°½àÈ÷
¡¡°Ê²¼¤Î¥¢¥×¥ê¡Ê¤È°Í¸¤¹¤ë¥¢¥×¥ê¡Ë¤òports¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£diablo¤Ï¥é¥¤¥»¥ó¥¹¤ÎÅÔ¹ç¾å¡¢°ìÉô¥Õ¥¡¥¤¥ë¤Ï¼êÆ°¤Ç¥À¥¦¥ó¥í¡¼¥É¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤Î¤ÇÃí°Õ¡£
- diablo-jdk-1.6.0.07.02_6 (java/diablo-jdk16)
- tomcat-6.0.20_1 (www/tomcat6)
- apache-ant-1.7.1 (devel/apache-ant)
- mysql-connector-java-5.1.8 (databases/mysql-connector-java)
- bsh-2.0.b4_6 (lang/bsh)
- rhino-1.7.r2 (lang/rhino)
¡¡¤µ¤é¤Ë¤³¤³¤«¤ébsf-3.0.tar.gz¤ò¥À¥¦¥ó¥í¡¼¥É¤·Å¸³«¡¢lib¥Ç¥£¥ì¥¯¥È¥êÆâ¤Îbsf-all-3.0.jar¤ò¡¢/usr/local/share/java/classes/°Ê²¼¤Ë¥³¥Ô¡¼¤·¤Æ¤ª¤¯¡£
Funambol¥µ¡¼¥Ð¥¤¥ó¥¹¥È¡¼¥ë
¡¡¤Þ¤º¤³¤³¤Î"Funambol server"¤«¤éLinuxÍѤÎtgz¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¡£¡Êº£²ó»ÈÍѤ·¤¿¤Î¤Ï8.0.1¡Ë¤³¤ì¤òŸ³«¤·¤Æ¤Ç¤¤ëfunambol-8.x.x.bin¤Ï¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Ê¤Î¤Ç¡¢¥·¥§¥ë¤ËÆɤ߹þ¤Þ¤»¤Æ¼Â¹Ô¤¹¤ë¡£
sh funambol-8.x.x.bin
¡¡¤¹¤ë¤ÈŸ³«Àè¤òʹ¤¤¤Æ¤¯¤ë¤Î¤Ç¡¢¤³¤³¤Ç¤Ï/usr/local¤Ë¤¹¤ë¡£·ë²Ì/usr/local/Funambol/¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Ë´ØÏ¢¥Õ¥¡¥¤¥ë¤¬Å¸³«¤µ¤ì¤ë¡£
[mysql¤³¤³¤«¤é]
¤Þ¤ºmysql¤Ëfunambol¤È¸À¤¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºîÀ®¤¹¤ë¡£
$ mysqladmin -uroot -p create funambol
¡¡¤µ¤é¤ËƱ̾¤Î¥æ¡¼¥¶¤òºîÀ®¤·¡¢¤½¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë¸¢¸Â¤òÍ¿¤¨¤Æ¤ª¤¯¡£
mysql> grant all on funambol.* to funambol identified by 'YOURPASSWORD';
¡¡/usr/local/Funambol/ds-server/install.properties¤òÊÔ½¸¤·¡¢°Ê²¼¤Îµ½Ò¤ò¥³¥á¥ó¥È¥¢¥¦¥È¡£
#jdbc.classpath=../tools/hypersonic/lib/hsqldb.jar #jdbc.driver=org.hsqldb.jdbcDriver #jdbc.url=jdbc:hsqldb:hsql://localhost/funambol #jdbc.user=sa #jdbc.password=
¡¡°Ê²¼¤Îmysql´ØÏ¢¤Î¥³¥á¥ó¥Èµ¹æ¤ò¤Ï¤º¤·¡¢classpath¤ò°Ê²¼¤Î¤è¤¦¤Ë½ñ¤´¹¤¨¡¢url¤òmysql¤¬²ÔƯ¤·¤Æ¤¤¤ë¥µ¡¼¥Ð̾¤Ë½ñ¤´¹¤¨¡¢¤µ¤é¤Ëpassword¤òÀè¤ËÀßÄꤷ¤¿mysql¤Îfunambol¥æ¡¼¥¶¤Î¥Ñ¥¹¥ï¡¼¥É¤ËÊѹ¹¡£
jdbc.classpath=/usr/local/share/java/classes/mysql-connector-java.jar jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://<hostname>/funambol?characterEncoding=UTF-8 jdbc.user=funambol jdbc.password=funambol
[mysql¤³¤³¤Þ¤Ç]
¡¡¤½¤ì¤¬¤Ç¤¤¿¤éroot¸¢¸Â¤Ç/usr/local/Funambol/ds-server¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·¡¢°Ê²¼¤ò¼Â¹Ô¤¹¤ë¡£
# APPSRV="tomcat60" JAVA_HOME=/usr/local/diablo-jdk1.6.0/ J2EE_HOME=/usr/local/apache-tomcat-6.0/ CLASSPATH=/usr/local/share/java/rhino:/usr/local/share/java/apache-ant/lib:/usr/local/share/java/classes ant -Ddo.install-db=true -buildfile ./install/install.xml install
¡¡ÅÓÃæ¤Ç²¿ÅÙ¤«¡¢DB¤òºîÀ®¤¹¤ë¤«¤Èʹ¤«¤ì¤ë¡£½é²ó¤Ï"y"¤ÇDB¤òºîÀ®¤¹¤ë¡£¤¹¤Ç¤Ë²ÔƯÃæ¤Î´Ä¶¤Ç¤Ï¡¢"y"¤È¤¹¤ë¤È¥Ç¡¼¥¿¤¬¤¹¤Ù¤Æ¾Ã¤µ¤ì¤ë¤Î¤ÇÃí°Õ¡£¤³¤Î¼ê½ç¤Çtomcat¤Ëdeploy¤µ¤ì¤ë¡£
³Æ¼ï¥Õ¥¡¥¤¥ë½¤Àµ
/usr/local/Funambol/bin¤Ë¤¢¤ë°Ê²¼¥Õ¥¡¥¤¥ë¤ò½¤Àµ¤¹¤ë¡£
funambol¥Õ¥¡¥¤¥ë
¡¡7¹ÔÌܰʹߤ˰ʲ¼¤òÄɲá£
export JAVA_HOME=/usr/local/diablo-jdk1.6.0 export JRE_HOME=$JAVA_HOME
¡¡°Ê²¼¤Îµ½Ò¤ò½¤Àµ¡£
export J2EE_HOME=${FUNAMBOL_HOME}/tools/tomcat export CATALINA_HOME=${FUNAMBOL_HOME}/tools/tomcat
¡¡¡¡¡¡¡¡¡¡¢
export J2EE_HOME=/usr/local/apache-tomcat-6.0 export CATALINA_HOME=/usr/local/apache-tomcat-6.0
FUNAMBOL_HOME=`(cd .. ; pwd)`
¡¡¡¡¡¡¡¡¡¡¢
FUNAMBOL_HOME=/usr/local/Funambol/
[mysql¤³¤³¤«¤é]
¡¡°Ê²¼¤Îµ½Ò¤â½¤Àµ¡£
COMED=true
¡¡¡¡¡¡¡¡¡¡¢
COMED=false
[mysql¤³¤³¤Þ¤Ç]
funambol-server¥Õ¥¡¥¤¥ë
¡¡°Ê²¼¤Îµ½Ò¤ò½¤Àµ¡£
J2EE_HOME=$FUNAMBOL_HOME/tools/tomcat
¡¡¡¡¡¡¡¡¡¡¢
J2EE_HOME=/usr/local/apache-tomcat-6.0
pim-listener¥Õ¥¡¥¤¥ë
¡¡75¹ÔÌÜ¡Ê"# Setting classpath"¤Îľ²¼¡Ë¤Ë°Ê²¼¤òÄɲá£
CLASSPATH=$CLASSPATH:/usr/local/share/java/classes/mysql-connector-java.jar
¡Êmysql-connector¤Ïɸ½à¤Î¥¯¥é¥¹¥Ñ¥¹¤ËÆþ¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢ËÜÍ褳¤ÎÍͤʵ½Ò¤ÏÉÔÍפʤϤº¤À¤¬¡¢¤Ê¤¼¤«¤Ê¤¤¤Èǧ¼±¤µ¤ì¤Ê¤«¤Ã¤¿¡Ë
/usr/local/apache-tomcat-6.0/conf¤Ë¤¢¤ë°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤ò½¤Àµ¤¹¤ë¡£
context.xml¥Õ¥¡¥¤¥ë
¡¡°Ê²¼¤ÎÆâÍƤò34¹ÔÌÜ¡Ê"</Context>"¤ÎÁ°¡Ë¤ËÄɲá£
<Resource name="jdbc/fnblds" auth="Container" type="javax.sql.DataSource" factory="com.funambol.server.db.DataSourceFactory" /> <Resource name="jdbc/fnblcore" auth="Container" type="javax.sql.DataSource" factory="com.funambol.server.db.DataSourceFactory" /> <Resource name="jdbc/fnbluser" auth="Container" type="javax.sql.DataSource" factory="com.funambol.server.db.DataSourceFactory" />
µ¯Æ°
¡¡¤³¤³¤Þ¤Ç¤Ç¤¤¿¤é¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤Çµ¯Æ°¤¹¤ë¡£
# /usr/local/Funambol/bin/funambol start
¡¡¤¢¤È¤ÏFunambol¥µ¡¼¥Ð¤Î¥Þ¥Ë¥å¥¢¥ë¤Ë¤·¤¿¤¬¤Ã¤Æ½é´üÀßÄê¤ò¤¹¤ì¤Ð¤è¤¤¡£The Funambol Administration Tool¤Ï¤³¤³¤Î"I want to run my own server"¤«¤é¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤ë¡£
¡¡¤¿¤À¤·¡¢¥µ¡¼¥Ð¤Î¥Ý¡¼¥È¤¬¥Þ¥Ë¥å¥¢¥ë¤Ç¤Ï8080¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤¬¡¢¤³¤Î´Ä¶¤Ç¤Ï8180¤Ë¤Ê¤Ã¤Æ¤¤¤ëÅÀ¤ËÃí°Õ¡£
»ÈÍÑ´¶
¡¡¤³¤³¤Î"I want to sync my phone"¤«¤é¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤ëWindowsmobileÍѤΥ¯¥é¥¤¥¢¥ó¥È¤È¡¢LightningÍѤÎfunambol¥¯¥é¥¤¥¢¥ó¥È¤ò»ÈÍѤ·¤Æ¡¢Áê¸ß¤ËƱ´ü¤¹¤ë¤È¤¤¤¦»È¤¤Êý¤ò¤·¤Æ¤¤¤ë¡£Ï¢ÍíÀ衦¥¹¥±¥¸¥å¡¼¥ë¡¦ToDo¤ÎƱ´ü¤ÏÌäÂê¤Ê¤¯¤Ç¤¤Æ¤¤¤ë¡£¤¿¤ÀSyncML¤Î»ÈÍѾå¤ÎÀ©¸Â¤é¤·¤¤¤Î¤À¤¬¡¢Ï¢ÍíÀè¤ÎÆɤ߲¾Ì¾¤¬Æ±´ü¤µ¤ì¤Ê¤¤¤è¤¦¤À¡£ÍÎʪ¥¢¥×¥ê¤Ç¤½¤ÎÊÕÂбþ¤Ç¤¤ë¤â¤Î¤Ï¼ÂºÝ¾¯¤Ê¤¤¡£
¡¡ActiveSync¤ä¤éOutlook¤ä¤é¤ò»È¤¦É¬Íפ¬¤Ê¤¤¤Î¤âÊØÍø¤À¤¬¡¢¥µ¡¼¥Ð·Ðͳ¤Ê¤Î¤Ç¡¢Æ±´ü¤µ¤»¤ë¤È¤¤Ë¤ï¤¶¤ï¤¶¥Ç¥¹¥¯¥È¥Ã¥×¤È¥â¥Ð¥¤¥ëµ¡¤ò¤½¤í¤¨¤ëɬÍפ¬¤Ê¤¤¤Î¤¬Îɤ¤¡£Í½Äê¤äToDo¤¬¤Ç¤¤¿»þÅÀ¤Ç¤½¤ì¤¾¤ì¤ÇÆþÎϤ·¤Æ¤ª¤¤¤Æ¡¢¤¢¤È¥â¥Ð¥¤¥ëµ¡¤ò»ý¤Ã¤Æ½Ð¤ë½Ð¤¬¤±¤Ë¤Ç¤âŬµ¹Æ±´ü¤·¤Æ¤ª¤±¤Ð¡¢°ì¡¹¥â¥Ð¥¤¥ëµ¡¤òÊì´Ï¤Ë¤Ä¤Ê¤²¤Æ±¾¡¹¤È¸À¤¦É¬Íפ¬¤Ê¤¤¡£¤³¤ì¤¬·ë¹½µ¤³Ú¤ÇÊØÍø¤Ç¤¢¤ë¡£
<<
2009/10/
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
1. ²Ã²ìÆÐ »³ÇѽãÊƶã¾ú Îä¤ä¤ª¤í¤·¸¶¼ò
2. ½©¼¯ ½ãÊƶã¾ú Îä¤ä¤ª¤í¤·
3. ±º²â ½ãÊÆÀ¸¼ò¡õ°ì¥Î¢ ÆÃÊ̽ãÊÆ
28
29
1. FreeBSD¤ÇFunambol¤ò»È¤¦
30
31
¤³¤Îwork¤Ï¡¢¥¯¥ê¥¨¥¤¥Æ¥£¥Ö¡¦¥³¥â¥ó¥º¡¦¥é¥¤¥»¥ó¥¹¤Î²¼¤Ç¥é¥¤¥»¥ó¥¹¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
_ okamoto [²¬Ëܤȿ½¤·¤Þ¤¹¡£¤Ï¤¸¤á¤Þ¤·¤Æ¡£ ËܲȤÇFreeBSD 8.0¾å¤Çfunambol¤Î¥¤¥ó¥¹¥È¡¼¥ë¤¬ÏÃÂê¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£..]
_ ¥¹¡¼¥Ñ¡¼¥³¥Ô¡¼¥Ö¥é¥ó¥É·ã°ÂÄÌÈÎÀìÌçŹ¥·¥ã¥Í¥ë¥Ð¥Ã¥°¥³¥Ô¡¼ÉÊ [¥«¡¼¥É¤Ç»È¤¨¤ëÆüËܸ촰Á´Âбþ¤Î°Â¿´¤Ê¥Ö¥é¥ó¥É¥³¥Ô¡¼¥·¥ç¥Ã¥× ¥ë¥¤¥ô¥£¥È¥ó¡¢¥·¥ã¥Í¥ë¡¢¥°¥Ã¥Á¡¢¥¨¥ë¥á¥¹¡¢¥×¥é¥ÀÅù¤Î¥³..]