Installing a Server in Liferay Dev Studio

Installing a server in Liferay Dev Studio is easy. In just a few steps you’ll have your server up and running. Follow these steps to install your server:

  1. In the Servers view, click the No Servers are available link. If you already have a server installed, you can install a new server by right-clicking in the Servers view and selecting NewServer. This brings up a wizard that walks you through the process of defining a new server.

  2. Select the type of server you would like to create from the list of available options. For a standard server, open the Liferay, Inc. folder and select the Liferay 7.x option. You can change the server name to something more unique too; this is the name displayed in the Servers view. Then click Next. If you’re creating a server for the first time, continue to the next step.

    Figure 1: Choose the type of server you want to create.

    Figure 1: Choose the type of server you want to create.

    Note: If you’ve already configured previous Liferay servers, you’ll be provided the Server runtime environment field, which lets you choose previously configured runtime environments. If you want to re-add an existing server, select one from the dropdown menu. You can also add a new server by selecting Add, or you can edit existing servers by selecting Configure runtime environments. Once you’ve configured the server runtime environment, select Finish. If you selected an existing server, your server installation is finished; you can skip steps 3-5.

  3. Enter a name for your server. This is the name for the Liferay DXP runtime configuration used by Dev Studio. This is not the display name used in the Servers tab.

  4. Browse to the installation folder of the Liferay DXP bundle. For example, C:\liferay-ce-portal-7.1-m1\tomcat-8.0.32.

    Figure 2: Specify the installation folder of the bundle.

    Figure 2: Specify the installation folder of the bundle.

  5. Select a runtime JRE and click Finish. Your new server appears under the Servers view.

    Figure 3: Your new server appears under the Servers view.

    Figure 3: Your new server appears under the *Servers* view.

Your server is now available in Liferay Dev Studio!

For reference, here’s how the Dev Studio server buttons work with your Liferay DXP instance:

Now you’re ready to use your server in Liferay Dev Studio!

« Managing Projects with Liferay Dev StudioSearching Liferay DXP Source in Liferay Dev Studio »
Was this article helpful?
0 out of 0 found this helpful