This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:linux:install:ubuntu12-04 [2015/02/23 19:52] webclaw updated for Serviio 1.5.X, included szbNZBd, CouchPotato, Ubuntu 12.05.5, and Java 8 revisions / requirements. |
howto:linux:install:ubuntu12-04 [2015/02/27 04:33] webclaw fix formatting |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | This guide assumes you've installed a fresh (default) installation of Ubuntu 12.04.5 and assumes you have two storage devices - one for the OS and one for your media. I choose Ubuntu 12.04.5 as newer versions of Ubuntu (at the time of writing this) have some nasty VNC and SAMBA bugs (personally, | + | <note important> |
- | 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. | + | <note warning> |
+ | 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.</ | ||
Tested and working without any issues, log warnings, etc. with Serviio 1.5. | Tested and working without any issues, log warnings, etc. with Serviio 1.5. | ||
Line 9: | Line 10: | ||
# | # | ||
- | sudo apt-get install openssh-server | + | < |
#bandwidth tracking application (to be responsible about ISP usage): | #bandwidth tracking application (to be responsible about ISP usage): | ||
#run through terminal every once in a while to see bandwidth usage and realtime traffic | #run through terminal every once in a while to see bandwidth usage and realtime traffic | ||
- | sudo apt-get install vnstat, iftop | + | < |
#base codec install - installs dependancies used in ffmpeg and x264: | #base codec install - installs dependancies used in ffmpeg and x264: | ||
- | apt-get install dcraw libfaac-dev libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libva-dev libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev texi2html zlib1g-dev libssl1.0.0 libssl-dev libxvidcore-dev libxvidcore4 libass-dev librtmp-dev | + | < |
+ | |||
+ | <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: | #custom serviio version of ffmpeg install (compiled by me), always use Petr's (Serviio developer) customized version of ffmpeg to ensure proper serviio function: | ||
- | #installing newer git obtainable versions of ffmpeg break Serviio' | + | < |
- | cd /tmp | + | wget http://webclaw.info/downloads/ |
- | wget http://209.148.82.207/ | + | wget http://webclaw.info/downloads/ |
- | wget http://209.148.82.207/ | + | wget http://webclaw.info/downloads/ |
- | wget http://209.148.82.207/ | + | |
#install the custom serviio packages: | #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 x264_0.144.2525+git40bb568-1_amd64.deb | ||
sudo dpkg -i rtmpdump_201502201618-git-1_amd64.deb | sudo dpkg -i rtmpdump_201502201618-git-1_amd64.deb | ||
+ | </ | ||
#java 8 install: | #java 8 install: | ||
- | sudo add-apt-repository ppa: | + | < |
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install oracle-java8-installer | sudo apt-get install oracle-java8-installer | ||
+ | </ | ||
#serviio 1.5 download: | #serviio 1.5 download: | ||
- | wget http:// | + | < |
- | tar xzf serviio-1.5-linux.tar.gz | + | tar xzf serviio-1.5-linux.tar.gz</ |
#we keep everything neat and organized on our user profile directory: | #we keep everything neat and organized on our user profile directory: | ||
- | mkdir / | + | < |
- | cp -r serviio-1.5 / | + | cp -r serviio-1.5.1 / |
#make serviio start automatically after network is active: | #make serviio start automatically after network is active: | ||
- | sudo nano / | + | < |
- | start on started networking | + | #add startup script: |
+ | < | ||
script | script | ||
- | / | + | / |
end script | end script | ||
+ | </ | ||
#latest sabnzbd install | #latest sabnzbd install | ||
- | sudo add-apt-repository ppa: | + | < |
sudo apt-get update | sudo apt-get update | ||
- | sudo apt-get install sabnzbdplus | + | sudo apt-get install sabnzbdplus< |
- | sudo nano / | + | #edit sabnzbd configuration: |
+ | < | ||
- | USER=< | + | #add proper configuration: |
+ | < | ||
HOST=0.0.0.0 | HOST=0.0.0.0 | ||
+ | </ | ||
# | # | ||
- | cd / | + | < |
sudo apt-get install git | sudo apt-get install git | ||
git clone https:// | git clone https:// | ||
- | sudo cp / | + | sudo cp / |
- | sudo nano / | + | #setup couchpotato default config: |
+ | < | ||
CP_USER=< | CP_USER=< | ||
- | CP_HOME=/ | + | CP_HOME=/ |
- | sudo ln -s / | + | #make couchpotato start when user logs into the system: |
- | sudo update-rc.d couchpotato defaults | + | < |
+ | sudo update-rc.d couchpotato defaults</ | ||
#SickRage installation - I suggest using dev version once installed (supports more indexers): | #SickRage installation - I suggest using dev version once installed (supports more indexers): | ||
- | git clone git:// | + | < |
- | sudo nano /etc/ | + | |
+ | #setup sickbeard default config: | ||
+ | < | ||
SB_USER=< | SB_USER=< | ||
- | SB_HOME=/ | + | SB_HOME=/ |
- | sudo ln -s / | + | #make sickrage start when user logs into the system |
- | sudo update-rc.d sickbeard defaults | + | < |
+ | sudo update-rc.d sickbeard defaults</ | ||
#create media storage using gparted (aligns disk correctly, Ubuntu 12.04.5 native Disk utility does not): | #create media storage using gparted (aligns disk correctly, Ubuntu 12.04.5 native Disk utility does not): | ||
- | # | + | <note important> |
- | sudo apt-get install gparted | + | < |
#select your disk (eg: sdb) can create a partition table, format as ext4: | #select your disk (eg: sdb) can create a partition table, format as ext4: | ||
#now let's mount the new storage: | #now let's mount the new storage: | ||
- | sudo mkdir / | + | < |
# | # | ||
- | sudo nano -Bw /etc/fstab | + | < |
/ | / | ||
+ | </ | ||
#remount the storage so we can take ownership: | #remount the storage so we can take ownership: | ||
- | sudo mount -a | + | < |
- | sudo chown -R < | + | sudo chown -R < |
#reboot to make our changes effective: | #reboot to make our changes effective: | ||
- | sudo reboot -n | + | < |
Create directories on storage as required (you can do this via the GUI) on / | Create directories on storage as required (you can do this via the GUI) on / | ||
- | data | ||
> data > movies | > data > movies | ||
> data > television | > data > television | ||
Line 113: | Line 126: | ||
> downloads > television | > downloads > television | ||
- | Downloads go into downloads folder and once complete the applicable sudirectory (by sabNZBd) then are post-processed / moved to "data > movies" | + | <note important> |
#run the Serviio console to define what media is to be shared and set transcoding directory: | #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 trancoding | + | #defemine media storage location as the transcoding dump for Serviio hence the transcoding |
+ | < | ||
cd / | cd / | ||
sudo ./ | 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. | + | 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). |
- | 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. | #reboot is required for shares to work. | ||
- | sudo reboot -n | + | < |
#if not done already, enable port forwarding (your router) as follows: | #if not done already, enable port forwarding (your router) as follows: |