How to Install Oxidized on Fedora CoreOS

Oxidized is an open-source network device configuration backup tool. In this guide, we will walk you through the process of installing Oxidized on Fedora CoreOS.

Prerequisites

Before starting, ensure that you have the following prerequisites:

  • A running instance of Fedora CoreOS

Step 1: Install necessary dependencies

In order to install Oxidized you need to first install necessary dependencies.

  • Login to the running instance of Fedora CoreOS.

  • Open the Terminal.

  • Update the package list:

sudo dnf update -y
  • Install required packages:
sudo dnf install ruby rubygems ruby-devel gcc make -y

Step 2: Install Oxidized

Next, we will install Oxidized.

  • Install Oxidized as root:
sudo gem install oxidized
  • Configure Oxidized.

You should create a configuration file for Oxidized. Here is an example:

$ cat <<EOF > ~/.config/oxidized/config
username: admin
password: secret
model: ios
interval: 3600
rest: 0.0.0.0:8888
source:
  default: ssh
  debug: true
pid: "/tmp/oxidized.pid"
log:
  file: "/var/log/oxidized/oxidized.log"
  syslog_facility: "LOG_USER"
  syslog: false
input:
  ssh:
    secure: false
output:
  file:
    directory: "/var/lib/oxidized/configs"
    default: true
EOF

Step 3: Start Oxidized

To start Oxidized, run the following command:

sudo oxidized

Conclusion

Congratulations! You have successfully installed Oxidize on your Fedora CoreOS. You can now use Oxidize to backup your network device configurations.