How to Install Oxidized on OpenSUSE Latest

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.

Prerequisites

Make sure you have the following prerequisites before starting the installation process:

Step 1: Update the System

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

Step 2: Install Required Dependencies

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

Step 3: Install Oxidized

Once the dependencies are installed, you can proceed with the installation of Oxidized. Follow the steps below to install it:

  1. Clone the Oxidized repository from GitHub using the following command:

    git clone https://github.com/ytti/oxidized.git
    
  2. Change the directory to the cloned repository using the following command:

    cd oxidized
    
  3. Run the following command to install the required gems:

    sudo bundle install --path vendor/bundle
    
  4. Run the following command to install Oxidized:

    sudo bundle exec rake install
    
  5. Once the installation is complete, you can verify the version of Oxidized by running the following command:

    oxidized --version
    

Step 4: Configure Oxidized

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.

Step 5: Start Oxidized

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.

Conclusion

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!