Line: 1 to 1 | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
Line: 20 to 20 | |||||||||||||||||
| |||||||||||||||||
Changed: | |||||||||||||||||
< < |
| ||||||||||||||||
> > |
| ||||||||||||||||
1 Install MySQL server and client | |||||||||||||||||
Line: 49 to 49 | |||||||||||||||||
$ mysql -h fullyqualified.hostname -u root -pNEWPASSWORD | |||||||||||||||||
Changed: | |||||||||||||||||
< < | > create user liferay identified by 'liferaypassword'; > create user wspgrade identified by 'wspgradepassword'; > create user PortalUser identified by 'PortalUserpassword'; > grant all on liferay.* to 'liferay'@'localhost' identified by 'liferaypassword'; > grant all on wspgrade.* to 'wspgrade'@'localhost' identified by 'wspgradepassword'; > grant all on PortalUser.* to 'PortalUser'@'localhost' identified by 'PortalUserpassword'; > grant all on liferay.* to 'liferay'@'fullyqualified.hostname' identified by 'liferaypassword'; > grant all on wspgrade.* to 'wspgrade'@'fullyqualified.hostname' identified by 'wspgradepassword'; > grant all on PortalUser.* to 'PortalUser'@'fullyqualified.hostname' identified by 'PortalUserpassword'; | ||||||||||||||||
> > | > create user liferay identified by 'liferaysecret'; > create user wspgrade identified by 'wspgradesecret'; > create user PortalUser identified by 'PortalUsersecret'; > grant all on liferay.* to 'liferay'@'localhost' identified by 'liferaysecret'; > grant all on wspgrade.* to 'wspgrade'@'localhost' identified by 'wspgradesecret'; > grant all on PortalUser.* to 'PortalUser'@'localhost' identified by 'PortalUsersecret'; > grant all on liferay.* to 'liferay'@'fullyqualified.hostname' identified by 'liferaysecret'; > grant all on wspgrade.* to 'wspgrade'@'fullyqualified.hostname' identified by 'wspgradesecret'; > grant all on PortalUser.* to 'PortalUser'@'fullyqualified.hostname' identified by 'PortalUsersecret'; | ||||||||||||||||
1 Install Liferay | |||||||||||||||||
Line: 68 to 68 | |||||||||||||||||
0.1 Edit/Create Liferay properties | |||||||||||||||||
Changed: | |||||||||||||||||
< < | Edit the file called portal-ext.properties. If it does not exists, please create a file with this name in the '''tomcat's root folder''', if exists please move it to '''tomcat's root folder'''. | ||||||||||||||||
> > | Edit the file called portal-ext.properties . If it does not exists, please create a file with this name in the '''tomcat's root folder''', if exists please move it to '''tomcat's root folder'''. | ||||||||||||||||
gUSE requires the following settings: | |||||||||||||||||
Line: 82 to 82 | |||||||||||||||||
jdbc.default.driverClassName=com.mysql.jdbc.Driver jdbc.default.url=jdbc:mysql://fullyqualified.hostname:3306/liferay?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false jdbc.default.username=liferay | |||||||||||||||||
Changed: | |||||||||||||||||
< < | jdbc.default.password=liferaypassword | ||||||||||||||||
> > | jdbc.default.password=liferaysecret | ||||||||||||||||
jdbc.default.maxIdleTime=3600 | |||||||||||||||||
Line: 95 to 95 | |||||||||||||||||
Creating database tables for gUSE. | |||||||||||||||||
Changed: | |||||||||||||||||
< < | $ mysql -h fullyqualified.hostname -u wspgrade -pwspgradepassword wspgrade < guse_tables.sql $ mysql -h fullyqualified.hostname -u wspgrade -pwspgradepassword wspgrade < guse_table_mess.sql $ mysql -h fullyqualified.hostname -u wspgrade -pwspgradepassword wspgrade < guse_tables_index.sql | ||||||||||||||||
> > | $ mysql -h fullyqualified.hostname -u wspgrade -pwspgradesecret wspgrade < guse_tables.sql $ mysql -h fullyqualified.hostname -u wspgrade -pwspgradesecret wspgrade < guse_table_mess.sql $ mysql -h fullyqualified.hostname -u wspgrade -pwspgradesecret wspgrade < guse_tables_index.sql | ||||||||||||||||
0.1 Parameterizing runtime environment | |||||||||||||||||
Line: 191 to 191 | |||||||||||||||||
| |||||||||||||||||
Changed: | |||||||||||||||||
< < | $ mysql -h fullyqualified.hostname -u PortalUser -pPortalUserpassword PortaUser < PortalUser.sql $ mysql -h fullyqualified.hostname -u PortalUser -pPortalUserpassword PortaUser < PortalUser_IDP.sql | ||||||||||||||||
> > | $ mysql -h fullyqualified.hostname -u PortalUser -pPortalUsersecret PortaUser < PortalUser.sql $ mysql -h fullyqualified.hostname -u PortalUser -pPortalUsersecret PortaUser < PortalUser_IDP.sql | ||||||||||||||||
0.1 Deploying the portlets war filesDownload the portlets: | |||||||||||||||||
Changed: | |||||||||||||||||
< < |
| ||||||||||||||||
> > |
| ||||||||||||||||
| |||||||||||||||||
Changed: | |||||||||||||||||
< < | Now copy the portlets war file in /opt/liferay-portal-6.0.5/deploy/ folder. | ||||||||||||||||
> > | Now copy the portlets war file in /opt/liferay-portal-6.0.5/deploy/ folder or install using the LIferay interface by Manage/Control Panel/Plugins Installation/Install More Portlets/Upload File.
Now ou create the folder /upload_files and download these files into the folder:
get_vo_info.py with your database connection information.
Now you must install this python library by executing this command:
$ yum install pycurl pexpect MySQL-pythonFor the proper functioning of registration workflow you must add these line to portal-ext.properties at the and of file:
auth.login.url=/web/guest/registration users.reminder.queries.enabled=falseFor the automatic redirect from http port to https port add these line at the same file: company.security.auth.requires.https=true web.server.https.port=443And now modify the $tomcat_home/webapp/ROOT/WEB-INF/web.xml in this way:
[...] <security-constraint> <web-resource-collection> <web-resource-name>Entire Application</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <!-- <web-resource-name>/c/portal/protected</web-resource-name> <url-pattern>/c/portal/protected</url-pattern> <url-pattern>/ar/c/portal/protected</url-pattern> <url-pattern>/ar_SA/c/portal/protected</url-pattern> <url-pattern>/bg/c/portal/protected</url-pattern> <url-pattern>/bg_BG/c/portal/protected</url-pattern> <url-pattern>/ca/c/portal/protected</url-pattern> <url-pattern>/ca_AD/c/portal/protected</url-pattern> <url-pattern>/ca_ES/c/portal/protected</url-pattern> <url-pattern>/cs/c/portal/protected</url-pattern> <url-pattern>/cs_CZ/c/portal/protected</url-pattern> <url-pattern>/de/c/portal/protected</url-pattern> <url-pattern>/de_DE/c/portal/protected</url-pattern> <url-pattern>/el/c/portal/protected</url-pattern> <url-pattern>/el_GR/c/portal/protected</url-pattern> <url-pattern>/en/c/portal/protected</url-pattern> <url-pattern>/en_GB/c/portal/protected</url-pattern> <url-pattern>/en_US/c/portal/protected</url-pattern> <url-pattern>/es/c/portal/protected</url-pattern> <url-pattern>/es_ES/c/portal/protected</url-pattern> <url-pattern>/et/c/portal/protected</url-pattern> <url-pattern>/et_EE/c/portal/protected</url-pattern> <url-pattern>/eu/c/portal/protected</url-pattern> <url-pattern>/eu_ES/c/portal/protected</url-pattern> <url-pattern>/fa/c/portal/protected</url-pattern> <url-pattern>/fa_IR/c/portal/protected</url-pattern> <url-pattern>/fi/c/portal/protected</url-pattern> <url-pattern>/fi_FI/c/portal/protected</url-pattern> <url-pattern>/fr/c/portal/protected</url-pattern> <url-pattern>/fr_FR/c/portal/protected</url-pattern> <url-pattern>/gl/c/portal/protected</url-pattern> <url-pattern>/gl_ES/c/portal/protected</url-pattern> <url-pattern>/hi/c/portal/protected</url-pattern> <url-pattern>/hi_IN/c/portal/protected</url-pattern> <url-pattern>/hu/c/portal/protected</url-pattern> <url-pattern>/hu_HU/c/portal/protected</url-pattern> <url-pattern>/in/c/portal/protected</url-pattern> <url-pattern>/in_ID/c/portal/protected</url-pattern> <url-pattern>/it/c/portal/protected</url-pattern> <url-pattern>/it_IT/c/portal/protected</url-pattern> <url-pattern>/iw/c/portal/protected</url-pattern> <url-pattern>/iw_IL/c/portal/protected</url-pattern> <url-pattern>/ja/c/portal/protected</url-pattern> <url-pattern>/ja_JP/c/portal/protected</url-pattern> <url-pattern>/ko/c/portal/protected</url-pattern> <url-pattern>/ko_KR/c/portal/protected</url-pattern> <url-pattern>/nb/c/portal/protected</url-pattern> <url-pattern>/nb_NO/c/portal/protected</url-pattern> <url-pattern>/nl/c/portal/protected</url-pattern> <url-pattern>/nl_NL/c/portal/protected</url-pattern> <url-pattern>/pl/c/portal/protected</url-pattern> <url-pattern>/pl_PL/c/portal/protected</url-pattern> <url-pattern>/pt/c/portal/protected</url-pattern> <url-pattern>/pt_BR/c/portal/protected</url-pattern> <url-pattern>/pt_PT/c/portal/protected</url-pattern> <url-pattern>/ru/c/portal/protected</url-pattern> <url-pattern>/ru_RU/c/portal/protected</url-pattern> <url-pattern>/sk/c/portal/protected</url-pattern> <url-pattern>/sk_SK/c/portal/protected</url-pattern> <url-pattern>/sv/c/portal/protected</url-pattern> <url-pattern>/sv_SE/c/portal/protected</url-pattern> <url-pattern>/tr/c/portal/protected</url-pattern> <url-pattern>/tr_TR/c/portal/protected</url-pattern> <url-pattern>/uk/c/portal/protected</url-pattern> <url-pattern>/uk_UA/c/portal/protected</url-pattern> <url-pattern>/vi/c/portal/protected</url-pattern> <url-pattern>/vi_VN/c/portal/protected</url-pattern> <url-pattern>/zh/c/portal/protected</url-pattern> <url-pattern>/zh_CN/c/portal/protected</url-pattern> <url-pattern>/zh_TW/c/portal/protected</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection> <auth-constraint> <role-name>users</role-name> </auth-constraint>--> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint> [...] | ||||||||||||||||
1 Setting IGIPortal layout | |||||||||||||||||
Line: 209 to 330 | |||||||||||||||||
Please note that layout is working with Liferay 6.0.5, different liferay versions may not compatible with it. | |||||||||||||||||
Added: | |||||||||||||||||
> > | In the Welcome page import in the Web Content portlet this file: welcome.portlet.lar | ||||||||||||||||
References
| |||||||||||||||||
Line: 216 to 339 | |||||||||||||||||
-- Diego Michelotto - 11 Nov 2011 | |||||||||||||||||
Changed: | |||||||||||||||||
< < |
| ||||||||||||||||
> > |
| ||||||||||||||||
| |||||||||||||||||
Changed: | |||||||||||||||||
< < |
| ||||||||||||||||
> > |
|