This guide covers the steps necessary to perform an enterprise installation of Appian on a supported Linux operating system and configured to run on your application server. These steps assume that your installation will be performed on a single server, however, they are also used in conjunction with the High Availability and Distributed Installations page for multiple server installations.
Before starting the installation process, review the System Requirements to ensure all minimum requirements are met.
There are three main parts to an Appian installation:
Engine & services installation involves deploying the Appian installation package. Next, environment-specific configurations are made to Appian's engines and services, the application server, and relational database management system (RDBMS) so they all talk to each other. Finally, administrators perform final start-up and setup procedures to get the installation up and running.
In order to successfully complete the installation steps below, several prerequisite steps must first be completed:
Configure the application user account: A non-root user must have the following rights assigned when running the setup.
Directory or File | Read | Write | Execute |
---|---|---|---|
APPIAN_HOME | Yes | Yes | Yes |
JAVA_HOME | Yes | No | Yes |
Installation Package | Yes | No | Yes |
Refer to the Installation Prerequisites page for more details.
The first part of the installation process is to run the Appian installer, which deploys the engines, services, search server, data service, Appian Java EE application, and relevant libraries and files. After running the Appian installer, the temporary product license is placed in the appropriate directory from the prerequisite steps. This allows the administrators to obtain information about the machine necessary to acquire a long-term product license.
Note: Before and during the installation process, temporarily disable any antivirus software or search indexing utilities running on the server.
The Appian installer can be downloaded from the Downloads tab on MyAppian.
Note: The latest hotfix is included as part of the Appian installer. When planning an installation or upgrade, ensure each environment is using the same version of the installer. This can be verified after installation by opening the build.info file located in <APPIAN_HOME>/conf/
. The contents of this file should match across all environments.
To install Appian:
<APPIAN_HOME>
directory exists prior to executing the installer.
& ^ = ( ) <space>
<APPIAN_HOME>
directory before installing this one.<APPIAN_HOME>
directory./tmp/
by default on a Linux servers). If you encounter an error that says failed to map segment from shared object
when running the installer, this directory is not writable by your user. You can change which directory the installer uses for this with the env
command.env TMP=/path/to/tmpdir /path/to/installer.bin
Once the installation is complete, your product license must be obtained and installed. Appian cannot be started without a valid license. The temporary license obtained earlier is only valid for 7 days. It is designed to obtain long-term licenses for your environments, for example, dev, test, and production.
To request a long-term license, follow Requesting and Installing a License. For each environment, obtain long-term product licenses for all of the servers where engines will reside as well as licenses for the data service.
Once you have obtained the long-term license, use the configure script to manage the long-term product licenses in a central repository.
Installation Steps for both will be discussed in the next part of the installation guide.
The main part of an Appian installation is setting configuration properties necessary for Appian to communicate with an RDBMS and a web server. This section is split into four parts:
Before making any configurations changes, perform the following parts of the configure script:
Once you've registered an environment, the <REPO_HOME>
directory will populate subdirectories with a copy of all the core configuration files. Make any desired changes within these repository directories.
The remaining menu options of the configure script are either optional or will be performed later in this installation guide.
Once the configure script has been initialized, the remaining Appian configurations need to be finalized. Changes will be made in the <REPO_HOME>
directory.
custom.properties
.k3.lic
and k4.lic
file. For example, use k3.lic.dev
for a license going to a dev environment. The Appian engines use the k3.lic
while the data service uses the k4.lic
.Optional configurations are performed at the discretion of the System Administrator based on the needs of a particular environment. See the Optional Configurations section of the Post-Install Configurations page for specific guidance.
Caution: Appian does not support any custom configurations of the Tomcat instance included with Appian. If you do modify the Tomcat instance of a self-managed installation, we cannot guarantee that hotfixes or upgrades will not impact or overwrite the modifications. For example, we do not support enabling HTTP Strict Transport Security (HSTS) in the Tomcat instance included with Appian. Instead, we recommend adding HSTS headers at the web server layer or via an upstream network device.
A supported relational database is required for the Appian data source, which is used exclusively for storing data relating to the Appian installation as a whole.
Whichever relational database is used, a JDBC Driver is required and should have been downloaded as part of the prerequisite steps above.
To create a data source in Appian:
tomcatResources.xml.<ENVIRONMENT>
file has the following privileges on the data source schema:
<REPO_HOME>/conf/tomcatResources.xml.<ENVIRONMENT>
file, define the JNDI name, server, port, and database name. The JNDI name in the tomcatResources.xml.<ENVIRONMENT>
must match the name referenced in custom.properties
.These steps occur outside the configure script repository and Appian installation directory.
Once all of the necessary configurations are made, it's time to deploy the configure script's repository. Deployment consists of two steps: verification and deployment. The configure script has these steps built in.
To properly deploy Appian using the configure script, follow the instruction in the validating configurations and deploying configurations sections of the configure script page.
Configurations can successfully be verified by reviewing the files in the <APPIAN_HOME>
directory.
Once all of the configurations are deployed, it's time to start Appian and verify the installation was successful. Before starting Appian and signing into it, a system administrator user account will need to be generated. Additionally, the service manager requires a password to run its scripts.
Use the password script to generate a service manager password. This password is used on any of the service manager scripts as a way to protect against anyone without proper access from running administrative scripts.
Follow the instructions on Starting and Stopping Appian to properly start Appian.
To sign in to Appian:
https://<host-name>/suite/design/users
.Administrator
and temporary password admin
.The default Administrator
account cannot access the Admin Console, so a separate account is required to complete the following steps.
Review and make changes to the default settings in the Admin Console.
The business data source creates a connection between Appian application objects and your business data. Setting up your business data source is handled through the Admin Console. Multiple business data sources can be configured for a single environment.
Question: I have configured Appian services to run under daemon, and I have a full product license, but Appian won't start. Running the k
command from the console also displays the message k3.lic
instead of my license details. Why is that?
If Appian is configured to run as daemon, you must create a symbolic link to the k
directory from the /home/
directory (of the user account that is running Appian) to the /home/
directory of the root user. Otherwise, the root user appears to the system to have an invalid license. Also, modify etc/exports
to provision read only rights for the directory where k is installed.
Tip: For additional troubleshooting resources, refer to the Appian Knowledge Base on Community.
To uninstall Appian, delete the APPIAN_HOME directory.
Linux Installation Guide