First download the community version with tomcat server from the liferay website
or Click Here
Unzip the contents to a suitable location.
Open the bin directory
And click on the startup.bat file to start and shutdown.bat file to shutdown.
To change the server standard time.
Open the setenv.bat in an editor and change the –Duser.timezone
-Duser.timezone=Asia/Delhi
Restart the Server .
For Database Settings
log into the MySql command line editor.
mysql> create database `lportal` CHARACTER SET utf8 COLLATE utf8_general_ci;
create a portal-ext.properties file in \liferay-portal-6.0.6
Add the following Lines to connect to MySql Database.
#
# MySQL
#
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEn
coding=UTF-8&useFastDateParsing=false
jdbc.default.username=root
jdbc.default.password=root
save and restart.
Check installation success in MySql
mysql>use lportal ;
mysql>show tables ;
A total of 185 rows indicating 185 tables must be shown.
Thats it, You are done and now you can start development on Liferay !!!
Cheers..!!
Gaurav
No comments:
Post a Comment