Oxidized is an open source network device configuration backup tool that supports multiple vendors. In this tutorial, you will learn how to install Oxidized on OpenSUSE latest.
Make sure you have the following prerequisites before starting the installation process:
Before installing Oxidized, it is recommended to update the system packages to the latest version. To do this, run the following command:
sudo zypper update
Oxidized requires several dependencies to function properly. Install them by running the following command:
sudo zypper install gcc make libxml2-devel libxslt-devel ruby ruby-devel rubygem-bundler rubygem-json
Once the dependencies are installed, you can proceed with the installation of Oxidized. Follow the steps below to install it:
Clone the Oxidized repository from GitHub using the following command:
git clone https://github.com/ytti/oxidized.git
Change the directory to the cloned repository using the following command:
cd oxidized
Run the following command to install the required gems:
sudo bundle install --path vendor/bundle
Run the following command to install Oxidized:
sudo bundle exec rake install
Once the installation is complete, you can verify the version of Oxidized by running the following command:
oxidized --version
After installing Oxidized, you need to configure it to backup the network devices. Oxidized stores its configuration files in the /etc/oxidized directory. You can create this directory by running the following command:
sudo mkdir /etc/oxidized
Copy the sample configuration file from the Oxidized repository to the /etc/oxidized directory:
sudo cp oxidized.conf /etc/oxidized/
Next, edit the configuration file and add your network devices' information:
sudo nano /etc/oxidized/oxidized.conf
You can find the configuration file's instructions in the comments section.
After configuring Oxidized, you can start the Oxidized service by running the following command:
sudo oxidized
Oxidized should now be running and backing up your network devices' configuration.
You have successfully installed Oxidized on OpenSUSE latest and configured it to backup your network devices' configuration. You can now manage the configuration and backup files in the /home/oxidized/.config/oxidized directory.
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!