This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howto:linux:install:ubuntu18-04 [2019/03/21 13:17] cmakula created |
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> | + | <note important> |
+ | 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). | ||
- | This installation is based on 18.04.2 LTS, Minimal Edition (but this should work for any version of Ubuntu 18.04, or any desktop variant). | + | Please read the entire procedure before |
- | + | ||
- | Please read the entire procedure before | + | |
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 Server) installation. | + | 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 |
+ | |||
+ | 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. (Any variant will work with this guide: Ubuntu Desktop, Minimal, Server, Lubuntu, Kubuntu, Mint, Bodhi, etc.). | + | 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. Make sure you have all the updates by running the following two commands at least once: | + | 2. Open a Terminal window. |
< | < | ||
Line 25: | Line 26: | ||
</ | </ | ||
- | 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 | + | 4. Install a few things. (Some of these will already be installed if you have a desktop variant, of which Ubuntu will notify |
< | < | ||
- | 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 |
</ | </ | ||
- | It will take a while to download and install. | + | It will take a while to download and install. |
5. Installing Serviio. | 5. Installing Serviio. | ||
Line 44: | Line 45: | ||
b. Download the Serviio software. | b. Download the Serviio software. | ||
- | < | + | < |
</ | </ | ||
c. Extract the software. | c. Extract the software. | ||
- | < | + | < |
</ | </ | ||
d. Create a soft link to the Serviio directory. | d. Create a soft link to the Serviio directory. | ||
- | < | + | < |
</ | </ | ||
Line 64: | Line 65: | ||
f. Run the following command to start Serviio. | f. Run the following command to start Serviio. | ||
- | < | + | < |
</ | </ | ||
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. | 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. | ||
- | http:// | + | < |
+ | </ | ||
If you have a graphical desktop on your computer, you can also open the Serviio console from the command line. | If you have a graphical desktop on your computer, you can also open the Serviio console from the command line. | ||
Line 78: | Line 80: | ||
h. Remove the installation file. | h. Remove the installation file. | ||
- | < | + | < |
</ | </ | ||
Line 88: | Line 90: | ||
j. Put in the following information: | j. Put in the following information: | ||
- | < | + | < |
+ | [Unit] | ||
Description=Serviio Media Server | Description=Serviio Media Server | ||
After=syslog.target local-fs.target network.target | After=syslog.target local-fs.target network.target | ||
Line 94: | Line 97: | ||
[Service] | [Service] | ||
Type=simple | Type=simple | ||
+ | StandardOutput=null | ||
ExecStart=/ | ExecStart=/ | ||
ExecStop=/ | ExecStop=/ | ||
- | KillMode=none | + | KillMode=mixed |
+ | TimeoutStopSpec=30 | ||
Restart=on-abort | Restart=on-abort | ||
Line 121: | Line 126: | ||
Congratulations! | Congratulations! | ||
- | Again, you should be able to access | + | Next, you need to start setting it up from the console using: |
+ | < | ||
+ | </ | ||
+ | |||
+ | If you are having issues, The F.A.Q. is located here: | ||
+ | [[https:// | ||
+ | |||
+ | And, the support forums are located here: | ||
+ | [[https:// |