Running the application

This section includes the following topics to help you get started with the application:

Manually starting or stopping in Windows

Nexpose is configured to start automatically when the host system starts. If you disabled the initialize/start option as part of the installation, or if you have configured your system to not start automatically as a service when the host system starts, you will need to start it manually.

Starting the Security Console for the first time will take 10 to 30 minutes because the database of vulnerabilities has to be initialized. You may log on to the Security Console Web interface immediately after the startup process has completed.

If you have disabled automatic startup, use the following procedure to start the application manually:

  1. Click the Windows Start button
  2. Go to the application folder.
  3. Select Start Services.

Use the following procedure to stop the application manually:

  1. Click the Windows Start button.
  2. Open the application folder.
  3. Click the Stop Services icon.

Changing the configuration for starting automatically as a service

By default the application starts automatically as a service when Windows starts. You can disable this feature and control when the application starts and stops.

  1. Click the Windows Start button, and select Run...
  2. Type services.msc in the Run dialog box.
  3. Click OK.
  4. Double-click the icon for the Security Console service in the Services pane.
  5. Select Manual from the drop-down list for Startup type:
  6. Click OK.
  7. Close Services.

Manually starting or stopping in Linux

If you disabled the initialize/start option as part of the installation, you need to start the application manually.

Starting the Security Console for the first time will take 10 to 30 minutes because the database of vulnerabilities is initializing. You can log on to the Security Console Web interface immediately after startup has completed.

To start the application from graphical user interface, double-click the Nexposein the Internet folder of the Applications menu.

To start the application from the command line, take the following steps:

  1. Go to the directory that contains the script that starts the application:

$ cd [installation_directory]/nsc

  1. Run the script:./nsc.sh

Working with the daemon

The installation creates a daemon named nexposeconsole.rc in the /etc/init.d/ directory.

WARNING: Do not use <CTRL+C>, it will stop the application.

To detach from a screen session, press <CTRL +A + D>.

Manually starting orstopping the daemon

To manually start or stop the application as a daemon, run the following commands:

service nexposeconsole start/stop

systemctl nexpose start/stop

Preventing the daemon from automatically starting with the host system

To prevent the application daemon from automatically starting when the host system starts, run the following command:

$ update-rc.d [daemon_name] remove