If you are looking at **upgrading/migrating** your current installation, please refer to [Before moving to Opsview Monitor 6.x](🔗) to see which page is better suited for your scenario.
This page describes the procedure to undertake an automated fresh installation of the Opsview Monitor software, which is our recommended method.
A couple of previous considerations:
The automated installation method will always install the latest available version of Opsview Monitor.
The automated installation method **assumes you have a new operating system installation** since the Opsview Monitor installation may overwrite or remove some existing packages and configuration(s).
The automated installation method will update your OS with the latest set of packages available in your package manager
Configure a hostname which can be resolved by the host's DNS settings, for example `
opsview.example.com` should resolve to the IP of the server.
## Supported Operating systems
Please refer to [this page](🔗).
Please ensure that any proxies are unset and Opsview addresses are whitelisted - [information here](🔗)
-p: setup the admin password
-s: activate the software with the provided key
-y: skip any installation prompts
To learn about all the options available, you can check the help flag:
### Optional SHA256 checksum verification
You can also verify the script before running it by comparing the checksum you get with
Ensure the returned string matches the following:
You can then run the installation (and optionally provide the arguments):
## NGINX Change (SSL Certificates)
Nginx is designed to use only one file that is a combination of your SSL Certificate (server.crt, if you have not renamed it) and your IntermediateCA file. Therefore you need to combine the your SSL certificate file and the IntermediateCA.crt into one single concatenated file in order for Nginx to start successfully. If you find that your homepage/web-page isn't loading up correctly please consider this change may need to be made for Nginx to start - the Opsview component that starts Nginx is opsview-webserver
Replace the below file names with appropriately
Now that this is complete, opsview-webserver should start withinout issue.
## Logging in
During the installation, a single administrative user will have been created. The credentials for this user are:
After the system is activated, carry out a reload by navigating to `
Configuration => [System] => Apply Changes` and pressing the Apply Changes button.
## Problems with Installations
If you encounter any problems with the installation, it is safe to rerun the command again.
You are also able to continue the installation from a checkpoint for the following reasons:
Cancelled installations, which can be done by pressing CTRL+C
Failed installations, e.g. a network connection failure
The automated installation consists of 5 steps that can be partially executed:
|Step name||Description||Output from Automated Installation script|
|upd||Update OS packages||`|
|repo||Add Opsview package repository||`|
|boot||Install and configure our deploy tool||`|
|fire||Configure the firewall rules for the Web UI. For a full list of ports and extra manual firewall rules you need, see [List of Ports](🔗)||`|
|inst||Use the deploy tool to install Opsview||`|
With that in mind, we can then use the -A and -O flags to install up to a certain step or install only that step respectively. While the examples before would run all the five steps in order, this one would rerun all 5 steps:
This second example would just run the firewall step:
If you entered your software key incorrectly (which will fail at the _inst_ step), the command below will remove the incorrect key, re-create the configuration file and re-run the installation: