You can use developer tools to create and start a Liberty
server. If you have not yet installed Liberty,
the developer tools can install it for you when you create a server
for the first time.
Before you begin
Make sure that you installed the developer tools as described
in Installing Liberty developer tools and (optionally) Liberty.
You can create
a server as described in this topic, or as described in Creating a Liberty server manually.
When you create a new server using the tools, you specify the installation of Liberty that you want to use. You are offered three options:- Select an existing installation.
- Install from a previously downloaded archive file.
- For the no-charge developer edition, Download and install.
If you want to use the tools to install a Liberty edition (other
than the no-charge developer edition) from an archive file, make sure
that you have downloaded the archive file.

If you need to use a proxy server to connect to the
Liberty repository, first configure the proxy settings by selecting from the main menu in Eclipse. Enter the information there.
About this task
Complete the following steps to create and start a Liberty
server.
As you go through the steps, you can download add-ons
in the Liberty Repository from the WASdev community download site.
Procedure
- In the workbench, open the Servers view by clicking the Servers tab.
Tip: If the Servers view is not visible, navigate to and type Server in the filter text. Then, select
Servers.
- Right-click the Servers view and
select .
- Under the server type list, expand IBM and select the

WebSphere Application Server Liberty server
type. 
The WebSphere Application Server Liberty server type replaces the old WebSphere Application V8.5 Liberty server type and supports all versions
of the WebSphere Application Server Liberty server.
Existing servers in a workspace that were created with the old server type still work.
- Click Next. The Liberty Runtime Environment page is displayed.
Tip: If you already have a Liberty run time that is installed, you will go directly to
the New Remote Liberty Server page, skip to Step 7.
Select an installation, install from an archive file, or (for the no-charge developer edition)
download and install, Liberty. If you previously installed Liberty, complete the following steps:

Select Choose an existing installation.

In the Path field, type or browse for the directory where you installed
the Liberty runtime environment.

On the Liberty Runtime Environment page, click
Next. The application-serving environment is selected, and now you can skip to Step 7.
If you want to install Liberty from an archive file that was previously downloaded, complete the
following steps:

Select Install from an archive or repository, and click
Next.

In the Destination field, type or browse for the directory where you
want to install the Liberty runtime environment. If you type a path that does not exist, then a folder for that path is created automatically at
the end of Step 10.

Select Install a new runtime environment from an archive.

In the Path field, either type or browse to the archive file on the
local file system, and click Next.
- In the Install Add-ons page, click Install or
Install Pending to make your selection of add-on archive files that you want
to install on the Liberty runtime environment.
You can install an add-on archive file from your local file system, download, or use a
combination of both when you install multiple add-on archive files. If the workbench is connected to
the internet, the Install Add-ons page is populated with add-on archive files
available for download from the WAS dev community download site.
This download site includes add-ons that you can select from the Liberty Repository, such as
runtime features, samples, or open source integration.
If you want to install add-on archive files from your local file system, click Add
Archive. In the Add-on archive field, type or browse for the
add-on archive file on the local file system, and then click OK. If you have
more add-on archive files to install from your local file system, repeat this step until you are
done.

If you want to install add-on files from a custom
repository, first add the repository by clicking Configure Repositories.
Click New... to add the repository. The files are then added to the list of
add-on files.
After you complete your selection in the Install Add-ons page, click
Next.
- In the License Acceptance page, if you accept the license terms, select
I accept the terms of all the license agreements then click
Next.
Now you can skip to Step 7.
If you want to download and install the no-charge developer edition of Liberty, complete the
following steps:

Select Install from an archive or respository, and click
Next.

In the Destination field, type or browse for the directory where you
want to install the Liberty runtime environment. If you type a path that does not exist, then a folder for that path is created automatically at
the end of Step 10.

Select Download and install a new runtime environment from ibm.com,
choose a runtime environment version, and then click Next.
- In the Install Add-ons page, click Install or
Install Pending to make your selection of add-on archive files that you want
to install on the Liberty runtime environment.
You can install an add-on archive file from your local file system, download, or use a
combination of both when you install multiple add-on archive files. If the workbench is connected to
the internet, the Install Add-ons page is populated with add-on archive files
available for download from the WAS dev community download site.
This download site includes add-ons that you can select from the Liberty Repository, such as
runtime features, samples, or open source integration.
If you want to install add-on archive files from your local file system, click Add
Archive. In the Add-on archive field, type or browse for the
add-on archive file on the local file system, and then click OK. If you have
more add-on archive files to install from your local file system, repeat this step until you are
done.
If you want to install add-on files from a custom repository, first add the repository by
clicking Configure Repositories. Click New... to add
the repository. The files are then added to the list of add-on files.
After you complete your selection in the Install Add-ons page, click
Next.
- In the License Acceptance page, if you accept the license terms, select
I accept the terms of all the license agreements then click
Next.
Now you can skip to Step 7.
- If the Liberty Server page displays, in the Liberty
server field, use the drop-down list to select an existing server. Or click
New to create a new server.
Note: This step is skipped and the New Liberty Server dialog is displayed directly if there are no
defined Liberty Servers to choose from.
- If you are creating a new server, in the Server name field of the
New Liberty Server page, enter a server name of your choice or use the default
server name, defaultServer. Then, click Next if available,
otherwise click Finish.
- In the Liberty Server, click Next.
- Optional: Add the projects of your application
to the server. On the Add and Remove page,
under the Available list, select the projects
that you want to add to the server and click Add.
The project appears in the Configured list.
- Click Finish.
Results
You created a WebSphere Application Server Liberty
server.
- Click the Servers view to see the server
that you created and its server configuration.
- Click the Enterprise Explorers view to
see the project, the server folder, and the server configuration files.
What to do next
- Edit the server configuration. For more information, see Editing the Liberty configuration by using developer tools topic.
- Start
or stop the server, add or remove applications on the server,
and many other tasks. You can perform these tasks
by using the server context menu (right-click on the server to open
the pop-up menu) or by selecting the tray buttons in the Servers view.
Tip: In the Servers view, you must select the server entry to
perform these tasks. Do not select the server configuration, such
as the Server Configuration [server.xml] entry for
performing these tasks.
- Optionally configure your server to do specific tasks such as configure Liberty to authenticate
users with Tivoli® Directory Server: Right-click
Servers. Select . After you select the snippets and accept any licenses, the selected configuration
snippets are then downloaded and included in the server.xml file.