This knowledge base article provides instructions for running the Nexus IQ Server as a service under Windows. If you want to run the Nexus IQ Server as a service on Linux please see our installation guide.
New Nexus IQ Server Install as a Windows Service
- Ensure you have already installed the latest JDK from Oracle on the target system and the system meets our other system requirements.
- Download and extract the clm-jsw.zip file attached to this article into a directory path that does not contain spaces.
- Replace the extracted conf/config.yml with the config.yml file from current Nexus IQ server installation (be sure to check the "sonatypeWork" property in the copied version to make sure it is correct).
- Copy the nexus-iq-server-<version>.jar file from your installation into the "lib" directory.
- Note: Do not copy the nexus-iq-cli-<version>.jar file into that directory. That is the command line scanner, and it cannot be on the class path of IQ Server.
- The service will run as the SYSTEM user. IQ server requires use of a temporary directory to perform some work.
The SYSTEM user will use "%systemroot%\System32\config\systemprofile\Temp" as it's temporary directory.
On some versions of Windows this directory does not exist by default. Make sure that this directory exists. Create it manually if it does not.
- Using an administrative user, run ".\bin\clm install".
- Using an administrative user, run ".\bin\clm start" to start the windows service, or start it through the services UI.
- Verify that on restarting the host, that the application will successfully restart itself.