User Tools

Site Tools


howto:linux:install:ubuntu18-04

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:linux:install:ubuntu18-04 [2022/10/01 18:49]
cmakula Tested on 22.04
howto:linux:install:ubuntu18-04 [2025/02/11 19:02] (current)
cmakula grammar
Line 1: Line 1:
-<note important>This guide assumes you are starting from scratch, with a brand new Ubuntu 18.04 - 22.04 (any distribution, including Minimal/Netboot) installation, and need a new Serviio install.</note>+<note important>This guide assumes you are starting from scratch, with a brand new Ubuntu 18.04 - 24.04 (any distribution, including Minimal/Netboot) or Linux Mint 22.1 installation, and need a new Serviio install.</note>
  
-This installation is based on 18.04.2 LTS, Minimal Edition, 20.04 Netboot, and Xubuntu 22.04 (but this should work for any version of Ubuntu 18.04 - 22.04 or any desktop variant).  At the time of the updating this document (October 12022), the newest version of Serviio is 2.2.1.+This installation is based on Ubuntu 18.04.2 LTS, Minimal Edition, Ubuntu 20.04 Netboot, Xubuntu 22.04, Ubuntu Server 24.04 Normal Installation, and Linux Mint 22.1 with the Cinnamon Desktop (but this should work for any version of Ubuntu 18.04 - 24.04 or any desktop variant with the Ubuntu repositories integrated).  At the time of the updating this document (February 92025), the newest version of Serviio is 2.4.
  
 Please read the entire procedure before installation so you are familiar with the process before “taking on the terminal”. Please read the entire procedure before installation so you are familiar with the process before “taking on the terminal”.
  
-This was tested using an Intel i5-4th Generation computer with 16GB of RAM+Previous versions were tested using an Intel i5-4th Generation computer with 16GB of RAM.  Ubuntu 24.04, Linux Mint 22.1 and Serviio 2.4 were tested using an i5-10th generation with 16GB of RAM
  
 Since the Minimal install also doesn’t contain the packages of its big brothers, this will give you the information you need to install all the packages required to run Serviio from a minimal Ubuntu Server installation.  The process is the same on the other Ubuntu variants, but some of the software packages will be pre-installed. Since the Minimal install also doesn’t contain the packages of its big brothers, this will give you the information you need to install all the packages required to run Serviio from a minimal Ubuntu Server installation.  The process is the same on the other Ubuntu variants, but some of the software packages will be pre-installed.
Line 11: Line 11:
 If you have a desktop variant, all you should have to do is to copy and paste the text in the boxes into a terminal. If you have a desktop variant, all you should have to do is to copy and paste the text in the boxes into a terminal.
  
-1. Download and Install Ubuntu 18.04 - 22.04 (Any variant will work with this guide: Ubuntu Desktop, Minimal, Netboot, Server, Lubuntu, Kubuntu, Mint, Bodhi, etc.).+1. Download and Install Ubuntu 18.04 - 24.04 (Any variant will work with this guide: Ubuntu Desktop, Minimal, Netboot, Server, Lubuntu, Kubuntu, Mint, LinuxLiteOS, Bodhi, etc.).
  
 2. Open a Terminal window.  Make sure you have all the updates by running the following two commands at least once: 2. Open a Terminal window.  Make sure you have all the updates by running the following two commands at least once:
Line 31: Line 31:
  
 <code>sudo apt update <code>sudo apt update
-sudo apt install net-tools software-properties-common openjdk-8-jre default-jre ffmpeg dcraw wget+sudo apt install net-tools software-properties-common openjdk-11-jre default-jre ffmpeg dcraw wget
 </code> </code>
  
Line 45: Line 45:
 b.  Download the Serviio software. b.  Download the Serviio software.
  
-<code>sudo wget http://download.serviio.org/releases/serviio-2.2.1-linux.tar.gz+<code>sudo wget http://download.serviio.org/releases/serviio-2.4-linux.tar.gz
 </code> </code>
  
 c.  Extract the software. c.  Extract the software.
  
-<code>sudo tar zxvf serviio-2.2.1-linux.tar.gz+<code>sudo tar zxvf serviio-2.4-linux.tar.gz
 </code> </code>
  
 d.  Create a soft link to the Serviio directory. d.  Create a soft link to the Serviio directory.
  
-<code>sudo ln -s serviio-2.2.1 serviio+<code>sudo ln -s serviio-2.serviio
 </code> </code>
  
Line 63: Line 63:
 </code> </code>
  
-f.  Run the following command to start Serviio.+f.  Remove the installation file.
  
-<code>sudo /opt/serviio/bin/serviio.sh &+<code>sudo rm serviio-2.4-linux.tar.gz
 </code> </code>
  
-g.  Go to a browser to test and make sure Serviio is running by going to the following web page.  (You can use the “ifconfig” command on the Linux machine to find the IP address if you do not know it.) Replace (IPaddress) with the Serviio machine IP address while attached to the same network.  If you see the console page, you have done well... +g.  Next, we need to create a service to make sure Serviio starts when the machine reboots.  Enter the following command to create a file named serviio.service in the system service directory:
- +
-<code>http://(IPaddress):23423/console +
-</code> +
- +
-If you have a graphical desktop on your computer, you can also open the Serviio console from the command line. +
- +
-<code>sudo /opt/serviio/bin/serviio-console.sh +
-</code> +
- +
-h.  Remove the installation file. +
- +
-<code>sudo rm serviio-2.2.1-linux.tar.gz +
-</code> +
- +
-i.  Next, we need to create a service to make sure Serviio starts when the machine reboots.  Enter the following command to create a file named serviio.service in the system service directory:+
  
 <code>sudo nano /lib/systemd/system/serviio.service <code>sudo nano /lib/systemd/system/serviio.service
 </code> </code>
  
-j.  Put in the following information:+h.  Put in the following information:
  
 <code> <code>
Line 100: Line 85:
 ExecStart=/opt/serviio/bin/serviio.sh ExecStart=/opt/serviio/bin/serviio.sh
 ExecStop=/opt/serviio/bin/serviio.sh -stop ExecStop=/opt/serviio/bin/serviio.sh -stop
-KillMode=none+KillMode=mixed 
 +TimeoutStopSec=30
 Restart=on-abort Restart=on-abort
  
Line 109: Line 95:
 Hit ctrl+o to save the file and ctrl+x to exit the editor. Hit ctrl+o to save the file and ctrl+x to exit the editor.
  
-k.  Enable the Serviio Service with the following commands, executed in order:+i.  Enable the Serviio Service with the following commands, executed in order:
  
 <code>sudo systemctl daemon-reload <code>sudo systemctl daemon-reload
Line 116: Line 102:
 </code> </code>
  
-After running the enable command, it should tell you that the OS added the service to the multi-user target.+After running the enable command, it should tell you that the OS added the service to the multi-user target.  You can now test to see if the console is available using the URL below.  
  
-l.  Run the “sudo reboot” command to reboot and make sure the Serviio service starts correctly.+j.  Run the “sudo reboot” command to reboot and make sure the Serviio service starts correctly after rebooting.
  
 <code>sudo reboot <code>sudo reboot
Line 126: Line 112:
  
 Next, you need to start setting it up from the console using:  Next, you need to start setting it up from the console using: 
-<code>http://(IPAddress):23423/console+ 
 +<code>http://(ServerIPAddress):23423/console
 </code> </code>
  
howto/linux/install/ubuntu18-04.1664650185.txt.gz · Last modified: 2022/10/01 18:49 by cmakula