Deploying the Coveo Liferay Portlet Plug-in for Liferay 6.1
To deploy the Coveo Liferay portlet plugin
-
Using an administrator account, connect to the Coveo server.
-
From a browser, use an administrator account to connect to your Liferay portal.
-
On the menu bar of the Liferay portal, select Go to > Control Panel.
-
In the Liferay Control Panel:
-
In the navigation panel on the left, under Server, click Plugins Installation.
-
In the Plugins Installation page, select the Private Plugin Installer tab, and then go to step e)
Note: If you do not see the Private Plugin Installer tab:
-
Select the Portlet Plugins tab, and then click Install More Portlets.
-
Follow the instructions starting at step c.
-
-
(When the Private Plugin Installer CE application is not installed on your Liferay portal) In the Liferay Marketplace:
-
In the Search box, enter private, press Enter, and then select Private Plugin Installer CE.
-
In the Private Plugin Installer CE page, click Free.
-
In the Purchase page:
-
Select an existing project or click Add a New Project.
-
When you click Add a New Project:
-
In the New Project dialog, enter a project name in the box, and then click Add.
-
Select the project you just created.
-
-
When you agree with the terms, select the I have read and agree to the End User License Agreement and the Terms of Service check box.
-
In the box at the bottom of the page, enter a Legal Entity Name.
-
Click Purchase.
-
On the Receipt page, select See Purchased.
-
In the Purchased Apps page, select the project in the Owner drop-down list, and then next to Private Plugin Installer CE, click Install.
-
-
In the navigation panel on the left, under Server, click Plugins Installation.
-
-
In the Plugins Installation page, select the Private Plugin Installer tab.
-
In the Private Plugin Installer page:
-
Select the Upload File tab.
-
Click Choose File, and then browse to and select the Coveo Liferay portlet plugin Web archive (WAR) file: [CES_Path]\bin\CESLiferayConnector-portlet-6.0.6.1.war or [CES_Path]\bin\CESLiferayConnector-portlet-6.1.1.1.war.
Example: With the default installation path: C:\Program Files\Coveo Enterprise Search 7\bin\CESLiferayConnector-portlet-6.0.6.1.war
-
Click Install.
-
-
End-users do not need to see the Coveo portlet. Consider hiding the Coveo portlet from users other than Administrator role members:
-
In the navigation panel on the left, under Portal, select Plugins Configuration.
-
In the Plugins Configuration page, select the CES Liferay Connector by Coveo Solutions Inc. plugin.
-
Under Permissions, for each user other than Administrator, click Change.
-
In the Roles page, clear the Add to page check box, and then click Save.
-
Navigate back to the Plugins Configuration page for the Coveo plugin, and then click Save.
-
-
-
You must also enable access to the Liferay Web services for the Coveo server:
-
Using an administrator account, connect to the Liferay server.
-
Using a text editor:
-
Open, or create if it does not already exist, the [Liferay_Installation_Path]\tomcat-x.x.xx\webapps\ROOT\WEB-INF\classes\portal-ext.properties text file.
-
Add the following lines to the file to allow access only to the Coveo Master server:
axis.servlet.hosts.allowed=[Coveo_Server_IP_Address] axis.servlet.https.required=false tunnel.servlet.hosts.allowed=[Coveo_Server_IP_Address] tunnel.servlet.https.required=false
where you replace [Coveo_Server_IP_Address] by the IP address of the Coveo Master server.
-
Restart the Liferay server to apply changes to the properties and activate the listeners used for incremental refresh by shutting down and restarting the Web server:
Example: With a Tomcat server, in a command prompt window, run the following files:C:\Liferay6.1.1GA2\tomcat-7.0.27\bin\shutdown.bat C:\Liferay6.1.1GA2\tomcat-7.0.27\bin\startup.bat
Restarting the server is required to apply changes to the properties and activate the listeners used for incremental refresh.
-
-
What's Next?
Create a Liferay account with which the Coveo connector can fully crawl the Liferay content (see Setting up a Liferay Crawling Account).