# Setting the Required Environment Variables

You can set the required variables at the installation or at a later time before you want to run any platform server commands.

TIBCO MFT Platform Server requires correct configuration of the following environment variables. These variables must be set for all users who run TIBCO MFT Platform Server. Use the `export` statements provided in the message at the end of the installation to set correct values for these variables.

Parameter | Description
--- | ---
CFROOT | Used by TIBCO MFT Platform Server to locate the installation directory.
PATH | Used by UNIX to locate the platform server executables.
LD_LIBRARY_PATH | Used by UNIX to locate the necessary lib files. Note: For AIX system, you must set the LIBPATH environment variable.

You can define these environment variables by using one of the following approaches:

- In the system profile: you can configure the default value for all users.
- In the user profile: the user profile value overrides the system profile and becomes the default option for the user.
- On the command line: the command line overrides the system profile and user profile.

Note: It is good practice that you put these export statements in the user profile, otherwise you have to export PATH and CFROOT every time you log on.

For example, if you install TIBCO MFT Platform Server for UNIX to the default location, configure your variables as follows:

`export CFROOT=/mftps`

`export PATH=$PATH:$CFROOT/bin`

`export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CFROOT/libs`

Note:

- If you want to use TIBCO Accelerator, set your PATH environment variable with the following command:

  `export PATH=$PATH:$CFROOT/Accelerator`

- If you are running on AIX system, set your LIBPATH environment variable with the following command:

  `export LD_LIBRARY_PATH=$LIBPATH:$CFROOT/libs`

- If you are running other applications that use libstdc++ and libgcc files, do not run the `export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CFROOT/libs` command, or add it to the system profile or user profile.

Copyright © 2022. TIBCO Software Inc. All Rights Reserved.