Line: 1 to 1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
Line: 234 to 234 | |||||||||||||
And now modify the $tomcat_home/webapp/ROOT/WEB-INF/web.xml in this way: | |||||||||||||
Added: | |||||||||||||
> > | <--/twistyPlugin twikiMakeVisibleInline--> | ||||||||||||
[...] <security-constraint> | |||||||||||||
Line: 323 to 331 | |||||||||||||
</security-constraint> [...] | |||||||||||||
Added: | |||||||||||||
> > | <--/twistyPlugin--> | ||||||||||||
1 Setting IGIPortal layout | |||||||||||||
Line: 332 to 341 | |||||||||||||
In the Welcome page import in the Web Content portlet this file: welcome.portlet.lar | |||||||||||||
Added: | |||||||||||||
> > | 1 Stop and Start IGIPortal.1.1 StoppingFor stopping the portal from the root shell of portal-igi launch the command:# stopNote: stop is a alias of /opt/liferay-portal-6.1.0/tomcat-7.0.23/bin/shutdown.sh .
1.2 StartingBefore starting the portal check if mysqld is runnung:# service mysqld statusIf it isn't start the mysql server: # service mysqld startWhen is done, start the IGIPortal container from the root shell of portal-igi launching: # startIf into the log you see these lines liferay is started successfully. tail -f /opt/liferay-portal-6.1.0/tomcat-7.0.23/logs/catalina.out 13-lug-2012 9.11.48 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] 13-lug-2012 9.11.48 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-80"] 13-lug-2012 9.11.48 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-443"] 13-lug-2012 9.11.48 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] 13-lug-2012 9.11.48 org.apache.catalina.startup.Catalina start INFO: Server startup in 122971 msAfter this operation you must initialize WS-Pgrade. Note: start is a alias of /opt/liferay-portal-6.1.0/tomcat-7.0.23/bin/startup.sh .
1.3 Initialize WS-PgradeFor initializing the portal is necessary tree steps.1.3.1 DCI initializzationThe first operation is enabling the DCI-bridge for accepting jobs. For do this go to https://portal.italiangrid.it/dci_bridge_service/conf![]() ![]() 1.3.2 WS-Pgrade initializzationThe secondo step is initializing WS-Pgrade. For do this go to https://portal.italiangrid.it/information/init.jsp![]() ![]() <--/twistyPlugin twikiMakeVisibleInline--> SET-PROPERTY:service.url=http://portal.italiangrid.it:8080/information SET-PROPERTY:is.url=http://portal.italiangrid.it:8080/information SET-PROPERTY:is.id=/services/urn:infoservice [Ljava.lang.String;@5601a409 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/information/WEB-INF/lib/UI.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@57e6e6d8 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/information/WEB-INF/lib/portal.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@e2a3881 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/information/WEB-INF/lib/resource.wsdd <Admin>Done processing</Admin> 31 informationPU INFO [http-bio-443-exec-11] openjpa.Runtime - Starting OpenJPA 1.0.1 124 informationPU INFO [http-bio-443-exec-11] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.MySQLDictionary". 717 informationPU INFO [http-bio-443-exec-11] openjpa.Enhance - Creating subclass for "[class hu.sztaki.lpds.information.data.GuseServiceTypeBean, class hu.sztaki.lpds.information.data.GuseServiceBean, class hu.sztaki.lpds.information.data.GuseServiceCommunicationBean, class hu.sztaki.lpds.information.data.ServiceUserBean, class hu.sztaki.lpds.information.data.ServicePropertyBean, class hu.sztaki.lpds.information.data.ServiceResourceBean, class hu.sztaki.lpds.information.data.OptionBean]". This means that your application will be less efficient and will consume more memory than it would if you ran the OpenJPA enhancer. Additionally, lazy loading will not be available for one-to-one and many-to-one persistent attributes in types using field access; they will be loaded eagerly instead. guse.system.database.driver=com.mysql.jdbc.Driver guse.system.database.url=jdbc:mysql://localhost:3306/guse guse.system.database.user=guse guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/wspgrade======== http://portal.italiangrid.it:8080/wspgrade:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/wspgrade:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/wspgrade:guse.system.database.user=guse http://portal.italiangrid.it:8080/wspgrade:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/wfi======== http://portal.italiangrid.it:8080/wfi:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/wfi:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/wfi:guse.system.database.user=guse http://portal.italiangrid.it:8080/wfi:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/wfs======== http://portal.italiangrid.it:8080/wfs:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/wfs:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/wfs:guse.system.database.user=guse http://portal.italiangrid.it:8080/wfs:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/information======== http://portal.italiangrid.it:8080/information:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/information:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/information:guse.system.database.user=guse http://portal.italiangrid.it:8080/information:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/storage======== http://portal.italiangrid.it:8080/storage:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/storage:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/storage:guse.system.database.user=guse http://portal.italiangrid.it:8080/storage:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/repository======== http://portal.italiangrid.it:8080/repository:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/repository:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/repository:guse.system.database.user=guse http://portal.italiangrid.it:8080/repository:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/information======== http://portal.italiangrid.it:8080/information:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/information:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/information:guse.system.database.user=guse http://portal.italiangrid.it:8080/information:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/dci_bridge_service======== http://portal.italiangrid.it:8080/dci_bridge_service:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/dci_bridge_service:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/dci_bridge_service:guse.system.database.user=guse http://portal.italiangrid.it:8080/dci_bridge_service:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/dci_bridge_service======== http://portal.italiangrid.it:8080/dci_bridge_service:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/dci_bridge_service:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/dci_bridge_service:guse.system.database.user=guse http://portal.italiangrid.it:8080/dci_bridge_service:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/stataggregator======== http://portal.italiangrid.it:8080/stataggregator:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/stataggregator:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/stataggregator:guse.system.database.user=guse http://portal.italiangrid.it:8080/stataggregator:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/statvisualizer======== http://portal.italiangrid.it:8080/statvisualizer:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/statvisualizer:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/statvisualizer:guse.system.database.user=guse http://portal.italiangrid.it:8080/statvisualizer:guse.system.database.password=gusepass =======http://portal.italiangrid.it:8080/ANSYS======== http://portal.italiangrid.it:8080/ANSYS:guse.system.database.driver=com.mysql.jdbc.Driver http://portal.italiangrid.it:8080/ANSYS:guse.system.database.url=jdbc:mysql://localhost:3306/guse http://portal.italiangrid.it:8080/ANSYS:guse.system.database.user=guse http://portal.italiangrid.it:8080/ANSYS:guse.system.database.password=gusepass ---------propertyinit-------- http-param:is.id-/services/urn:infoservice http-param:is.url-http://portal.italiangrid.it:8080/information http-param:service.url-http://portal.italiangrid.it:8080/wspgrade SET-PROPERTY:is.url=http://portal.italiangrid.it:8080/information SET-PROPERTY:is.id=/services/urn:infoservice SET-PROPERTY:service.url=http://portal.italiangrid.it:8080/wspgrade SET-PROPERTY:notify.quota.time.in.hour=1 SET-PROPERTY:guse.system.database.driver=com.mysql.jdbc.Driver SET-PROPERTY:notify.smtp.host=localhost SET-PROPERTY:repeat.submit.workflow=1 SET-PROPERTY:gemlcacache.refreshintervall_min=30 SET-PROPERTY:guse.wspgrade.suportedwfengines=zen SET-PROPERTY:guse.system.database.url=jdbc:mysql://localhost:3306/guse SET-PROPERTY:wspgrade.maxulpoadfilesize=100 SET-PROPERTY:guse.logdir=/guselogg SET-PROPERTY:guse.system.database.user=guse SET-PROPERTY:cache.time.msec=3000000 SET-PROPERTY:service.loglevel=6 SET-PROPERTY:guse.system.database.password=gusepass SET-PROPERTY:notify.quota.max.percent=95 SET-PROPERTY:service.logtrace=false [Ljava.lang.String;@6ec45c0e Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/wspgrade/WEB-INF/lib/storage.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@374f2c4e Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/wspgrade/WEB-INF/lib/submitter.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@62b57ee2 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/wspgrade/WEB-INF/lib/remote.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@5b3c2982 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/wspgrade/WEB-INF/lib/wfi.wsdd <Admin>Done processing</Admin> LOGGER ACTIVALVA:http://portal.italiangrid.it:8080/wspgrade [Ljava.lang.String;@409ac440 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/wfi/WEB-INF/lib/portal.wsdd <Admin>Done processing</Admin> ---------propertyinit-------- http-param:is.id-/services/urn:infoservice http-param:is.url-http://portal.italiangrid.it:8080/information http-param:service.url-http://portal.italiangrid.it:8080/wfi SET-PROPERTY:is.url=http://portal.italiangrid.it:8080/information SET-PROPERTY:is.id=/services/urn:infoservice SET-PROPERTY:service.url=http://portal.italiangrid.it:8080/wfi SET-PROPERTY:tt.wsdl=http://portal.italiangrid.it:8080/management/TesterService?wsdl SET-PROPERTY:wfi.zen.loggfile=guselogg/wfi SET-PROPERTY:guse.system.database.driver=com.mysql.jdbc.Driver SET-PROPERTY:wfi.zen.activeingjobs.max=500000 SET-PROPERTY:guse.wfi.zen.sendinitstatus=true SET-PROPERTY:guse.system.database.url=jdbc:mysql://localhost:3306/guse SET-PROPERTY:guse.logdir=/guselogg SET-PROPERTY:guse.system.database.user=guse SET-PROPERTY:service.loglevel=6 SET-PROPERTY:wfi.incomingpoll.sendcount=100 SET-PROPERTY:guse.system.database.password=gusepass SET-PROPERTY:wfi.zen.waiting.getjobcount=60000 SET-PROPERTY:wfi.incomingpoll.waiting=1000 SET-PROPERTY:system.id=guse3.4 LOGGER ACTIVALVA:http://portal.italiangrid.it:8080/wfi ---------propertyinit-------- http-param:is.id-/services/urn:infoservice http-param:is.url-http://portal.italiangrid.it:8080/information http-param:service.url-http://portal.italiangrid.it:8080/wfs SET-PROPERTY:is.url=http://portal.italiangrid.it:8080/information SET-PROPERTY:is.id=/services/urn:infoservice SET-PROPERTY:service.url=http://portal.italiangrid.it:8080/wfs SET-PROPERTY:guse.wfs.system.saveonlyendstatus=false SET-PROPERTY:guse.wfs.wfiplugin.zen=hu.sztaki.lpds.wfs.service.angie.plugins.wfi.ZenImpl SET-PROPERTY:guse.system.database.url=jdbc:mysql://localhost:3306/guse SET-PROPERTY:guse.system.database.user=guse SET-PROPERTY:guse.system.database.driver=com.mysql.jdbc.Driver SET-PROPERTY:guse.wfs.system.savevisualizerdata=true SET-PROPERTY:history.max=200 SET-PROPERTY:guse.wfs.system.savestatus=true SET-PROPERTY:noproxy=DesktopGrid,Local,Unibroker SET-PROPERTY:guse.system.database.password=gusepass SET-PROPERTY:guse.wfs.system.defaultworkflowtype=zen SET-PROPERTY:guse.wfs.system.sleepsavetime=2000 [Ljava.lang.String;@7ade17d8 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/wfs/WEB-INF/lib/portal.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@70bd9535 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/wfs/WEB-INF/lib/wfi.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@15cbc11e Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/wfs/WEB-INF/lib/repository.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@b03e9f Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/wfs/WEB-INF/lib/storage.wsdd <Admin>Done processing</Admin> ---------propertyinit-------- http-param:is.id-/services/urn:infoservice http-param:is.url-http://portal.italiangrid.it:8080/information http-param:service.url-http://portal.italiangrid.it:8080/storage SET-PROPERTY:is.url=http://portal.italiangrid.it:8080/information SET-PROPERTY:is.id=/services/urn:infoservice SET-PROPERTY:service.url=http://portal.italiangrid.it:8080/storage SET-PROPERTY:guse.system.database.url=jdbc:mysql://localhost:3306/guse SET-PROPERTY:guse.system.database.user=guse SET-PROPERTY:guse.system.database.driver=com.mysql.jdbc.Driver SET-PROPERTY:guse.storage.importid.type=date SET-PROPERTY:guse.storage.system.defaultworkflowtype=zen SET-PROPERTY:guse.system.database.password=gusepass SET-PROPERTY:guse.storageclient.localmode.sendquota=true [Ljava.lang.String;@5ee6b897 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/storage/WEB-INF/lib/portal.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@7811dd12 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/storage/WEB-INF/lib/wfi.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@575fb87 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/storage/WEB-INF/lib/submitter.wsdd <Admin>Done processing</Admin> ---------propertyinit-------- http-param:is.id-/services/urn:infoservice http-param:is.url-http://portal.italiangrid.it:8080/information http-param:service.url-http://portal.italiangrid.it:8080/repository SET-PROPERTY:is.url=http://portal.italiangrid.it:8080/information SET-PROPERTY:is.id=/services/urn:infoservice SET-PROPERTY:service.url=http://portal.italiangrid.it:8080/repository SET-PROPERTY:guse.system.database.url=jdbc:mysql://localhost:3306/guse SET-PROPERTY:guse.system.database.user=guse SET-PROPERTY:rootuser=root SET-PROPERTY:guse.system.database.driver=com.mysql.jdbc.Driver SET-PROPERTY:quotamax=2000 SET-PROPERTY:guse.storage.importid.type=date SET-PROPERTY:guse.system.database.password=gusepass [Ljava.lang.String;@494b05ae Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/repository/WEB-INF/lib/portal.wsdd <Admin>Done processing</Admin> ---------propertyinit-------- http-param:is.id-/services/urn:infoservice http-param:is.url-http://portal.italiangrid.it:8080/information http-param:service.url-http://portal.italiangrid.it:8080/stataggregator SET-PROPERTY:is.url=http://portal.italiangrid.it:8080/information SET-PROPERTY:is.id=/services/urn:infoservice SET-PROPERTY:service.url=http://portal.italiangrid.it:8080/stataggregator SET-PROPERTY:jobinstancetimeout=1 SET-PROPERTY:guse.system.database.url=jdbc:mysql://localhost:3306/guse SET-PROPERTY:guse.system.database.user=guse SET-PROPERTY:guse.system.database.driver=com.mysql.jdbc.Driver SET-PROPERTY:statrunningtimeout=1 SET-PROPERTY:aggregatejoblimit=250 SET-PROPERTY:sleeptime=100 SET-PROPERTY:guse.system.database.password=gusepass ---------propertyinit-------- http-param:is.id-/services/urn:infoservice http-param:is.url-http://portal.italiangrid.it:8080/information http-param:service.url-http://portal.italiangrid.it:8080/statvisualizer SET-PROPERTY:is.url=http://portal.italiangrid.it:8080/information SET-PROPERTY:is.id=/services/urn:infoservice SET-PROPERTY:service.url=http://portal.italiangrid.it:8080/statvisualizer SET-PROPERTY:guse.system.database.url=jdbc:mysql://localhost:3306/guse SET-PROPERTY:guse.system.database.user=guse SET-PROPERTY:guse.system.database.driver=com.mysql.jdbc.Driver SET-PROPERTY:portal.url=http://portal.italiangrid.it:8080/wspgrade SET-PROPERTY:guse.system.database.password=gusepass SET-PROPERTY:language=hu SET-PROPERTY:country=HU ---------propertyinit-------- http-param:is.id-/services/urn:infoservice http-param:is.url-http://portal.italiangrid.it:8080/information http-param:service.url-http://portal.italiangrid.it:8080/ANSYS SET-PROPERTY:is.url=http://portal.italiangrid.it:8080/information SET-PROPERTY:is.id=/services/urn:infoservice SET-PROPERTY:service.url=http://portal.italiangrid.it:8080/ANSYS SET-PROPERTY:notify.quota.time.in.hour=1 SET-PROPERTY:guse.system.database.driver=com.mysql.jdbc.Driver SET-PROPERTY:notify.smtp.host=localhost SET-PROPERTY:repeat.submit.workflow=1 SET-PROPERTY:gemlcacache.refreshintervall_min=30 SET-PROPERTY:guse.wspgrade.suportedwfengines=zen SET-PROPERTY:guse.system.database.url=jdbc:mysql://localhost:3306/guse SET-PROPERTY:guse.system.database.user=guse SET-PROPERTY:wspgrade.maxulpoadfilesize=100 SET-PROPERTY:guse.logdir=/guselogg SET-PROPERTY:cache.time.msec=3000000 SET-PROPERTY:service.loglevel=6 SET-PROPERTY:guse.system.database.password=gusepass SET-PROPERTY:notify.quota.max.percent=95 SET-PROPERTY:service.logtrace=false [Ljava.lang.String;@7c98cb9c Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/ANSYS/WEB-INF/lib/storage.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@74179f50 Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/ANSYS/WEB-INF/lib/submitter.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@6a6b9ab Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/ANSYS/WEB-INF/lib/remote.wsdd <Admin>Done processing</Admin> [Ljava.lang.String;@655dc8c Processing file /opt/liferay-portal-6.1.0/tomcat-7.0.23/webapps/ANSYS/WEB-INF/lib/wfi.wsdd <Admin>Done processing</Admin> 10:18:29,643 INFO [PortalImpl:4873] Current URL /poller/receive generates exception: null <--/twistyPlugin-->If something was wrong check if into the database guse the tables service , serviceresource , servicetype and serviceproperties aren't empty. If these table are empty use the sql dump file in attachment named such as the tables.
1.3.3 Statistics InitializationThe third step is initilizing the statistics aggregator. For do this go to https://portal.italiangrid.it/stataggregator![]() | ||||||||||||
References
| |||||||||||||
Line: 350 to 732 | |||||||||||||
| |||||||||||||
Added: | |||||||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
A guide for Liferay and gUSE installation |
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: | |||||||||||||||||
< < |
| ||||||||||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 136 to 136 | ||||||||
| ||||||||
Added: | ||||||||
> > | In the file /opt/liferay-portal-6.0.5/tomcat-6.0.26/setenv.sh you cancel all the content and replace with JAVA_OPTS="$JAVA_OPTS" . | |||||||
0.1 Copying additional jar files to shared libs directoryCopy the following jar files from libs folder to the servers shared libs' directory (/opt/liferay-portal-6.0.5/tomcat-6.0.26/lib in tomcat 6.0, /opt/liferay-portal-6.0.5/tomcat-6.0.26/shared/libs in version 5.5). | ||||||||
Line: 160 to 162 | ||||||||
Set "database connection" information of gUSE in information.war/WEB-INF/classes/META-INF/persistence.xml and "service urls" in information.war/WEB-INF/config/service.xml replace http://localhost:8080 with http://fullyqualified.hostname:8080 for all the occurences. | ||||||||
Added: | ||||||||
> > | After you configure the file init.jsp with your parameter for faster inizializzation of gUSE.
For do this you must extract the file from the information.war file modify the file and recreate the war file. You can do this using for example Eclipse: import project from WAR, modify the files and export to WAR. The name of archive must be the same. | |||||||
0.1 Deploying the gUSE war filesAfter starting Liferay with command: |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 203 to 203 | ||||||||
Please note that layout is working with Liferay 6.0.5, different liferay versions may not compatible with it. | ||||||||
Changed: | ||||||||
< < | -- TWikiAdminUser - 2011-11-11 | |||||||
> > | References
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 203 to 203 | ||||||||
Please note that layout is working with Liferay 6.0.5, different liferay versions may not compatible with it. | ||||||||
Changed: | ||||||||
< < | -- DiegoMichelotto - 2011-11-11 | |||||||
> > | -- TWikiAdminUser - 2011-11-11 | |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 203 to 203 | ||||||||
Please note that layout is working with Liferay 6.0.5, different liferay versions may not compatible with it. | ||||||||
Changed: | ||||||||
< < | -- TWikiAdminUser - 2011-11-10 | |||||||
> > | -- DiegoMichelotto - 2011-11-11 | |||||||
Line: 1 to 1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
Changed: | |||||||||||||
< < | Installazione di Liferay + gUSE + nostre Portlet | ||||||||||||
> > |
A guide for Liferay and gUSE installation1 PrerequisitesBefore preceding the installation, make sure that all the following hardware and software requirements are met:
2 Install MySQL server and clientUse the packet manager for install rpms, start MySQL server and set the root password for MySQL:$ yum install mysql mysql-server $ service mysqld start $ mysqladmin -h fullyqualified.hostname -u root password NEWPASSWORD 2.1 Portal databasesCreate empty liferay, wspgrade and portaluser databases.$ mysql -h fullyqualified.hostname -u root -pNEWPASSWORD > create database liferay; > create database wspgrade; > create database PortalUser; 2.2 MySQL users and permissionsCreate liferay, wspgrade and portaluser users and set privileges for each users on databases.$ mysql -h fullyqualified.hostname -u root -pNEWPASSWORD > 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'; 3 Install LiferayFirst download the Liferay 6.0.5 package bundle with Tomcat from the URL: http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.0.5/liferay-portal-tomcat-6.0.5.zip/download![]() /opt folder.
3.1 Edit/Create Liferay propertiesEdit 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:
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 jdbc.default.password=liferaypassword jdbc.default.maxIdleTime=3600 4 gUSE installation and configurationDownload gUSE from http://sourceforge.net/projects/guse/files/latest/download?_test=goal![]() 4.1 gUSE databaseCreating database tables for gUSE.$ 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 4.2 Parameterizing runtime environmentIn the shell which starts the webcontainer the following environment variables must be set:$ export JAVA_OPTS="-server -Xms256m -Xmx1024m -XX:MaxPermSize=512m -Dfile.encoding=UTF8 -Duser.timezone=GMT"Where :
$ export X509_USER_PROXY=x509upIf it is not set, voms extension cannot be set for the proxy $ export CATALINA_OPTS="-DcrlUpdateInterval=0s -DcrlEnabled=false -Dorg.globus.tcp.port.range=20000,25000 "Where:
4.3 Copying additional jar files to shared libs directoryCopy the following jar files from libs folder to the servers shared libs' directory (/opt/liferay-portal-6.0.5/tomcat-6.0.26/lib in tomcat 6.0, /opt/liferay-portal-6.0.5/tomcat-6.0.26/shared/libs in version 5.5).
Libraries:
4.4 Configuring ws-pgrade installer packageSet "database connection" information of gUSE ininformation.war/WEB-INF/classes/META-INF/persistence.xml and "service urls" in information.war/WEB-INF/config/service.xml replace http://localhost:8080 with http://fullyqualified.hostname:8080 for all the occurences.
4.5 Deploying the gUSE war filesAfter starting Liferay with command:$ /opt/liferay-portal-6.0.5/tomcat-6.0.26/bin/startup.shfrom web browser: http://fullyqualified.hostname:8080 ![]() 4.6 Initialising gUSE servicesFrom web browser go to: http://fullyqualified.hostname:8080/information/init.jsp![]() /opt/liferay-portal-6.0.5/tomcat-6.0.26/conf folder. Check your database settings, if necessary, and hit “send”.
It is necessary after every tomcat restart.
5 Portlet installation and configuration5.1 Create tables for PortalUserDownload
$ mysql -h fullyqualified.hostname -u PortalUser -pPortalUserpassword PortaUser < PortalUser.sql $ mysql -h fullyqualified.hostname -u PortalUser -pPortalUserpassword PortaUser < PortalUser_IDP.sql 5.2 Deploying the portlets war filesDownload the portlets:
/opt/liferay-portal-6.0.5/deploy/ folder.
6 Setting IGIPortal layoutDownload igiportal.lar and navigate to Manage/Control Panel/Communities/Actions(on a community)/Manage Pages/ExportImport/Import and upload it. Please note that layout is working with Liferay 6.0.5, different liferay versions may not compatible with it. | ||||||||||||
-- TWikiAdminUser - 2011-11-10 | |||||||||||||
Added: | |||||||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
|