How To Install open-isns-server on Ubuntu 18.04

In this tutorial we learn how to install open-isns-server on Ubuntu 18.04. open-isns-server is Internet Storage Name Service - iSNS server

Introduction

In this tutorial we learn how to install open-isns-server on Ubuntu 18.04.

What is open-isns-server

open-isns-server is:

Open-iSNS is an implementation of the Internet Storage Name Service (iSNS), according to RFC 4171, which facilitates automated discovery, management, and configuration of iSCSI and Fibre Channel devices on a TCP/IP network.

This package contains the isnsd server, supporting persistent storage registrations.

There are three methods to install open-isns-server on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install open-isns-server Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install open-isns-server using apt-get by running the following command:

sudo apt-get -y install open-isns-server

Install open-isns-server Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install open-isns-server using apt by running the following command:

sudo apt -y install open-isns-server

Install open-isns-server Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install open-isns-server using aptitude by running the following command:

sudo aptitude -y install open-isns-server

How To Uninstall open-isns-server on Ubuntu 18.04

To uninstall only the open-isns-server package we can use the following command:

sudo apt-get remove open-isns-server

Uninstall open-isns-server And Its Dependencies

To uninstall open-isns-server and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove open-isns-server

Remove open-isns-server Configurations and Data

To remove open-isns-server configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge open-isns-server

Remove open-isns-server configuration, data, and all of its dependencies

We can use the following command to remove open-isns-server configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge open-isns-server

References

Summary

In this tutorial we learn how to install open-isns-server package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.