How to install OpenMediaVault on Raspberry Pi

OpenMediaVault is software that transforms your computer into a NAS (network attached storage) server. Since it features support for the Raspberry Pi, it has become a popular choice for users that are looking to run a lightweight and inexpensive NAS operation. OpenMediaVault comes with a lot of the software and features you will need in order to manage multiple storage disks and share them out to other devices on your local network or even over the internet.

Services like SSH, FTP, SFTP, Samba, CIFS, rsync, and others are already installed and ready to use on OpenMediaVault. This allows you to get your NAS server up and running in short time and without the pain of installing and configuring these individual services as you would need to do on a normal operating system, making OpenMediaVault and the Raspberry Pi a great combination for users looking to get their NAS up and running easily. File sharing and backups are also available and simple to use.

In this tutorial, we will cover the step by step instructions to install OpenMediaVault on the Raspberry Pi. This will include installation of a supported operating system, as well as the installation, initial setup, and configuration of the OpenMediaVault software for NAS. Let’s get started!

In this tutorial you will learn:

  • How to install OpenMediaVault on Raspberry Pi
  • How to connect to OpenMediaVault web control panel
  • How to configure OpenMediaVault NAS settings
How to install OpenMediaVault on Raspberry Pi
How to install OpenMediaVault on Raspberry Pi
Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Raspberry Pi, minimal OS
Software OpenMediaVault
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user

Install OpenMediaVault on Raspberry Pi step by step instructions




Follow along with the steps below to get the OpenMediaVault NAS software installed on the Raspberry Pi. This tutorial will be enough to get you started with using your Raspberry Pi as a NAS system, but there are many different types of configuration that can be applied after initial setup is complete.

DID YOU KNOW?
OpenMediaVault will only work on command line only systems. Using the default Raspberry Pi OS will not be an option here. This means that you must have an operating system such as Raspberry Pi Lite OS installed in order to make use of OpenMediaVault. You will find the .IMG files for Raspberry Pi Lite OS on the official Raspberry Pi OS download page.

Note: We were able to complete the following steps with the latest Debian minimal OS image, on which Raspberry Pi Lite OS is based.

  1. Let’s start off by making sure that our Raspberry Pi is up to date by running the following commands in terminal:
    $ sudo apt update
    $ sudo apt full-upgrade
    
  2. Next, we will use the OpenMediaVault installation script from GitHub in order to install OpenMediaVault on the Raspberry Pi. This does almost all of the legwork for us, so we will not need to install each required component individually.
    $ wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash
    




    Head over to the GitHub link in case you are curious as to what exactly is being installed. It is quite a few different software packages and configurations being applied, so it takes some time for the script to finish up everything it needs to do.

  3. After installation of OpenMediaVault is complete, restart your Raspberry Pi to make sure that all changes will properly take effect and everything will be working as expected when we try logging into the NAS software in the next steps:
    $ sudo reboot
    

Accessing OpenMediaVault

Now that OpenMediaVault is installed on the Raspberry Pi, we can use another device to access the web configuration panel.

  1. OpenMediaVault will have installed an NGINX web server in order to facilitate the NAS menu. You may need to make sure that the service is started on your Raspberry Pi by running:
    $ sudo systemctl start nginx
    
  2. You will need to find your Raspberry Pi’s IP address in order to access the device via web browser.
    $ ip a
    



  3. Then, enter the IP address or hostname of the Raspberry Pi into your browser’s URL bar to pull up the OpenMediaVault web control panel:
    Accessing OpenMediaVault web control panel
    Accessing OpenMediaVault web control panel

    The default username is admin and the password is openmediavault. Use these credentials to log in, and then you can change them later.

  4. The first screen you will be greeted with upon logging in is the dashboard. This is a quick way to see all the most pertinent information about the status of your Raspberry Pi NAS server:
    OpenMediaVault dashboard menu in the web control panel
    OpenMediaVault dashboard menu in the web control panel

    If your dashboard is currently empty, you just need to add some widgets to the dashboard from the settings menu.

  5. From here, you can get started with configuring your NAS. First steps will likely involve changing the admin credentials (inside the Users panel), adding more users to the system, and configuring the disks and file systems which you plan to use with your Raspberry Pi NAS.
    Further configuration can be carried out inside of the OpenMediaVault web control panel
    Further configuration can be carried out inside of the OpenMediaVault web control panel

Closing Thoughts




In this tutorial, we saw how to install OpenMediaVault on a Raspberry Pi system. OpenMediaVault can turn your Raspberry Pi into a NAS server with its simple installation script. Afterwards, connect all your storage devices to the Raspberry Pi and you can use the device to store files and serve them out over your private network or even the internet.



Comments and Discussions
Linux Forum