Installing on Linux
6 minute read
Nuix RESTful Service provides a wizard-based installer that guides you through the installation and initial configuration of the application. Follow the steps in this section to complete your installation of Nuix RESTful Service in a Linux environment.
Depending on the configuration of your system, Nuix RESTful Service can be installed into both graphical and non-graphical environments using the same installer.
Warning
A JRE is not bundled with the Linux installers provided by Nuix RESTful Service. The latest version of Java 11 for your environment must be installed prior to installing Nuix RESTful Service on Linux.If performing an upgrade, ensure that a backup of your existing Java Options is made prior to installation as these values will be overwritten. These values can be found in the bin/setenv.sh file within your installation directory. See Verifying Java Options after completing your upgrade for steps on adding these configurations back to installation.
Prerequisites
The following prerequisites must be installed prior to using Nuix RESTful Service in a Linux environment.
- GTK+ graphical user interface library
- X11 Screen Saver extension library
- Chromium browser (if using OCR)
Perform the following steps to install all prerequisites:
- Open a terminal within your Linux environment:
- Based on your operating system, enter one of the following commands to install the dependences:
- Debian/Ubuntu:
apt-get install libgtk-3-0 libxss1 xvfb
- Debian/Ubuntu:
- If using the Nuix OCR Addon, install the Chromium browser using the following command:
sudo apt install --assume-yes chromium-browser
- After installation completes, start the X-Server Virtual Framebuffer using the following command:
Xvfb :1 -screen 0 1280x1024x24 &
Note
This command only needs to be performed after the initial installation or if thexvfb
process is ever terminated.
Installation
Perform the following steps to install Nuix RESTful Service.
- Download the Linux installer from the Nuix Customer Portal.
- Open a terminal and navigate to the directory that contains the installer.
- Enter the following command to untar the installer:
tar xvf [path to installer]rest-linux_[version].tar
- Enter the following command to assign execute privileges for the installer to the current user:
sudo chmod u+x rest-linux_[version].sh
- Enter the following command to run the installer:
./rest-linux_[version].sh
The installer may take a moment to prepare the wizard. When complete, follow the steps within the wizard to complete the installation. If installing in a non-graphical environment, the following steps will be presented within the terminal.
- From the Welcome Screen, click Next to begin.
Note
If a previous version of Nuix RESTful Service is already installed, the following options are provided:
- Update the existing installation
- Create a new installation in a separate location.
Choosing to update will bypass all further configuration steps within the wizard and begin the installation process using the configurations defined within the previous installation.
-
Read and understand the terms included in the Nuix End User License Agreement.
- If you agree to the terms, select I accept the agreement, and click Next.
-
If installing for the first time, choose a location to install Nuix RESTful Service.
- Click Next to accept the default location and proceed.
- Alternatively, click Browse to choose a specific location for the installation.
-
Click Next to perform the installation.
-
On the License Server Type screen, select the option that matches the server type you are using for licensing, then click Next.
- Nuix Management Server (NMS)
- Relay server with NMS users
- Relay server with CLS users
- Cloud License Server (CLS)
-
If NMS or a Relay server was selected, enter the following details on the License Server Configuration screen, then click Next:
Note
If CLS is selected as the server type, this step is skipped.- Server address: The URL used to access a configured Nuix Management Server.
- Server port: The server port used to access the configured Nuix Management Server.
-
On the License Server Credentials screen, enter the credentials for an account that has access to the selected server type, then click Next.
-
Review and make changes, if necessary, to the details provided on the Java & Folder Options screen.
Option | Description |
---|---|
Java Options | Optimize the Java settings used by Nuix RESTful Service to suit your hardware specifications. Define one argument per line. Default settings are recommended for most configurations. For help or assistance with tuning your JVM settings, contact the Nuix Support team at https://nuix.service-now.com/support. |
IP Address or Hostname | The URL used to access Nuix RESTful Service. |
HTTP Port | The server port used to access Nuix RESTful Service. |
Case Directory | Specify a location where case files are stored. |
User Scripts Directory | Specify a location where user generated scripts are stored. |
Logs Directory | Specify a location to save logs generated by Nuix RESTful Service. |
- After reviewing the Java & Folder Options screen, click Next to continue.
- Specify how Nuix RESTful Service should be run:
Option | Description |
---|---|
Service | Run Nuix RESTful Service in the background as a service. |
Application | Run Nuix RESTful Service as a standalone application. See Starting in Application Mode after installation completes for details on starting the application. |
Start Service | Select this checkbox, if the Service option was selected, to start Nuix RESTful Service when installation completes. |
- Click Finish to complete the setup and exit the wizard.
Post-Installation Configuration
After completing the installation of Nuix RESTful Service, the following configurations should be considered.
Verifying Java Options
If upgrading from an installation earlier than version 7.8, backed up Java Options can be added back to the installation after the upgrade using the following steps.
To add any of these options to your existing installation:
- Navigate to the location where Nuix RESTful Service is installed.
- Debian/Ubuntu default path:
/opt/nuix-restful-service
- Debian/Ubuntu default path:
- Locate and open
Nuix-REST.vmoptions
within a text editor. - Modify the file, adding one argument per line.
- Save and exit the editor.
- Restart Nuix RESTful Service.
Starting in Application Mode
If Nuix RESTful Service was configured to be run as a standalone application, the service must be manually started and stopped.
To start Nuix RESTful Service in Application Mode:
- Open a terminal.
- Navigate to the location where Nuix RESTful Service is installed.
- Debian/Ubuntu default path:
/opt/nuix-restful-service
- Debian/Ubuntu default path:
- Start the application using the following command:
./nuix-rest start
- Stop the application using the following command:
./nuix-rest stop
Verifying Your Installation
Once your installation is complete, complete the following steps to verify your deployment:
- Open a web browser and enter the following URL
localhost:8080/nuix-restful-service/svc/v2/about
- If the installation was successful, the response body will return with information about the RESTful service.
"server" : "http://localhost:8080/nuix-restful-service/svc", "serverId" : "72670a5e-f0e1-4046-8b2e-22a42fe2ac9a", "startupTime" : null, "nuixRestfulVersion" : null, "engineVersion" : null }
API Documentation
The Nuix RESTful Service provides a robust Application Programming Interface (API) that enables you to integrate your product or application with the Nuix Engine. For information about the endpoints that are available within the API, refer to the Nuix RESTful Service API documentation.
The API reference documentation is included with Nuix Restful Service and can be accessed at the following URL after installation.
http://<localhost>:8080/nuix-restful-service/svc/docs
Feedback
Was this page helpful?
Thank you for your feedback.
Thank you for your feedback.