This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
howto:linux:install:ubuntu12-04 [2013/01/10 17:32] zip [2.Extract Serviio] |
howto:linux:install:ubuntu12-04 [2015/02/27 04:32] webclaw updated to Serviio 1.5.1 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | <note important> |
- | ==== Prerequisites ==== | + | <note warning> |
- | For Ubuntu 12.05 , the ffmpeg should be installed from the terminal. Moreover, additional codecs and libraries should be installed to ensure flawless operation of Serviio. Recommend | + | NOTE: If you plan on using SAMBA to share media you need to be aware of some SAMBA bugs in Ubuntu 12.04.5. If you set your NIC(s) to use a static IP address SAMBA will not function properly. Use a DHCP reservation (via router) instead.</ |
- | == Install missing codecs (including latest Lame): == | + | Tested and working without any issues, log warnings, |
- | < | + | When entering commands, change |
- | == Install DVD playback libraries: == | + | |
- | < | + | |
- | < | + | |
- | sudo apt-get --quiet update | + | |
- | sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring | + | |
- | sudo apt-get --quiet update</code> | + | |
- | < | + | |
- | == Install ffmpeg: == | + | |
- | < | + | |
- | == Install Gstreamer: == | + | Let' |
- | < | + | |
- | ==== 1.Download Serviio | + | # |
- | < | + | < |
- | ==== 2.Extract | + | #bandwidth tracking application (to be responsible about ISP usage): |
- | < | + | #run through terminal every once in a while to see bandwidth usage and realtime traffic |
+ | < | ||
+ | |||
+ | #base codec install - installs dependancies used in ffmpeg and x264: | ||
+ | < | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | #custom serviio version of ffmpeg install (compiled by me), always use Petr's (Serviio developer) customized version of ffmpeg to ensure proper serviio function: | ||
+ | < | ||
+ | wget http:// | ||
+ | wget http:// | ||
+ | wget http:// | ||
+ | |||
+ | #install the custom serviio packages: | ||
+ | < | ||
+ | sudo dpkg -i ffmpeg_201502201629-git-1_amd64.deb | ||
+ | sudo dpkg -i x264_0.144.2525+git40bb568-1_amd64.deb | ||
+ | sudo dpkg -i rtmpdump_201502201618-git-1_amd64.deb | ||
</ | </ | ||
- | ==== 3.Serviio as a Startup Applications ==== | ||
- | Add Serviio server as a startup application. | ||
- | ==== 4.Enabling Remote Console Access From Windows | + | #java 8 install: |
- | Edit C:\Program Files\Serviio\bin\ServiioConsole.exe.vmoptions adding: | + | < |
- | < | + | sudo add-apt-repository ppa: |
- | Replacing XXX.XXX.X.XXX with the IP Address of the remote server | + | sudo apt-get update |
+ | sudo apt-get install oracle-java8-installer | ||
+ | </ | ||
+ | |||
+ | #serviio 1.5 download: | ||
+ | < | ||
+ | wget http:// | ||
+ | tar xzf serviio-1.5-linux.tar.gz | ||
+ | </ | ||
+ | |||
+ | #we keep everything neat and organized on our user profile directory: | ||
+ | < | ||
+ | cp -r serviio-1.5.1 / | ||
+ | |||
+ | #make serviio start automatically after network is active: | ||
+ | < | ||
+ | |||
+ | #add startup script: | ||
+ | < | ||
+ | start on started networking | ||
+ | script | ||
+ | / | ||
+ | end script | ||
+ | </ | ||
+ | |||
+ | #latest sabnzbd install | ||
+ | < | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install sabnzbdplus< | ||
+ | |||
+ | #edit sabnzbd configuration: | ||
+ | < | ||
+ | |||
+ | #add proper configuration: | ||
+ | < | ||
+ | USER=< | ||
+ | HOST=0.0.0.0 | ||
+ | </ | ||
+ | |||
+ | # | ||
+ | < | ||
+ | sudo apt-get install git | ||
+ | git clone https:// | ||
+ | sudo cp / | ||
+ | |||
+ | #setup couchpotato default config: | ||
+ | < | ||
+ | CP_USER=< | ||
+ | CP_HOME=/ | ||
+ | |||
+ | #make couchpotato start when user logs into the system: | ||
+ | < | ||
+ | sudo update-rc.d couchpotato defaults</ | ||
+ | |||
+ | #SickRage installation - I suggest using dev version once installed | ||
+ | < | ||
+ | |||
+ | #setup sickbeard default config: | ||
+ | < | ||
+ | SB_USER=< | ||
+ | SB_HOME=/ | ||
+ | |||
+ | #make sickrage start when user logs into the system | ||
+ | < | ||
+ | sudo update-rc.d sickbeard defaults</ | ||
+ | |||
+ | #create media storage using gparted (aligns disk correctly, Ubuntu 12.04.5 native Disk utility does not): | ||
+ | <note important> | ||
+ | < | ||
+ | |||
+ | #select your disk (eg: sdb) can create a partition table, format as ext4: | ||
+ | #now let's mount the new storage: | ||
+ | < | ||
+ | |||
+ | # | ||
+ | < | ||
+ | sudo nano -Bw / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | #remount the storage so we can take ownership: | ||
+ | < | ||
+ | sudo chown -R < | ||
+ | </ | ||
+ | |||
+ | #reboot to make our changes effective: | ||
+ | < | ||
+ | |||
+ | Create directories on storage as required (you can do this via the GUI) on / | ||
+ | > data > movies | ||
+ | > data > television | ||
+ | transcoding | ||
+ | downloads | ||
+ | downloads > completed | ||
+ | > downloads > movies | ||
+ | > downloads > television | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | #run the Serviio console to define what media is to be shared and set transcoding directory: | ||
+ | #defemine media storage location as the transcoding dump for Serviio hence the transcoding directory (eg: / | ||
+ | < | ||
+ | cd / | ||
+ | sudo ./ | ||
+ | </ | ||
+ | |||
+ | Via GUI and enable file sharing (right click on directory) - you'll be asked to install 2 packages (samba and libpasswd - an automatic process), just click install. I would enable guest access (but not RW access) other other players that don't require transcoding can play video (eg: KODI). | ||
+ | |||
+ | #reboot is required for shares to work. | ||
+ | < | ||
+ | |||
+ | #if not done already, enable port forwarding (your router) as follows: | ||
+ | #crappy routers additionally require you turn on UPNP and enable IPv4 multicast support. | ||
+ | MediaBrowser: | ||
+ | SickRage: < | ||
+ | sabNZBd: < | ||
+ | Couchpotato: | ||
- | ~~ElToro1966~~ | + | LAN computers can access your shares via: |
+ | Windows: \\< | ||
+ | Linux / Mac OS: smb://< | ||
+ | If you want to access services outside your LAN I strongly suggest using SSL. |