|
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
|
|||
|
|||
Instructions to install SageTV on CentOS
Here are instructions how to install SageTV on CentOS. CentOS is recompiled version of Red Hat Enterprise Linux. It is rock solid operating system with great performance and features well suited to build SageTV server (e.g. Software RAID 1,5,6) out of the box unlike Windows. The instructions below were tested with fresh install of CentOS 5.1 with kernel from CentOS Plus.
Install CentOS http://www.howtoforge.com/installati...tos5.1-desktop Install Java (instruction adapted from http://www.howtoforge.com/installati...5.1-desktop-p7 section 7.1.3) Download Java JRE for Linux from http://java.sun.com. At this time current version is jre-6u4-linux-i586-rpm.bin Code:
chmod +x jre-6u4-linux-i586-rpm.bin ./jre-6u4-linux-i586.bin rm -f jre-6u4-linux-i586* Code:
java -version Quote:
Code:
ln -s /usr/java/latest/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/ http://java.com/en/download/installed.jsp Follow this post to configure your firewall http://forums.sagetv.com/forums/show...335#post105335 For HD Media Extender I had to open at least TCP 7818 TCP 31099 UDP 31100 Install SageTV dependencies Code:
rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm yum install mad lame faad2 faac Download http://download.sagetv.com/linuxweb/server.tar.gz If you prefer to only install the latest version Code:
mkdir -p /opt/sagetv/server tar -xzf server.tar.gz -C /opt/sagetv/server Code:
mkdir -p /opt/sagetv/server_6.3.6 tar -xzf server_6.3.6.tar.gz -C /opt/sagetv/server_6.3.6 ln -s /opt/sagetv/server_6.3.6/ /opt/sagetv/server Code:
mkdir /var/media mkdir /var/media/tv mkdir /var/media/videos mkdir /var/media/pictures mkdir /var/media/music Code:
cd /opt/sagetv/server ./keygen.sh Quote:
Quote:
Code:
/opt/sagetv/server/startsage Code:
/opt/sagetv/server/startsage Last edited by bastafidli; 03-28-2008 at 02:35 PM. Reason: spelling |
#2
|
|||
|
|||
Nice Documentation...
bastafidli, That is fantastic documentation. Good baseline for installs!
Thanks! John |
#3
|
|||
|
|||
Thanks a lot. I personally prefer CentOS for my servers rather then Ubuntu due to the infrequent updates and stability therefore I thought it would be worth it would be nice to record my notes in case I have to do another install.
|
#4
|
|||
|
|||
Instructions to upgrade SageTV on CentOS
Here are instructions how to upgrade to a newer version:
Stop the server by going to /opt/sagetv/server and execute Code:
./stopsage Code:
cp -R /opt/sagetv/server/clients /data/SageTv/clients/ cp -R /opt/sagetv/server/ChannelLogos /data/SageTv/ChannelLogos/ cp -R /opt/sagetv/server/GeneratedThumbnails /data/SageTv/GeneratedThumbnails/ cp -R /opt/sagetv/server/activkey /data/SageTv/activkey cp -R /opt/sagetv/server/key/data/SageTv/key cp -R /opt/sagetv/server/SageTV.private.key /data/SageTv/SageTV.private.key cp -R /opt/sagetv/server/SageTV.public.key /data/SageTv/SageTV.public.key cp -R /opt/sagetv/server/SageTVLocator.private.key /data/SageTv/SageTVLocator.private.key cp -R /opt/sagetv/server/SageTVLocator.public.key /data/SageTv/SageTVLocator.public.key cp -R /opt/sagetv/server/weather_cache.properties /data/SageTv/weather_cache.properties Code:
cp -R /opt/sagetv/server/Wiz.bak /data/SageTv/Wiz.bak cp -R /opt/sagetv/server/Wiz.bin /data/SageTv/Wiz.bin cp -R /opt/sagetv/server/Sage.properties /data/SageTv/Sage.properties cp -R /opt/sagetv/server/Sage.properties.autobackup /data/SageTv/Sage.properties.autobackup Code:
gedit /data/SageTv/Sage.properties & Quote:
Quote:
Install the new version Code:
mkdir -p /opt/sagetv/server_6.3.7 tar -xzf server_6.3.7.tar.gz -C /opt/sagetv/server_6.3.7 rm /opt/sagetv/server ln -s /opt/sagetv/server_6.3.7/ /opt/sagetv/server Code:
ln -s /data/SageTv/clients/ /opt/sagetv/server/clients ln -s /data/SageTv/ChannelLogos/ /opt/sagetv/server/ChannelLogos ln -s /data/SageTv/GeneratedThumbnails/ /opt/sagetv/server/GeneratedThumbnails ln -s /data/SageTv/activkey /opt/sagetv/server/activkey ln -s /data/SageTv/key /opt/sagetv/server/key ln -s /data/SageTv/SageTV.private.key /opt/sagetv/server/SageTV.private.key ln -s /data/SageTv/SageTV.public.key /opt/sagetv/server/SageTV.public.key ln -s /data/SageTv/SageTVLocator.private.key /opt/sagetv/server/SageTVLocator.private.key ln -s /data/SageTv/SageTVLocator.public.key /opt/sagetv/server/SageTVLocator.public.key ln -s /data/SageTv/weather_cache.properties /opt/sagetv/server/weather_cache.properties ln -s /data/SageTv/Wiz.bak /opt/sagetv/server/Wiz.bak ln -s /data/SageTv/Wiz.bin /opt/sagetv/server/Wiz.bin ln -s /data/SageTv/Sage.properties /opt/sagetv/server/Sage.properties ln -s /data/SageTv/Sage.properties.autobackup /opt/sagetv/server/Sage.properties.autobackup Therefore after every upgrade you need to restore them from the backup Code:
cp -R /data/SageTv/Wiz.bak /opt/sagetv/server/Wiz.bak cp -R /data/SageTv/Wiz.bin /opt/sagetv/server/Wiz.bin cp -R /data/SageTv/Sage.properties /opt/sagetv/server/Sage.properties cp -R /data/SageTv/Sage.properties.autobackup /opt/sagetv/server/Sage.properties.autobackup Code:
./startsage Last edited by bastafidli; 02-07-2008 at 10:50 PM. |
#5
|
|||
|
|||
Quick question - how were you able to use the centosplus kernel with xfs support on install - the only documentation I can find is that you can only use the centosplus rpm's after install
|
#6
|
|||
|
|||
I think that is exactly what I did, but I do not remember it exactly. Fresh install from downloaded media, then enabled Plus repository and downloaded and switched to the patched kernel, since I needed support for ntfs to access some of my disks.
|
#7
|
|||
|
|||
Great instructions.
I went ahead and compiled a vanilla kernel 2.6.27.8 in my CentOS to get the newest support. I am using a 64bit OS, so I grabbed the jdk for 32 bit and added; PATH=/opt/jdk1.6.0_11/bin:$PATH export PATH to my startsage file. Everything went great. I have a pvr-150 and pvr-500 card. It sees all three tuners (videos). I want to use the pvr-150 to connect to my cable box, tv tuner channel 3, and IR blast to the set top box. When I go into tuning option for video0 (the pvr-150) and select external cable or satellite receiver, I am presented with two options; -DirectTV serial control (my set top box does not have a serial interface) -Infrared Blaster (this is what I want to get working) When I select Infrared Blaster, I am given a list of ports (0-9) and all of them say failed when selected. Any advice on how to get this last step working? I have tried compiling the latest lird lirc-0.8.4a, even played around with lirc-0.8.5-CVS-pvr150. It is loading modules fine. What am I missing? I also have a serial IR200L that I was using with the windows box. If this is a possible path… |
#8
|
|||
|
|||
how did you get the pvr-500 working with 64bit Centos. I can't seem to get sage to use my cards on 64bit Intrepid. Drivers and Firmware loads fine at the OS level with no errors.
PS: my kernel is 2.6.27.2. |
#9
|
|||
|
|||
It did not show up in my stock kernel. That is 2.6.18-92.1.18.el5.centos.plus for CentOS.
I after I went out and grabed the source and compiled 2.6.27.8, they showed up in sage. But I can't imagine there would that much different in hardware support from your 2.6.27.2 and my 2.6.27.8. Attached is my .config for options I used to compile... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sage6 install craters windows firewall | gateslinger | SageTV Software | 1 | 12-26-2006 05:39 PM |
Need insight on cpu pegging on virgin XP/Sage install - Brain turning to mush | Hector | Hardware Support | 2 | 05-29-2006 03:34 PM |
Sage acts like a clean install after upgrading to .14 | SageFL | SageTV Beta Test Software | 3 | 04-24-2006 04:37 PM |
Successful SageTV Install on Via Epia System with Hauppauge 350 | gazer | Hardware Support | 0 | 03-23-2006 01:48 PM |
Best install method and procedure | mrman5917 | SageTV Software | 0 | 02-21-2006 06:12 PM |