Open topic with navigation

# Use the Zip Package

The zip package contains a `.jar` file, and an `install` directory that contains the individual installation files.

To install IHPE IDOL Search Optimizer on Ubuntu Linux

1. Ensure that all the software listed in External Requirements is installed, running, and available.

2. Create a user and group to run HPE IDOL Search Optimizer as. HPE recommends that you use `searchoptimizer` as both the user name and the group name:

   `$ useradd searchoptimizer`

3. Create a directory in which to install HPE IDOL Search Optimizer. HPE recommends that you use `/opt/searchoptimizer` as the installation directory.

   `$ mkdir /opt/searchoptimizer`

4. Create a directory to serve as the home directory for HPE IDOL Search Optimizer. HPE recommends that you use `/opt/searchoptimizer/home` as the home directory.

   `$ mkdir /opt/searchoptimizer/home`

5. Copy the HPE IDOL Search Optimizer `searchoptimizer.jar` file into the installation directory:

   `$ cp searchoptimizer.jar /opt/searchoptimizer/`

6. Recursively change the ownership of the installation directory:

   `$ chown -R searchoptimizer:searchoptimizer /opt/searchoptimizer`

7. Deploy the startup script.

   - System V:

         $ cp install/linux/sysv/searchoptimizer.sh /etc/init.d/searchoptimizer
         $ chmod +x /etc/init.d/searchoptimizer
         $ update-rc.d searchoptimizer defaults 99

   - Upstart:

         $ cp install/linux/upstart/searchoptimizer.conf /etc/init/
         $ chmod +x /etc/init/searchoptimizer.conf

8. If you have used any non-default paths and so on during installation, edit the startup script to contain the values that you used.

9. Start the application.

   - System V:

         $ sudo /etc/init.d/searchoptimizer start

   - Upstart:

         $ sudo service searchoptimizer start

To install HPE IDOL Search Optimizer as a Windows Service

1. Download a copy of the Windows service wrapper from https://github.com/hpe-idol/winsw, and change the name of the `winsw.exe` executable file to `searchoptimizer.exe`.
2. The `install` directory in the HPE IDOL Search Optimizer installation zip package includes a `Windows` folder. This folder contains a `winsw` folder, which in turn contains a `searchoptimizer.xml` file. Move the `searchoptimizer.exe` file into this folder.
3. Ensure that the HPE IDOL Search Optimizer home directory and port are correctly configured in the `searchoptimizer.xml` configuration file. You must also ensure that `searchoptimizer.exe`, `searchoptimizer.xml`, and `searchoptimizer.war` are all in the same directory.

4. Run the following command from the Windows command line to install HPE IDOL Search Optimizer as a service:

   `searchoptimizer.exe install`

Note: You can also use the following commands with `searchoptimizer.exe`:

- `uninstall`
- `start`
- `stop`
- `status`

For more information, see https://github.com/hpe-idol/winsw.

Before you start HPE IDOL Search Optimizer, follow the steps in Configure HPE IDOL Search Optimizer, and ensure that you have set up the required user roles in HPE IDOL Community. A user must be a member of one of these roles to log into HPE IDOL Search Optimizer. See User Roles for more information.

© 2014-2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm