How to Install Oxidized on Clear Linux Latest

In this tutorial, we will walk through the process of installing Oxidized on Clear Linux Latest using the instructions provided on the official GitHub repository.

Prerequisites

Before we begin, make sure that you have the following prerequisites:

Step 1: Install Git

The first step is to install Git, which is required to download the Oxidized source code from GitHub.

To install Git, run the following command:

sudo swupd bundle-add git

Step 2: Install Dependencies

Next, we need to install some dependencies required by Oxidized. Run the following command to install them:

sudo swupd bundle-add devpkg-libssh2 devpkg-libyaml devpkg-ruby

Step 3: Install Oxidized

Now that we have installed Git and dependencies, we can proceed with the installation of Oxidized.

To install Oxidized, run the following commands:

git clone https://github.com/ytti/oxidized.git
cd oxidized
gem install --user-install bundler
gem install --user-install specific_install
gem specific_install -l https://github.com/ytti/oxidized

Step 4: Configure Oxidized

After the installation is complete, we need to configure Oxidized. Navigate to the Oxidized directory and create a configuration file called config using your favorite text editor:

cd oxidized
vi config

Paste the following configuration into the file:

username: <your_username>
password: <your_password>

models:
  cisco:
    username: <your_router_username>
    password: <your_router_password>

output:
  file:
    directory: /home/<your_username>/oxidized/configs

Replace <your_username> and <your_password> with your actual username and password. Also, replace <your_router_username> and <your_router_password> with the credentials required to log in to your network device.

Save and close the configuration file.

Step 5: Run Oxidized

After configuring Oxidized, we are ready to run it. Use the following command to start Oxidized:

oxidized

Alternatively, if you want to run Oxidized in the background as a daemon, use the following command:

oxidized --daemon

Oxidized will now connect to your network devices and retrieve their configurations. The configurations will be stored in the directory specified in the output configuration.

Conclusion

Congratulations! You have successfully installed and configured Oxidized on Clear Linux Latest. You can now use Oxidized to automate and manage your network device configurations.

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!