# Installing Policy Studio on Linux

## Contents
Prerequisites Download the Policy Studio Start the Enterprise Gateway Start the Policy Studio

## Prerequisites
This document describes how to install Oracle Policy Studio on Linux platforms. Please see the System Requirements to ensure that the target machine is of a suitable specification. For details on Enterprise Gateway components and concepts, see the Oracle Enterprise Gateway Architecture.
## Download the Policy Studio
Download the Policy Studio `tar.gz` archive, and use the appropriate tools on your platform to untar and unzip the archive distribution to a clean directory. The relevant files are installed to the directory from which you run these commands.
## Start the Enterprise Gateway
To start the Enterprise Gateway from a shell prompt: Start a shell prompt. Change directory to the `/posix/bin` directory of your Enterprise Gateway installation. Start `./enterprisegateway.`
    prompt# cd /usr/home/enterprisegateway/posix/bin
    prompt# ./enterprisegateway -d
Important Note: You can encrypt all sensitive Enterprise Gateway configuration data with an encryption passphrase. For example, you can specify this passphrase in your Enterprise Gateway configuration file, or on the command line when the Enterprise Gateway is starting up. For more details on configuring this passphrase, see Setting the Encryption Passphrase.
## Start the Policy Studio
Follow these steps to start the Policy Studio from a shell prompt: Start a shell prompt. Change to your Policy Studio installation directory. Start `./policystudio`.
    prompt# cd /usr/home/policystudio
    prompt# ./policystudio
Making a Server Connection When the Policy Studio starts up, click a link to a server session to display the Open Connection dialog. You can use this dialog to specify Connection Details (for example, host, port, user name, and password), or to specify Saved Sessions. If you wish to connect to the server using a non-default URL, click Advanced, and enter the URL. The default Enterprise Gateway server URL is:
    http://localhost:8090/configuration/deployments/DeploymentService
For more details on the settings in the Open Connection dialog, see Connection Details.