Setting Up Marketplace

Liferay Marketplace is more than just a store for Liferay applications. Under the hood, it provides both the store and Liferay DXP’s application deployment features. For this reason, you must ensure that Marketplace can run and configure itself.

Here are some scenarios to work around to ensure Marketplace works successfully:

  • Server is Firewalled without Access to the Internet
  • Limited Database Access

The firewall scenario is discussed first.

Server is Firewalled without Access to the Internet

Your server might be behind a firewall that prevents access to the Internet. Or your security policy might not allow direct download and installation from the Internet. In these cases, you have two options:

  1. From an Internet-enabled computer, download the Marketplace plugin. Then deploy the plugin (.lpkg file) by copying it into the deploy folder in Liferay Home.

  2. Alternately, once you have the downloaded .lpkg file, deploy it using the App Manager.

Next you’ll learn how to work around database access restrictions.

Limited Database Access

Some production environments do not have the necessary database permissions for Liferay DXP, apps, modules, and plugins to maintain their tables. In these cases:

  1. Grant the Liferay DXP database user temporary full rights to the database.

  2. Install Liferay DXP and start it so that it populates its database.

  3. Once the database is created, remove the permissions for creating tables and dropping tables from the Liferay DXP database user.

See the database preparation instructions for more information. Note that many sophisticated Liferay DXP apps—not just the Marketplace app—require new tables when deployed. If your environment restricts database access, you may need to repeat the above steps whenever you deploy a new app.

You’ve prepared Liferay DXP for installing Marketplace and additional apps.

« Activating Liferay DXPTrial Plugin Installation »
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています