Ubuntu on Synology NAS: Step-by-Step Installation Guide
Elevate your NAS experience by exploring the versatile Ubuntu OS on your Synology DiskStation. Ubuntu, a popular Linux distribution, brings a wealth of open-source applications and customization options to your network-attached storage device. Here's a comprehensive guide on how to install Ubuntu on your Synology NAS.
Before we dive in, ensure your Synology NAS is compatible with Ubuntu. The following models are supported: DS1513+, DS1515+, DS1813+, DS2415+, DS415+, RS815+, and RS2416+. Also, secure a USB drive (at least 8GB) to create an installation media and have a stable network connection.
Preparation and Download
Begin by downloading Ubuntu Server for Synology NAS from the official Synology website. Choose the version that matches your NAS model. Alternatively, you can use an Ubuntu release from canonical servers, but ensure it's compatible with your NAS architecture (x86_64 or armel).
Next, create a bootable USB drive using a tool like Universal USB Installer or Balena Etcher. Download the Ubuntu Server ISO file and use the USB installer tool to create a bootable USB drive.
Switch on Virtual Console
To proceed with the Ubuntu installation, enable the virtual console on your Synology NAS. Access the web-based DiskStation Manager (DSM) interface, navigate to Control Panel, then terminal, and Enable_DIAG.
Once enabled, press Ctrl + Alt + Del on your keyboard to access the new console window. Here, you can run commands and manage system tasks just like a Linux server.
Insert the USB Installer
Power off your NAS and insert the prepared USB installer. Boot your NAS using the USB installer by pressing the Alt key during startup. If the USB device isn't recognized, press F7 to access the boot menu and select the USB drive.
The Ubuntu setup process will commence. Follow the prompts to configure your keyboard layout, language, and initiate the installation. Choose Guided - use entire disk for a seamless setup and ensure your NAS is properly wiped and prepared for Ubuntu.
Post-installation Configuration
After the installation finishes, reboot your NAS and log in as the pre-configured ubuntu user (password: ubuntu). Reset the password and update the package lists with the following commands:
sudo passwd ubuntu
sudo apt update
sudo apt upgrade
Install Synology Analog to Digital Converter
To restore DSM functionality and manage your NAS through the web-based interface, install the Synology Analog to Digital Converter (ADC). Run the following commands to install the necessary packages:
sudo apt install dwp-dsm
sudo dwp update
sudo dwp install540
Access DSM via PHP Web Stations
Enable the web stations feature to access DSM through a web browser. Run the following commands to start and enable the PHP web stations service:
sudo systemctl start dwp
sudo systemctl enable dwp
Using your NAS's IP address in a web browser (e.g., 192.168.1.10), log in with your DSM credentials and enjoy Ubuntu-powered Synology NAS functionality!