Ubuntu Roon server install tips

Hi im a complete newbie with Linux, just installed Ubuntu 18.0.4 LTS, on desktop with Intel I5 3450, Im planning to set a Roon Server in this machine, I downloaded the Easy Install package but just dont know how to proceed. If anyone could give a hand Id appreciate.

Cheers

I could write a poem about it, but itā€™s all in here really:

https://kb.roonlabs.com/LinuxInstall

Make sure all dependencies are met and follow the easy installer guidelines.

4 Likes

thanks for the assistance,

I think I have all dependencies sorted, just donĀ“t kwow hot to execute the installer after downloading.

Itā€™s in the guide, but hereā€™s the bits you need.

sudo apt update
sudo apt install ffmpeg cifs-utils alsa-lib
curl -O http://download.roonlabs.com/builds/roonserver-installer-linuxx64.sh
chmod +x roonserver-installer-linuxx64.sh
sudo ./roonserver-installer-linuxx64.sh

Do this from the terminal app ā€¦ open the dash and type terminal. You may cut ā€˜nā€™ paste each line. Post any errors.

1 Like

Tks Martin, all done.
Roon server running smoothly, these are my first steps around Linux.

5 Likes

I am struggling with getting the alsa-lib installed. so, when I execute the: sudo apt install ffmpeg cifs-utils alsa-lib, I get

Reading package listsā€¦Done
Building dependency tree
Reading state informationā€¦ Done
E: Unable to locate pacakge alsa-lib

Did you execute sudo apt update? You need to update the package list first.

1 Like

Hi Martin, you helped me last year with Desktop. I want to try Ubuntu Server soon. Do I need anything else besides ffmpeg, cifs-utils, alsa-lib (are curl and glibc already there?). If I knew how to check I would.

Thanks,
Darryl

Something like this ā€¦

sudo apt install curl ffmpeg libasound2 cifs-utils
curl -O http://download.roonlabs.com/builds/roonserver-installer-linuxx64.sh
chmod +x roonserver-installer-linuxx64.sh
sudo ./roonserver-installer-linuxx64.sh
sudo systemctl status roonserver

Add alsa-lib if you intend to use the server as an endpoint. I used the minimal install ISO so had to tweak a few things.

Install Base System

Using the mini.iso (Mininimal Install CD) install base system over network connection. WARNING: only prepare the SSD; do not format your data filesystem!

Use the advanced option and when prompted, only install needed drivers in kernel.

No need to install any additional software.

Remove the Ubuntu splash (seen when rebooting) using:

sudo nano /etc/default/grub

Replace GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" with GRUB_CMDLINE_LINUX_DEFAULT="" .

sudo update-grub2
sudo reboot [do this twice to see the change]

Change the default console font. Select Guess , VGA and 8x16 .

sudo dpkg-reconfigure console-setup

Finally, allow ssh access without password (certificate-only) for non-root user.

sudo apt install openssh-server

From the MacBook edit known_hosts and remove previous entries for the server (if present), then copy the key across.

nano ~/.ssh/known_hosts
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server.home
ssh server.home

From the Ubuntu server, harden ssh by disabling access using a password.

sudo nano /etc/ssh/sshd_config

Replace #PasswordAuthentication yes with PasswordAuthentication no . Likewise, ensure the following.

PermitEmptyPasswords no
HostbasedAuthentication no

sudo systemctl restart sshd
sudo ufw allow OpenSSH

Thanks Martin. So a bit of extra work to use Server. Desktop has been very simple.

If you download the full ISO youā€™ll probably have an easier ride. Iā€™ve run out of DVD-Rs so had to use a CDR and the mini ISO.

If you want to ssh (or PuTTy) into the server youā€™ll need to setup openssh. Reach out if you need help.

Had to Google it. I only want a basic Roonserver setup for a Windows endpoint on a another machine.

Have you considered ROCK or MOCK? Probably a better option if the machine is only for Roon.

No, not familiar with it. Iā€™m moving back to Unbuntu after trying Audiolinux, which advertises compatibility with Roon, but causes NAS library problems.

ROCK is Roonā€™s OS thatā€™s design to run your Core on an Intel NUC. Other users have got the running on other hardware or VMs.

Take a look here ā€¦

https://kb.roonlabs.com/Roon_Optimized_Core_Kit

Correction, I am aware it, and I saw that they only recommended it for their hardware. I suppose it wouldnā€™t hurt to try it. I have my own server (i7-8700T, ASRock Z390, M.2 Optane SSD, Streacom fanless case).

Hi Martin, got an error installing Ubuntu Server: ā€œUnfortunately probing for devices failed to installā€

Something to do with ā€œliveā€ ??

Which installer ISO did you use?

Edit: Iā€™m guessing you used the live version.

ubuntu-18.04.3-live-server-amd64.iso

from https://ubuntu.com/download/server

Try the alternative ISO from https://ubuntu.com/download/alternative-downloads. Look for the section toward the bottom of the page: Alternative Ubuntu Server installer.