Install Smart Analytics on Linux

Note Before you install the SM Smart Analytics servers, make sure that your servers meet the system requirements as specified in System requirements.

To install the SM Smart Analytics servers on a Linux-based system, follow these steps:

  1. Obtain the SM Smart Analytics installer (setupSmartAnalyticsLinuxX64.bin) for Linux from the SM Smart Analytics installation media.
  2. Run the installer from the command line or by using the GUI interface on the Linux server, and then follow the on-screen instructions to install SM Smart Analytics.

    Tip For more information on the configuration items during installation, refer to the installation section for Windows.

    To get the Hostname of the local machine that the client server is installed on, type hostname -A in the command line.

    To get the IPv6 address of the local machine that Smart Analytics main server is installed on, type ifconfig in the command line to get the inet6 value.

  3. Run the following command to import the out-of-box data before you start any component of Smart Analytics:

    [INSTALL_DIR]/OOBData/ImportOOBData.sh

  4. Run the corresponding commands to start the SM Smart Analytics servers that you installed:

    • To start the main components of SM Smart Analytics servers, run the following command:

      [INSTALL_DIR]/scripts/StartALL.sh

      This script starts three content servers, a Smart Search proxy server, a main proxy server, a Connector Framework Server (CFS), and an image server one by one.

      Note By running this script, you also start the other components, such as connectors, if they are installed.

      Tip If you want to stop all these components, run the following command:

      [INSTALL_DIR]/scripts/StopALL.sh

  5. Run the corresponding commands to start each component that you installed:

    • To start a content server, run the following command:

      [INSTALL_DIR]/scripts/StartContent[x].sh

      Note Replace [x] with the number of your content server, for example, StartContent1.

      Tip If you want to stop a content server, run the following command:

      [INSTALL_DIR]/scripts/StopContent[x].sh

    • To start both the main proxy server and the Smart Search proxy server, run the following command:

      [INSTALL_DIR]/scripts/StartIDOL.sh

      Note Before you start the main proxy server, make sure all the content servers have started.

      Tip If you want to stop the main proxy server, run the following command:

      [INSTALL_DIR]/scripts/StopIDOL.sh

    • To start a Connector Framework Server (CFS), run the following command:

      [INSTALL_DIR]/scripts/StartCFS.sh

      Tip If you want to stop a Connector Framework Server (CFS), run the following command:

      [INSTALL_DIR]/scripts/StopCFS.sh

    • To start an image server, run the following command:

      [INSTALL_DIR]/scripts/StartImageServer[x].sh

      Note Replace [x] with the number of your image server, for example, StartImageServer1.

      Tip If you want to stop an image server, run the following command:

      [INSTALL_DIR]/scripts/StopImageServer[x].sh

    • To start an image proxy server, run the following command:

      [INSTALL_DIR]/scripts/StartImageDAH.sh

      Tip If you want to stop an image proxy server, run the following command:

      [INSTALL_DIR]/scripts/StopImageDAH.sh

    • To start an HTTP connector, run the following command:

      [INSTALL_DIR]/scripts/StartHTTPConnector.sh

      Tip If you want to stop an HTTP connector, run the following command:

      [INSTALL_DIR]/scripts/StopHTTPConnector.sh

    • To start a file system connector, run the following command:

      [INSTALL_DIR]/scripts/StartFileSystemConnector.sh

      Tip If you want to stop a file system connector, run the following command:

      [INSTALL_DIR]/scripts/StopFileSystemConnector.sh

Tip If you want to uninstall SM Smart Analytics, see Uninstall Smart Analytics.