1. Download these Liferay Bundle (Bundle+Tomcat)
Liferay 6.2 Latest Version Click
Liferay+Eclipse Click
LiferaySDK Click
2. Extract downloaded bundle under {TOMCAT_HOME}
3. Create a workspace folder under {TOMCAT_HOME}
- Open Eclipse folder and point your workspace folder
- Click on Windows->Perfrences->Select Liferay
- Liferay->Click on Install plugin(Navigate to you downloaded Plugin SDK)
- Server->Runtime->Select Liferay v6.2 CE (Tomcat 7)-> Navigate to Tomcat Bundle
4. Start the server instance with default DATABASE(Hypersonic)
for linux command-: %TOMCAT_HOME/bin/startup.sh
5. Once the server gets started follow these steps
- Open this URL localhost:8080
- On Basic Configuration Page check Hypersonic DB is shown
- Click on Finish Configuration and Page for Liferay is being installed will be displayed
- After successfully installation Configuration Detail Page will be displayed, click on Goto My Portal
- Click I AGREE on Terms of Use ** Page
12. Startup Liferay 6.2. Wait until Liferay's upgrade process has upgraded database to 6.2.
%TOMCAT_HOME/bin/startup.sh
to monitor log use tail -f %TOMCAT_HOME/logs/catalina.out
13. Copy portal_VERSION/portlets/XYZ-theme.war & paste into deploy directory {TOMCAT_HOME}/deploy. Monitor the log as mention above and once it displays message “..available for use...” move ahead.
14. Copy portal_VERSION/portlets/XYZ-portlet.war & paste into deploy directory {TOMCAT_HOME}/deploy. Monitor the log as mention above and once it displays message “..available for use...” move ahead
15. Copy portal_VERSION/portlets/.XYZ-hook.war & paste into deploy directory {TOMCAT_HOME}/deploy. Monitor the log as mention above and once it displays message “..available for use...” move ahead
16. Login using OLD Admin ID and Password.
Note-: Before migrating your portlet, hook, theme you need to check for all deprecated methods.
Then only deploy.
Liferay 6.2 Latest Version Click
Liferay+Eclipse Click
LiferaySDK Click
2. Extract downloaded bundle under {TOMCAT_HOME}
3. Create a workspace folder under {TOMCAT_HOME}
- Open Eclipse folder and point your workspace folder
- Click on Windows->Perfrences->Select Liferay
- Liferay->Click on Install plugin(Navigate to you downloaded Plugin SDK)
- Server->Runtime->Select Liferay v6.2 CE (Tomcat 7)-> Navigate to Tomcat Bundle
4. Start the server instance with default DATABASE(Hypersonic)
for linux command-: %TOMCAT_HOME/bin/startup.sh
5. Once the server gets started follow these steps
- Open this URL localhost:8080
- On Basic Configuration Page check Hypersonic DB is shown
- Click on Finish Configuration and Page for Liferay is being installed will be displayed
- After successfully installation Configuration Detail Page will be displayed, click on Goto My Portal
- Click I AGREE on Terms of Use ** Page
- Password Reminder Question Page Select your Question and Answer Click Save
- My Portal Welcome Liferay page will be displayed, stop the Tomcat Server. %TOMCAT_HOME/bin/shutdown.sh
- Logout from Welcome Liferay Page and its time to stop {TOMCAT}server.
6. Create 6.1 DB dump (for ex-: db61)
7. Create database blank DB 6.2 (db62)
8. Load 6.1 dump into 6.2 database
9. Delete Data folder under {TOMCAT_HOME}/data
10. Copy 'data' folder from Liferay 6.1 to Liferay 6.2 {TOMCAT_HOME}/data
11. Modify
Liferay Datasource and password encrytion code details
- Open file $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/portal-ext.properties. Change the Liferay DB detail as below
Update DB Details accordingly-:
jdbc.default.driverClassName=org.postgresql.Driver
jdbc.default.url=jdbc:postgresql://LIFERAY_DB_SERVER:PORT/LIFERAY_DB_NAME?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=USERNAME
jdbc.default.password=PASSWORD
Add this line-:
#Password encryption based on previous verion of liferay
passwords.encryption.algorithm.legacy=SHA
12. Startup Liferay 6.2. Wait until Liferay's upgrade process has upgraded database to 6.2.
%TOMCAT_HOME/bin/startup.sh
to monitor log use tail -f %TOMCAT_HOME/logs/catalina.out
13. Copy portal_VERSION/portlets/XYZ-theme.war & paste into deploy directory {TOMCAT_HOME}/deploy. Monitor the log as mention above and once it displays message “..available for use...” move ahead.
14. Copy portal_VERSION/portlets/XYZ-portlet.war & paste into deploy directory {TOMCAT_HOME}/deploy. Monitor the log as mention above and once it displays message “..available for use...” move ahead
15. Copy portal_VERSION/portlets/.XYZ-hook.war & paste into deploy directory {TOMCAT_HOME}/deploy. Monitor the log as mention above and once it displays message “..available for use...” move ahead
16. Login using OLD Admin ID and Password.
Note-: Before migrating your portlet, hook, theme you need to check for all deprecated methods.
Then only deploy.
Comments
Post a Comment