|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
SageTV 7 - Arch Linux 2013.10.01 Install HOWTO
This tutorial picks up from a base install of Arch Linux and adds: Oracle Java, SSH, NTP, WINE, Comskip, SageTV
All actions performed as root user unless otherwise stipulated. STEP 1: Add SSH, NTP, base-dev to system Code:
pacman -S base-dev openssh ntp systemctl enable sshd.service echo "logfile /var/log/ntp.log" >> /etc/ntp.conf systemctl start ntpd systemctl enable ntpd #Confirm Date/Time timedatectl status #Set time if needed Eg. timedatectl set-time "2013-10-02 11:05:30" #If time set manually execute: ntpd -q Code:
mkdir -p /opt/sagetv/server cd /opt/sagetv/server curl -O http://download.sage.tv/linuxbeta/server_7.1.9.tar.gz tar xvzf server_7.1.9.tar.gz rm server_7.1.9.tar.gz mkdir -p /var/media/{tv,videos,music,pictures} #Multiple TV directories for mounting additional storage drives Code:
cat > /opt/sagetv/server/sagesettings <<EOF #Placed here for ArchLinux JRE Install export PATH=/opt/jre/bin:$PATH ## End PIDFILE=/opt/sagetv/server/sagetv.pid HEADLESS=true JAVAMEM=-Xmx1024m mkdir -p /var/tmp/sage JAVAOPTS="-Djava.io.tmpdir=/var/tmp/sage -XX:ThreadPriorityPolicy=42" EOF Code:
curl -b gpw_e24=http%3A%2F%2Fwww.oracle.com -O -L 'http://download.oracle.com/otn-pub/java/jdk/7u40-b43/jre-7u40-linux-i586.tar.gz' tar xvzf jre-7u40-linux-i586.tar.gz ln -s /opt/jre1.7.0_40 /opt/jre chown -R root:root jre1.7.0_40 rm jre-7u40-linux-i586.tar.gz Code:
pacman -S lib32-glibc lib32-libstdc++5 lib32-gcc-libs lib32-zlib lib32-freetype2 mesa-libgl lib32-mesa-libgl mpg123 libpng lib32-ncurses wine Code:
cat > /usr/bin/ifconfig <<EOF #!/bin/bash ip addr EOF chmod +x /bin/ifconfig Code:
cd /opt/sagetv/server export PATH=/opt/jre/bin:$PATH ./keygen.sh Code:
useradd -G video -M -N -d /opt/sagetv sagetv chown -R sagetv:users /opt/sagetv /var/media/{tv,videos,music,pictures} Code:
su -c /opt/sagetv/server/startsage sagetv
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT Last edited by bcjenkins; 10-08-2013 at 12:49 PM. Reason: Typos |
#2
|
|||
|
|||
Adding IR support for HDPVR
Code:
cd /lib/firmware && curl -O http://www.blushingpenguin.com/mark/lmilk/haup-ir-blaster.bin echo lirc_zilog > /etc/modules-load.d/lirc_zilog.conf echo "options lirc_zilog tx_only=1" > /etc/modprobe.d/lirc_zilog.conf modprobe lirc_zilog
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#3
|
|||
|
|||
Native Linux Cable Card Setup
Thanks to jpwegas perl script, you can now use cable card in Linux without SageDCT. This assumes you're logged in to the server as root and that you have completed an initial setup of SageTV so that sage.properties exists.
Setup build directory Code:
mkdir /opt/builds chown sagetv:users builds su sagetv Code:
su -c 'pacman -S perl perl-ipc-run' Code:
curl -O https://aur.archlinux.org/packages/pe/perl-proc-processtable/perl-proc-processtable.tar.gz tar xvzf perl-proc-processtable.tar.gz cd perl-proc-processtable makepkg -s pacman -U perl-proc-processtable-0.48-1-any.pkg.tar.xz cd /opt/builds curl -O https://aur.archlinux.org/packages/pe/perl-proc-daemon/perl-proc-daemon.tar.gz tar xvzf perl-proc-daemon.tar.gz cd perl-proc-daemon makepkg -s pacman -U perl-proc-daemon-0.14-1-any.pkg.tar.xz Code:
mkdir -p /opt/sagetv/hdhomerun cd /opt/builds curl -O http://download.silicondust.com/hdhomerun/libhdhomerun_20130328.tgz tar xvzf libhdhomerun_20130328.tgz cd libhdhomerun make cp hdhomerun_config /opt/sagetv/hdhomerun/ chmod +x /opt/sagetv/hdhomerun/hdhomerun_config Code:
sed -i 's/network_encoder_discovery=false/network_encoder_discovery=true/' /opt/sagetv/server/Sage.properties B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#4
|
|||
|
|||
Java 8u20
Code:
curl -L -C - -b "oraclelicense=accept-securebackup-cookie" -O http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jre-8u60-linux-i586.tar.gz
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT Last edited by bcjenkins; 08-24-2015 at 02:21 PM. |
Tags |
arch linux, java 7, wine |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HOWTO: Install SageTV PlaceShifter on Ubuntu 10.10 Desktop 32-Bit | bcjenkins | SageTV Linux | 5 | 10-26-2012 09:42 AM |
Howto: Install Java correctly for sage | Zervun | SageTV Linux | 6 | 05-23-2008 11:33 AM |
QAM Linux HOWTO (using a180) | milbarge | SageTV Linux | 1 | 06-25-2007 11:48 AM |
Another HTPC / SageTV HOWTO | KarylFStein | General Discussion | 2 | 08-04-2006 07:59 AM |