Transforma tu RASPBERRY PI en un Servidor NAS con OpenMediaVault: Instalación y Configuración

Transforma tu RASPBERRY PI en un Servidor NAS con OpenMediaVault: Instalación y Configuración

How to Create Your Own NAS Server with Raspberry Pi

Introduction to the Project

  • The video introduces a tutorial on creating a NAS (Network Attached Storage) server using Raspberry Pi and OpenMediaVault, promising viewers that they will have a fully installed and configured server by the end.
  • The project is made possible through support from 330 Ohms, an authorized Raspberry Pi retailer offering original products and international shipping.

Resources for Beginners

  • For those new to Raspberry Pi, 330 Ohms provides official manuals and additional resources such as tutorials and guides on Arduino and other related topics. Links are promised in the video description.

Requirements for Setup

  • To set up OpenMediaVault on Raspberry Pi, you need:
  • A Raspberry Pi (preferably with an Ethernet cable).
  • Alternatively, Wi-Fi can be used since the device has built-in wireless capabilities.
  • An adapter to connect the microSD card to your PC.

Installation Process Overview

  • The installation will be conducted via SSH for convenience; no extra peripherals like mouse or keyboard are needed.
  • It’s noted that OpenMediaVault operates only in command-line environments, necessitating a Lite version of the Raspberry Pi OS without a graphical interface.

Downloading the Operating System

  • Viewers are directed to download the Lite version of Raspberry Pi OS from its official website. Important links will be provided in the description.
  • Users must install the Raspberry Pi Imager tool to write the operating system image onto their microSD card. The installation process is described as straightforward.

Selecting and Configuring OS Image

  • After downloading, users should select "Custom" in the imager software to find their downloaded image file.
  • It's crucial to choose the correct version compatible with your specific model of Raspberry Pi; for example, a 64-bit version for model 4B.

Initial Configuration Settings

  • Once selected, users configure initial settings including username (recommended: 'human') and password (suggested: simple numeric sequence).
  • Connecting via Ethernet is recommended for faster requests; however, Wi-Fi setup can also be enabled by entering network credentials accurately.

Enabling SSH Access

  • Activating SSH is essential as it allows remote access from your main computer. This option must be enabled before saving configurations.
  • After confirming settings, users initiate installation which may prompt formatting warnings—these can simply be closed without concern.

Final Steps

  • Once installation completes successfully, users can safely eject their microSD card from their computer.

Setting Up OpenMediaVault on Raspberry Pi

Initial Setup and Connection

  • Once the Micro SD card is connected to the Raspberry Pi, power it up and wait approximately 5 minutes for the system to initialize with the given configurations.
  • If Wi-Fi is configured, allow extra time for it to connect to your network before proceeding to your main computer.
  • To connect via SSH, open CMD or terminal (Linux). You can find the device's IP through your router or use the default hostname "raspberrypi".
  • Enter ssh username@raspberrypi in CMD. Replace 'username' with your actual username; if using an IP address, substitute accordingly.
  • After entering your password (configured earlier), you will be connected via SSH.

Finding Your Device's IP Address

  • If unable to access via hostname, it's crucial to find the device's IP by executing ifconfig in terminal.
  • Look for your Wi-Fi interface and note down the displayed IP address as it will be needed later.

System Update

  • Begin by updating your system using sudo apt update && sudo apt upgrade. This ensures all packages are current.
  • For a complete upgrade, execute sudo apt full-upgrade, which may take some time depending on updates available.

Installing OpenMediaVault

  • Install OpenMediaVault using a lengthy command provided in the video description. Copy and paste this into your terminal.
  • The installation process may take between one to two hours; patience is required during this setup phase.

Restarting and Accessing OpenMediaVault

  • After installation completion, restart the system with sudo reboot. Wait about two minutes for it to fully restart.
  • Access OpenMediaVault through a web browser using the previously noted IP address. If access fails, ensure that necessary services are running.

Starting Services

  • If unable to access from a browser, reconnect via SSH and start necessary services with sudo systemctl start nms.

Final Configuration Steps

  • Once logged into OpenMediaVault through a web interface, configure initial settings as demonstrated in previous videos regarding mounting procedures.

User Interface Customization

  • In the admin panel of OpenMediaVault, change language settings if desired. Log in using default credentials: username "admin" and password "openmediavault".

Applying Configuration Changes

  • Confirm any pending configuration changes by clicking on prompts within the interface. Adjust dashboard settings based on personal preferences regarding server information visibility.

Setting Up a NAS Server with OpenMediaVault

Selecting Information for the Server

  • Users can choose which information to display about their server, including IP address and active services like SSH.
  • It is recommended to explore all available options and set a static IP address outside the DHCP range (typically 100-199).

Configuring Static IP Address

  • The speaker will use an IP of 200 to ensure it does not conflict with other devices on the network.
  • To assign a static IP, navigate to network settings, select the Ethernet interface, and change the IPv4 method to static.

DNS Configuration

  • Set up Google’s DNS (8.8.8.8) in addition to configuring the static IP address.
  • After saving changes, users can verify connectivity by entering the new fixed IP in a browser.

Time Zone Settings

  • It's important to check that the time zone is correctly configured; if not, adjust it under system settings.
  • Ensure NTP service is enabled for accurate timekeeping; save any changes made.

Changing Admin Password

  • Change the default admin password for security reasons; enter a strong new password and confirm it.
  • A confirmation message indicates successful password update; test logging in with the new credentials.

Finalizing Setup

  • The setup process concludes with a fully operational NAS server using OpenMediaVault, emphasizing ease of use through its web interface.
Video description

Apóyame a través de Ko-Fi - https://ko-fi.com/josesanchezhuman -------------------- Links que te podrian interesar ---------------------------------------- Servidor Casero: https://www.youtube.com/playlist?list=PL9k8nMt_92ov0EPPvrlVUnhcB0ZGkoWiC ------------------------------------------------------------------------------------------------------------- -------------------- Links Utilizados ------------------------------------------------------------- Raspberry Pi :https://www.raspberrypi.com/ OpenMediaVault: https://www.openmediavault.org/ ------------------------------------------------------------------------------------------------------------- ------------- Comando Utilizado para instalar OMV --------------------------------- wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash -------------------------------------------------------------------------------------------------------------