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 [2020/01/16 16:02]
cmakula Grammar fixed.
howto:linux:install:ubuntu18-04 [2023/04/11 21:45] (current)
cmakula Added Timeout extension to allow extended stop before kill.
Line 1: Line 1:
-<note important>This guide assumes you are starting from scratch, with a brand new Ubuntu 18.04 - 19.10 (any flavour, 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 - 22.04 (any distribution, including Minimal/Netboot) installation, and need a new Serviio install.</note>
  
-This installation is based on 18.04.2 LTS, Minimal Edition and 19.10 Netboot (but this should work for any version of Ubuntu 18.04 - 19.10, or any desktop variant).  At the time of the updating this document (September 242019), the newest version of Serviio is 2.0.+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 (December 142022), the newest version of Serviio is 2.3.
  
-Please read the entire procedure before installing 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 This was tested using an Intel i5-4th Generation computer 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 Ubuntu Minimal 18.04 (or Ubuntu Serverinstallation.  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.
  
-1. Download and Install Ubuntu 18.04 - 19.10. (Any variant will work with this guide: Ubuntu DesktopMinimal, Netboot, Server, Lubuntu, Kubuntu, Mint, Bodhi, etc.).+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.
  
-2. Make sure you have all the updates by running the following two commands at least once:+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.). 
 + 
 +2. Open a Terminal window.  Make sure you have all the updates by running the following two commands at least once:
  
 <code>sudo apt update <code>sudo apt update
Line 24: Line 26:
 </code> </code>
  
-It will ask for your user password, followed by the new submission for the password for root, and a confirmation of that password.+It will ask for your user password, followed by the new submission for the password for root, and a confirmation of that password.  Make sure this is an extremely complex password, as a person can do a great amount of damage to a system by logging in as root.
  
-4. Install a few things. (Some of these will already be installed if you have a desktop variant, of which Ubuntu will warn you and then install the rest, but all are recommended if you installed Ubuntu Minimal or Server.)  Run the following commands:+4. Install a few things. (Some of these will already be installed if you have a desktop variant, of which Ubuntu will notify you and then install the rest, but all are recommended if you installed Ubuntu Netboot or Server.)  Run the following commands:
  
 <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 43: Line 45:
 b.  Download the Serviio software. b.  Download the Serviio software.
  
-<code>sudo wget http://download.serviio.org/releases/serviio-2.0-linux.tar.gz+<code>sudo wget http://download.serviio.org/releases/serviio-2.3-linux.tar.gz
 </code> </code>
  
 c.  Extract the software. c.  Extract the software.
  
-<code>sudo tar zxvf serviio-2.0-linux.tar.gz+<code>sudo tar zxvf serviio-2.3-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.serviio+<code>sudo ln -s serviio-2.serviio
 </code> </code>
  
Line 63: Line 65:
 f.  Run the following command to start Serviio. f.  Run the following command to start Serviio.
  
-<code>sudo /opt/serviio/bin/serviio.sh+<code>sudo /opt/serviio/bin/serviio.sh &
 </code> </code>
  
Line 78: Line 80:
 h.  Remove the installation file. h.  Remove the installation file.
  
-<code>sudo rm serviio-2.0-linux.tar.gz+<code>sudo rm serviio-2.3-linux.tar.gz
 </code> </code>
  
Line 95: Line 97:
 [Service] [Service]
 Type=simple Type=simple
 +StandardOutput=null
 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 
 +TimeoutStopSpec=30
 Restart=on-abort Restart=on-abort
  
Line 122: Line 126:
 Congratulations!  Serviio is installed. Congratulations!  Serviio is installed.
  
-Again, you should be able to access the console using: +Next, you need to start setting it up from the console using: 
 <code>http://(IPAddress):23423/console <code>http://(IPAddress):23423/console
 </code> </code>
 +
 +If you are having issues, The F.A.Q. is located here:
 +[[https://serviio.org/support|Serviio Support]]
 +
 +And, the support forums are located here:
 +[[https://forum.serviio.org|Serviio Forum]]
howto/linux/install/ubuntu18-04.1579190549.txt.gz · Last modified: 2020/01/16 16:02 by cmakula