firts steps to liferay portal
TRANSCRIPT
8/3/2019 Firts Steps to Liferay Portal
http://slidepdf.com/reader/full/firts-steps-to-liferay-portal 1/10
How to install Liferay Portal (on Windows XP)
8/3/2019 Firts Steps to Liferay Portal
http://slidepdf.com/reader/full/firts-steps-to-liferay-portal 2/10
- Java 6 JDK(http://java.sun.com/javase/downloads/widget/jdk6.jsp )
- Mysql Community Server 5.x(http://dev.mysql.com/downloads/mysql/).You'll need a database manager (Mysql Administrator orother).
- Liferay Portal 5.2.3 CE bundled with Tomcat 6.0(http://sourceforge.net/projects/lportal/files/Liferay%20Portal/liferay-portal-tomcat-6.0-5.2.3.zip)
- Notepad++(http://notepad-plus-plus.org/download)
Unzip all the files in your HD. Remember the path in order tothe next step.
8/3/2019 Firts Steps to Liferay Portal
http://slidepdf.com/reader/full/firts-steps-to-liferay-portal 3/10
We need to add a new user variable. Click on"Environment Variables" at "SystemProperties" section on "My Computer". Clickon "New" and add the variable with thisvalues:
variable name: JAVA_HOME variable value: C:\Java\jdk1.6.0_20
(you have to put your jdk path here)
8/3/2019 Firts Steps to Liferay Portal
http://slidepdf.com/reader/full/firts-steps-to-liferay-portal 4/10
Fig. 1. Environment Variable "JAVA_HOME"
8/3/2019 Firts Steps to Liferay Portal
http://slidepdf.com/reader/full/firts-steps-to-liferay-portal 5/10
Then, edit the system variable “Path” and addthe new variable and save all changes.
variable value: %JAVA_HOME%\bin; ( don’t
delete the other values )
8/3/2019 Firts Steps to Liferay Portal
http://slidepdf.com/reader/full/firts-steps-to-liferay-portal 6/10
Fig. 2. "JAVA_HOME" added to "Path"
8/3/2019 Firts Steps to Liferay Portal
http://slidepdf.com/reader/full/firts-steps-to-liferay-portal 7/10
Liferay Portal works with a database called “hsql” To work with a Mysql database, create a database called
“lportal” and a user with all the grants to that database.Then create a file called “portal-ext.properties” on“C: \liferay-portal-5.2.3″. Copy and paste the next code init:
jdbc.default.driverClassName=com.mysql.jdbc.Driver jdbc.default.url=jdbc:mysql://localhost/ lportal ?useUnicode=true&characterEncoding=UTF- 8&useFastDateParsing=false
jdbc.default.username= lportal
jdbc.default.password= lportal
Where the words in bold are: database name, usernameand password.
8/3/2019 Firts Steps to Liferay Portal
http://slidepdf.com/reader/full/firts-steps-to-liferay-portal 8/10
On “C:\liferay-portal-5.2.3\tomcat- 6.0.18\webapps\ROOT ” delete the folders“sevencogs-theme” and “sevencogs-hook ”(these are sample themes and hooks).
Run Liferay Portal. Go to
C:\liferay-portal-5.2.3\tomcat-6.0.18\bin ( or wherever your folder is unzipped )
and execute “startup.bat”. After a fewminutes, the welcome page will appear onyour browser.
8/3/2019 Firts Steps to Liferay Portal
http://slidepdf.com/reader/full/firts-steps-to-liferay-portal 9/10
Fig. 3. Liferay Portal Home page
8/3/2019 Firts Steps to Liferay Portal
http://slidepdf.com/reader/full/firts-steps-to-liferay-portal 10/10
To get to the portal administration, sign inas:
username: [email protected]: test