This guide takes you through the steps for installing software on Ubuntu.
For more information on supported operating system versions, see Product Support Matrix in the Planning Guide.
Before you begin, please complete the following.
NOTE: Except for database installation and configuration, all install commands should be run as the root user or a user with similar privileges. For database installation, you will be asked to switch the database user account. |
Steps:
Verify that all required System Ports are opened on the node.
Review the System Dependencies in the Planning Guide.
Cluster configuration: Additional steps are required to integrate the with the cluster. See Prepare Hadoop for Integration with the Platform in the Planning Guide.
Install and verify operations of the datastore, if used.
NOTE: Access to the cluster may be required. |
Verify access to the server where the is to be installed.
Tip: The Python setup tools can be useful for debugging startup issues. To install:
|
If you have not done so already, you may download the dependency bundle with your release directly from . For more information, see Install Dependencies without Internet Access.
Use the following to add the hosted package repository for Ubuntu, which will automatically install the proper packages for your environment.
NOTE: Install curl if not present on your system. |
Then, execute the following command:
NOTE: Run the following command as the root user. In proxied environments, the script may encounter issues with detecting proxy settings. |
curl https://packagecloud.io/install/repositories/trifacta/dependencies/script.deb.sh | sudo bash |
Special instructions for Ubuntu installs
These steps manually install the correct and supported version of the following:
Due to a known issue resolving package dependencies on Ubuntu, please complete the following steps prior to installation of other dependencies or software.
Login to the as an administrator.
Execute the following command to install nodeJS, nginX, and Supervisor:
Ubuntu 16.04 (Xenial):
sudo apt-get install supervisor=3.2.4 nginx=1.17.7-1~xenial nodejs=12.16.1-1nodesource1 |
Ubuntu 18.04 (Bionic Beaver):
sudo apt-get install supervisor=3.2.4 nginx=1.17.7-1~bionic nodejs=12.16.1-1nodesource1 |
Continue with the installation process.
By default, the uses OpenJDK for accessing Java libraries and components. In some environments, basic setup of the node may include installation of a JDK. Please review your environment to verify that an appropriate JDK version has been installed on the node.
NOTE: Use of Java Development Kits other than OpenJDK is not currently supported. However, the platform may work with the Java Development Kit of your choice, as long as it is compatible with the supported version(s) of Java. For more information, see System Requirements in the Planning Guide. |
Tip: OpenJDK is included in the offline dependencies, which can be used to install the platform without Internet access. For more information, see Install Dependencies without Internet Access. |
The following commands can be used to install OpenJDK. These commands can be modified to install a separate compatible version of the JDK.
sudo apt-get install openjdk-8-jre-headless |
JAVA_HOME:
By default, the JAVA_HOME
environment variable is configured to point to a default install location for the OpenJDK package.
NOTE: If you have installed a JDK other than the OpenJDK version provided with the software, you must set the |
The property value must be updated in the following locations:
Edit the following file: /opt/trifacta/conf/env.sh
NOTE: If you are installing without Internet access, you must reference the local repository. The command to execute the installer is slightly different. See Install Dependencies without Internet Access. |
NOTE: Installing the |
Install the package with apt, using root:
NOTE: If you encounter errors running the following command, execute the next command anyway. If that command completes without error, the installation is ok. |
sudo dpkg -i <deb file> |
The previous line may return an error message, which you may ignore. Continue with the following command:
sudo apt-get -f -y install |
The product is installed in the following directory:
/opt/trifacta |
JAVA_HOME:
The platform must be made aware of the location of Java.
Steps:
Update the following parameter value:
"env": { "JAVA_HOME": "/usr/lib/jvm/java-1.8.0-openjdk.x86_64" }, |
Please install the license key provided to you by . See License Key.
If you are integrating with a supported Hadoop cluster, you must install the dependencies for the Hadoop cluster on the . See below.
All files in the |
Steps:
Before you upgrade, please complete the following:
Execute the following command. The user that is being granted ownership of the install directory is trifacta
, which is the default user that runs the platform. If you are using a different user to run your , please substitute that name.
chown -R trifacta:trifacta /opt/trifacta |
For safekeeping, you should retain all install packages that have been installed with this .
The requires installation of several databases. If you have not done so already, you must install and configure the databases used to store
. See Install Databases in the Databases Guide.
After installation is complete, additional configuration is required to make the platform operational. See Install Configuration.