Oxidized is a network device configuration backup tool that supports a wide range of devices. In this tutorial, we will walk you through the steps to install Oxidized on OpenBSD.
Before starting the installation process, update the OpenBSD operating system to its latest version with the following command:
$ sudo sysupgrade -S
This command will fetch the latest patches and upgrade the operating system packages.
Oxidized requires Ruby and Git to be installed. You can install these dependencies by running the following command:
$ sudo pkg_add ruby git
To install Oxidized, you can use the Git version control system to clone the Oxidized repository. You can do this with the following command:
$ git clone https://github.com/ytti/oxidized.git
Once the cloning process is complete, navigate to the cloned Oxidized repository directory:
$ cd oxidized
Then, use Ruby's bundler to install the required Ruby gems:
$ bundle install
After installation, you need to configure Oxidized by editing the oxgen.conf
file. This contains the configuration details required to collect the device information.
To configure Oxidized, copy the sample configuration file to the default configuration file name:
$ cp oxgen.conf.sample ~/.config/oxidized/config
Then edit the configuration file using your favorite text editor:
$ vi ~/.config/oxidized/config
In the configuration file, specify the device's hostname, IP, login credentials, enable credentials, and other details. Be sure to save the changes.
To test the installation, run the Oxidized and wait until it completes. You can initiate it by executing:
$ oxidized
If everything was set up correctly, you should see something like:
...
2017-07-08 20:07:08 INFO PID-1 TID-47255787527280 oxidized.rb:33 - running on 0.0.0.0:8888
2017-07-08 20:07:12 INFO PID-1 TID-47390134936160 lib/oxidized/runner.rb:70 - Node Router Configuration Store Completed
...
That’s it! You have successfully installed Oxidized on OpenBSD. You can configure Oxidized for more devices by editing the configuration file, and you can launch the application by running the oxidized
command.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!