Introduction
OpenMediaVault (OMV) is a powerful, open-source NAS (Network Attached Storage) solution that allows users to manage and share storage easily. It provides a web-based interface to configure and manage various services like SMB, FTP, and NFS. In this guide, we will walk you through installing OMV on Debian.
Step 1: Install OMV on Debian
1.1 Prerequisites
Before you begin, ensure:
You have Debian installed on your system.
Your system has internet access.
You have root or sudo access.
1.2 Install OMV
Run the following commands step by step to install OpenMediaVault.
1. Install the OpenMediaVault Keyring Manually
apt-get install --yes gnupg
wget --quiet --output-document=- https://packages.openmediavault.org/public/archive.key | gpg --dearmor --yes --output "/usr/share/keyrings/openmediavault-archive-keyring.gpg"2. Add the Package Repositories
cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://packages.openmediavault.org/public sandworm main
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://downloads.sourceforge.net/project/openmediavault/packages sandworm main
## Uncomment the following line to add software from the proposed repository.
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://packages.openmediavault.org/public sandworm-proposed main
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://downloads.sourceforge.net/project/openmediavault/packages sandworm-proposed main
## Third-party software repository
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://packages.openmediavault.org/public sandworm partner
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://downloads.sourceforge.net/project/openmediavault/packages sandworm partner
EOFNote: If you are in mainland China, consider using TUNA mirror services.
3. Install OpenMediaVault
export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
apt-get update
apt-get --yes --auto-remove --show-upgraded \
--allow-downgrades --allow-change-held-packages \
--no-install-recommends \
--option DPkg::Options::="--force-confdef" \
--option DPkg::Options::="--force-confold" \
install openmediavaultStep 2: Set Up OpenMediaVault
Once the installation is complete, follow these steps to access and configure OMV.
2.1 Access the Web Interface
Open a web browser and go to:
http://<your_debian_ip>Example:
http://192.168.1.221Check your Debian IP address using:
ip a
2.2 Login Credentials
Username:
adminPassword:
openmediavaultChange Password: Click the top-right “User Settings” > “Change Password”
2.3 Configure Storage & Services
Set up storage disks and create shared folders.
Enable SMB/CIFS for file sharing across the network.
Configure other services such as FTP, NFS, and Rsync as needed.
Conclusion
You have successfully installed and set up OpenMediaVault on Debian! Now, you can use OMV to manage your storage efficiently. For more guides on self-hosting solutions, VPS setup, and networking, check out EngineerHow.com.
💬 Got Questions?
If you have any questions or run into issues, drop a comment below!
🔗 Recommended Resources
EngineerHow YouTube Channel for video tutorials
Stay tuned for more tech guides from EngineerHow.com! 🚀
