on i4PACE(i for Personal Archiving and Creating Environment)
actions » SearchLogin 89 articles • 09 Sep 2010

Articles written on 22 Dec 2009

Tuesday, 22 Dec 2009

permalink liferay

try liferay (http://liferay.com). it's java-based CMS. MIT license.

documentation (http://www.liferay.com/web/guest/community/documentation/5_2) has a book.
follow quick installation instrustions.
hardware requirements is 1GB of RAM. the machine i'm installing has 4GB. so, it's ok.
listed as prerequisites: java 5 or later -- yes, i have. let me check... i have sun-java5-jdk installed on Ubuntu 9.10.
download liferay-portal-tomcat-6.0-5.2.3.zip at http://www.liferay.com/web/guest/downloads/portal. there are other bundles, but this one is recommended. it's got 135MB.

unzipping creates a directory liferay-portal-5.2.3. move it to /var/www/. rename it as liferay.

> cd /var/www/liferay/tomcat-6.0.18/bin
> ./startup.sh
Using CATALINA_BASE:   /var/www/liferay/tomcat-6.0.http://blogs.sun.com/koma/entry/liferay_5_218
Using CATALINA_HOME:   /var/www/liferay/tomcat-6.0.18
Using CATALINA_TMPDIR: /var/www/liferay/tomcat-6.0.18/temp
Using JRE_HOME:       /usr

voila! it automatically opened a browser here, showing "Welcome to Liferay".

gee, it's so eeeaasy!

login as an administrator bruno@7cogs.com. try to edit the front page. wysiwig editor is nice.

to change the language into Japanese, following the instructions here. Menu(uppper right of the screen) -> Add Applications -> Tools -> Language, then click an icon for Japanese. tha's it! nice :->

trying to figure out how to translate it. this page for translation. turns out the properties file is stored in portal-impl.jar at /var/www/liferay/tomcat-6.0.18/webapps/ROOT/WEB-INF/lib. see

> cd   /var/www/liferay/tomcat-6.0.18/webapps/ROOT/WEB-INF/lib
> jar tf portal-impl.jar | grep Lanuage_ja
content/Language_ja.properties
content/Language_ja.properties.native

As commented here, use jar xf and jar cf. and use > jar -xvf Languate_ja.properties.native to extract, > jar -cvf Laguate_ja.properties.native to renew the lanuage file.

in the source code liferay-portal-src-5.2.3.zip at http://sourceforge.net/projects/lportal/files, Language_ja.properties.native is in portal-impl/src/content.

References

  1. WIKI GUIDE FOR LIFERAY 5 http://www.liferay.com/web/guest/community/wiki.
  2. A thread for Japanese translation http://www.liferay.com/web/guest/community/forums/-/message_boards/message/1288425.
  3. Japanese liferay user group http://liferay-jp.sourceforge.jp/.
  4. Koma's blog -- Liferay 5.2 installation on Solaris http://blogs.sun.com/koma/entry/liferay_5_2.
  5. Using a Locale other than English (en_US) http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Cannot+set+page+names+%28using+a+locale+other+than+en+US%29;jsessionid=1ADD52BE1E8D1E2A87C2C7DC1E57DF10
  6. Comments on overriding portal.properties http://www.liferay.com/web/guest/community/forums/-/message_boards/message/220743
• Wrote Teru at 12:29 (edited 31×, last on 24 Dec 2009) | read 125× | 0 Comments

1 shown; more articles may be found in the archives. The permalink icon is the article's permalink.
Process times: page=0.035 request=0.044 cpu=0.040