How to install OpenMediaVault (OMV) on your Debian 11 VPS hosting plan

Step 1: Update and Upgrade Your System Before installing OMV, ensure that your system is up-to-date. Run the following commands in a terminal:

sudo apt update && sudo apt upgrade

Step 2: Install Unnecessary Packages

Since we are going to install OMV, some of the unnecessary packages will be removed from your Debian 11. It is recommended to remove them before installing OMV. Run the following command in a terminal:

sudo apt-get purge \*apache2* \*php7.4* \*mysql-server* \*nginx* \*libapache2-mod-php7.4*

Step 3: Install OpenMediaVault

Now that your system is up to date and unnecessary packages have been removed, it’s time to install OMV. Run the following command in a terminal:

sudo apt-get install openmediavault

Step 4: Configure Your Network Settings

Once OMV has installed, you will need to configure your network settings. You can access OpenMediaVault’s web interface by typing the IP address of your VPS in a web browser. The default username and password are “root” (username) with no password.

  1. Choose Your Language: Select your preferred language from the dropdown menu.
  2. Network Settings: Select your network setup (Static or DHCP). If you’re not sure which one to choose, select Static and fill in the details manually or use an online tool like “What is my IP” to find out your public IP.
  3. DNS Settings: Enter your domain name if you have one, and choose a DNS server. Google’s public DNS servers (8.8.8.8 and 8.8.4.4) are recommended.

Step 5: Configure SSH Access

OpenMediaVault is administered via the web interface, but it’s also possible to access it via SSH. Follow these steps to enable SSH:

  1. Web Interface: Log in to OpenMediaVault’s web interface and go to “System” -> “Services”.
  2. SSH: Check the box next to “OpenSSH”. You will be prompted to set a password for root. Enter your password and confirm it.
  3. Security & Access: Go to this page and add a new user with SSH access. Choose a strong password for this user and also create an SSH key if you prefer.

Leave a Comment