練功房推薦書單

  • 猛虎出柙雙劍合璧版:最新 OCA / OCP Java SE 7 Programmer 專業認證
  • 流浪教師存零股存到3000萬
  • SCJP 6.0認證教戰手冊(第二版)Oracle Certified Professional Java Programmer(附光碟)
  • 小資女艾蜜莉:我的資產翻倍存股筆記
OLAT 6.0.4->6.0.6升級筆記  RSS feed
Forum Index » OLAT中文社群 OLAT Chinese Users Community
Author Message
andowson

七段學員
[Avatar]

Joined: 2007-01-02 22:20:40
Messages: 705
Location: 台北
Offline
這個週末花了兩天終於把現有的OLAT由6.0.4升級至6.0.6, 步驟如下:
cd ~/download
mv olat3 olat-6.0.4
wget http://www.olat.org/downloads/stable/OLAT-6.0.6.zip
unzip OLAT-6.0.6.zip
mv OLAT-6.0.6-PUBLIC-* olat3
cd olat3
sed -e "s/\/usr\/local\/opt\/olat\/olat3/\/home\/andowson\/download\/olat3/g" \
-e "s/\/usr\/local\/opt\/olat\/olatdata/\/home\/andowson\/www\/data\/olatdata/g" \
-e "1,$$s/myolat/andowson/g" \
-e "s/smtp.host=smtp.andowson.com/smtp.host=mail.andowson.com/" \
-e "s/\/usr\/local\/opt\/tomcat/\/var\/tomcat5/g" \
-e "1,$$s/net.sf.hibernate/org.hibernate/g" \
-e "48c\server.modjk.enabled=true" \
-e "57c\defaultcharset=UTF-8" \
-e "95,117d" \
-e "1,$$s/#db/db/g" \
-e "s/instantMessaging.enable=false/instantMessaging.enable=true/" \
-e "s/instantMessaging.server.name=jabber.andowson.com/instantMessaging.server.name=www.andowson.com/" \
-e "s/instantMessaging.generateTestUsers=false/instantMessaging.generateTestUsers=true/" \
-e "s/instantMessaging.db.name=wildfire/instantMessaging.db.name=openfire/" \
-e "s/instantMessaging.db.user=wildfire/instantMessaging.db.user=olat/" \
-e "s/instantMessaging.db.pass=wildfire/instantMessaging.db.pass=olat/" \
-e "s/cluster.catalinaport=8005/cluster.catalinaport=8105/" \
-e "s/cluster.ajpport = 8009/cluster.ajpport = 8109/" build.properties.default > build.properties
ant install
ant jsmath
sudo /etc/init.d/tomcat stop
mv ~/www/olat /tmp/olat-6.0.4
cp -rf ~/download/olat3/webapp ~/www/olat
cp -rf ~/download/olat3/htdocs/* ~/www/olat
sed -i -e "13c\        <\!-- default session timeout -->" ~/www/olat/WEB-INF/web.xml
rm -rf ~/www/olat/WEB-INF/src
rm -rf ~/www/olat/WEB-INF/patchesSrc
rm -rf ~/www/olat/WEB-INF/test
cp /tmp/olat-6.0.4/WEB-INF/classes/hibernate.properties ~/www/olat/WEB-INF/classes/.
chgrp -R tomcat ~/www/olat
chgrp -R tomcat ~/www/data/olatdata
chmod 775 ~/www/olat/static
chmod 775 ~/www/olat/WEB-INF
sudo -u postgres pg_dump olat > /tmp/olat.bak
sudo /etc/init.d/tomcat start

分享經驗 累積智慧
[WWW] [MSN]
agogokid

十級學員

Joined: 2009-04-21 13:05:49
Messages: 1
Offline
請問您這個版本的olat對於語言的支援,是否完備?
也就是如果我在後台新增課程,能夠以完整的中文呈現嗎?

謝謝.
andowson

七段學員
[Avatar]

Joined: 2007-01-02 22:20:40
Messages: 705
Location: 台北
Offline
OLAT是用Java語言開發的LMS,支援UTF-8編碼,因此您可以輸入中文課程名稱,並能正常顯示。需要注意的是,教材內容如果有中文字元需要用UTF-8編碼才能正常顯示。

分享經驗 累積智慧
[WWW] [MSN]
 
Forum Index » OLAT中文社群 OLAT Chinese Users Community
Go to: