How to Install Oxidized on macOS

Oxidized is an open-source network device configuration backup and restore tool. It is used for backing up and restoring the configuration of network devices such as routers, switches, firewalls, etc.

In this tutorial, we will guide you through the process of installing Oxidized on your macOS machine.

Prerequisites

Before we start with the installation, make sure that you have the following prerequisites:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Installing Oxidized

Follow the below steps to install Oxidized on your macOS machine:

  1. Open your Terminal.

  2. Install the Ruby using the Homebrew package manager by running the following command:

brew install ruby
  1. Install git by running the following command:
brew install git
  1. Clone the Oxidized repository by running the following command:
git clone https://github.com/ytti/oxidized.git
  1. Navigate to the cloned directory by running the following command:
cd oxidized
  1. Install the Oxidized gem using RubyGems by running the following command:
gem install oxidized
  1. Install the dependencies by running the following command:
gem install oxidized-script oxidized-web
  1. Create a configuration directory by running the following command:
mkdir ~/.config/oxidized
  1. Copy the default Oxidized configuration file by running the following command:
cp example/oxidized.conf ~/.config/oxidized/
  1. Edit the ~/.config/oxidized/oxidized.conf file and customize it according to your needs.

  2. Start the Oxidized daemon by running the following command:

oxidized

Conclusion

In this tutorial, we have shown you how to install Oxidized on your macOS machine. You can now use Oxidized to backup and restore the configuration of your network devices.

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!