Du ser en gammel version af denne side. Se den nuværende version.

Sammenlign med nuværende Vis sidehistorik

Version 1 Næste »

I have previously tested Liferay 6.x, and found it very interesting - but I has no project to use it for.

Now, I will take a look at Liferay Portal 7 (still have nothing to use it for)...

First, the basic install it pretty simple, add Java and Postgres to the Ubuntu:

sudo apt-get install default-jdk
sudo apt-get install postgresql postgresql-contrib

JDK is needed, not JRE, this will give this in the logs:

13:04:21,995 ERROR [http-nio-8080-exec-1][render_portlet_jsp:77] null
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac.  A full JDK (not just JRE) is required

 

Add the database:

postgres=# CREATE ROLE lruser WITH LOGIN PASSWORD 'jellyfish' VALID UNTIL 'infinity';CREATE ROLE
postgres=# CREATE DATABASE lportal WITH ENCODING='UTF8' OWNER=lruser CONNECTION LIMIT=-1;
CREATE DATABASE

 

Unzip the downloaded portal and start it:

 

 

First screen:

Next screen:

Restart the Portal:

 

  • Ingen etiketter