| Past Articles
|
|
| Monday, February 05 |
| · | BeyondTV Vista Compatibility FAQ ( 4.6 coming soon ) (0) |
| Wednesday, January 24 |
| · | Fun with BeyondTV Skins (2) |
| · | Broadcast HDTV quality compared (0) |
| · | SageTV HDTV Network Extender Q2 2007 (536) |
| · | Vidabox announces Blu-Ray, HD-DVD, CableCARD VISTA boxes (1) |
| Tuesday, January 16 |
| · | Recording Cable HDTV on a Mac via FIREWIRE (552) |
| Friday, January 12 |
| · | MythTV vs Windows Media Center Comparison (7) |
| · | CES/MacWorld Links Galore (12) |
| · | More Vista Media Center & ATI CableCard tuner news (7) |
| Monday, January 08 |
| · | ATI Announces Two CableCARD Digital Cable Tuner Cards (574) |
| Tuesday, January 02 |
| · | Nintendo Wii Media Center (16) |
| Sunday, December 24 |
| · | Happy Holidays 5% Coupon from PCAlchemy (EXPIRED) (584) |
| Thursday, December 21 |
| · | SageTV 6 Released (579) |
| · | New GBPVR Release Coming Soon (?) (18) |
| Tuesday, December 12 |
| · | VidaBox: DualHD Media Center->Blue-ray & HD-DVD format! (3) |
| | Older articles |
|
| |
|
HowTo: Slackware Linux 9.1 MythTV Install Guide
Page: 1/3 (4203 total words in this text) (48895 Reads) 
Slackware Linux 9.1 MythTV Install Guide(mirror)
original here | Forum discussion & other info
updated september 13 20004
Slackware 9.1 MythTV Install
===Install Slackware 9.1 from CD===
Boot from Slackware 9.1 CD disc1 logging in as root
#cfidsk
Partition the drive(s) how ever you like.
This is pretty much like partitioning in windows.
You will however need to create what is known as a swap partition.
This partition should be 1.5x to 2.0x the amount of ram you have.
I would make this partition second.
The first would be where the OS will be installed to.
The partition the OS is going on should be made bootable with the bootable option.
Once you have created the root and swap partitions, you'll have to declare a swap
type for the swap partion.
This would be type 82.
Once these are set, write the table and exit.
Format any other drives you may be using and continue to the next step.
=Run setup=
# setup
Use target partitions above. Format as EXT3. Inode Density 1024.
-Choose Install from CD
-Auto scan for CD
-Select Full install - No prompting
-Insert Disc2 when prompted
-Choose Cdrom when asked to install linux kernel
-Choose a kernal to install(i suggest bare.i)
-Create boot disk or skip (your choice)
-No modem (unless you need it for some reason. you're on your own if you do.)
-Yes to enable Hotplug system at boot
-Simple lilo
-Framebuffer 800x600x64 (change to whatever you like)
-Skip kernel parameters
-Install lilo to root
-Select your mouse (i sugest either ps2 or usb depending on what you're using)
-Yes to gpm
-Yes to configure network
-Hostname: (choose a name for this computer, i use MythTV)
-Domain: (enter your network domain name or workgroup name)
-DHCP (at least for most people)
-DHCP hostname: (skip this if you are behind a NAT/router)
-Yes to confirm network setup
On the startup services page add these:
- rc.mysqld (MySQL (needed by MythTV))
- rc.httpd (Apache web server (if you intend to use MythWeb))
- rc.samba (Samba (if you want to add this computer to your windows network))
Note: these should already be selected: rc.inetd, rc.pcmcia, rc.sendmail,rc.sshd
Select yes or no to screen fonts, your choice
Set your hardware clock to your time
Choose a default window manager.
I use KDE and this how-to is geared towards KDE.
Select Yes to adding Root password
Reboot after install finishes
===Compile 2.4.24 kernel===
Download 2.4.24 kernel source to /usr/src
From within the /usr/src directory:
# tar -zxvf linux-2.2.zz.tar.gz
# rm linux
# ln -s linux-2.4.24 linux
# cd linux
# make oldconfig
(configure your kernel as needed. I enabled acpi and selected my processor, etc.)
# make dep
# make clean
# make bzImage
# make modules
# make modules_install
# mv /boot/System.map /boot/System.map.old
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.24
Edit /etc/lilo.conf
Add this section:
image =/boot/vmlinuz-2.4.24
root = /dev/hda1
label = linux-2.4.24
append="mem=nopentium" <---only add this line if not using an intel processor
read-only
Now update lilo
# /sbin/lilo
===Add new user===
add a user named MythUser so i can access my linux machine from my windows
machine
# adduser mythuser
Accept defaults, enter password.
Add user kevin to samba users(you don't need to do this unless you're setting up
samba.
I won't cover how to do that though, since its not *necessary* for setting up MythTV)
# smbpasswd -a kevin (again blank password)
===Setup MySQL===
This fixes MySQL it will stop dying at boot.
As root:
# su mysql
# mysql_install_db
# exit
# login
# mythuser
From here on out i assume you're logged in as a user other than root.
This should be your mythtv user.
$ startx
===Install Mplayer===
This step isn't necessarily needed, but it helps when testing the IVTV driver later.
If you are able to transfer files from your linux machine to a windows machine easily
(such as using samba networking) then you can skip this step if you like.
Download Mplayer from http://www.mplayerhq.hu/homepage/
In this case MPlayer-0.92.tar.bz2
$ tar -jxvf MPlayer-0.92.tar.bz2
$ cd MPlayer-0.92
$ ./configure
$ make
$ su
# make install
# exit
===Install Lame===
Download lame from http://www.mp3dev.org/mp3.
In this case lame-3.93.1.tar.gz
tar -xzf lame-3.93.1.tar.gz
$ cd lame-3.93.1
$ ./configure
$ make
$ make test
$ su
# make install
====North America Users Only====
Users in North America No longer use XMLTV to retrieve listings.
Instead you now use Zap2It's DataDirect Service.
===Configure the Zap2It DataDirect Service===
First go to http://labs.zap2it.com/ and click on the "New User Signup" link.
Accept the terms and conditions.
Fill in your information and enter ZIYN-DQZO-SBUT for the Certificate Code.
Next configure the lineup for your location and the channels you have.
You can now proceed to the "Install IVTV Driver" section
====Non-North America only users====
XMLTV is now only for those not in North America.
If you're in North America, you now use the
Zap2it DataDirect service.
===Install XMLTV===
Download the most recent XMLTV from
http://xmltv.sourceforge.net
As of this writing, that would be xmltv-0.5.31.tar.bz2
Extract the xmltv source:
$ tar -xjf xmltv-0.5.31.tar.bz2
=Install the XMLTV prerequisites=
Type no when asked if you want to setup manually
When prompted for any other actions, just hit enter
$ su
# perl -MCPAN -e shell
cpan> install XML::Parser
cpan> install XML::Twig
cpan> install Date::Manip
Date::Manip is up to date.
cpan> install LWP
cpan> install XML::Writer
cpan> exit
# exit
If you get errors when trying to install throught the -MCPAN method, then you'll have to
manually build the prerequisites.
First download the latest prerequisites package from
http://xmltv.sourceforge.net.
As of this writing its xmltv_prereq-6.tar.bz2.
If you didn't get any errors, skip to Compiling XMLTV
$ tar -xjf xmltv_prereq-6.tar.bz
$ cd xmltv_prereq-6
$ su
From here you go cd into each directory and do the following
# perl Makefile.PL
# make
# make test
# make install
You shouldn't need to build everything in the xmltv_prereq-6 directory, but when in
doubt, build them all.
You may be thinking, don't I just need these:
XML-Twig-?.?? (where ?.?? is a version number, these change with each prereq
release.)
XML-Writer-?.??
DateManip-?.??
libwww-perl-?.??
Yes you do need those, but they also rely on some other prequisites.
I'm not quite sure which they rely on, the MCPAN method handles all that for you.
When i was unable to get MCPAN to work, i just built everything in the prereq package.
Took quite a while, but beggers can't be choosers.
=Compile XMLTV=
$ cd xmltv-0.5.31
$ perl Makefile.PL
Do you want to proceed with this configuration? [yes,no (default=yes)] no
Say yes to the grabber for your area. You can say no to everything else.
$ make
$ make test
$ su
# make install
# exit
| Next (2/3) 
[ Back to Guides & How To's | Sections index ] |
|
|