Tutorials

Intalling Fedora 7

I followed the initial installation guidelines from Jarod Wilson's  Fedora Myth(TV)ology website. I'm goint to reproduce here his installation with some variations that I used when installing my system.

I installed the X86_64 version of Fedora 7 as I'm using an Asus M2NPV-VM motherboard, which is a Micro-ATX and has an Nvidia graphics chipset. It also comes out of the box with DVI, RGB, Component and Composite outputs which makes it perfect for a media centre. However, this board has a design problem and I recommend you fix this problem BEFORE you put together your box in case you're using this board. Click here to see how I solved  it.

My experience with boards with ATI graphic chipsets in Linux hasn't been good, so I much prefer using Nvidia graphics.

My Hardware

  • Motherboard: Asus M2NPV-VM
  • Hard Drive: 250MB SATA
  • Memory: 512 MB RAM
  • TV Card: Leadtek DTV1000
  • Optical: DVD RW

Optional:

  • Wireless USB adapter: D-Link DWL-G122
  • Infinity USB Phoenix card Reader
  • Budget satellite card (I installed TwinhanDTV 1022A cards and TechniSat SkyStar 2 cards and both work perfectly)

Downloading & Installing

To download the CD or DVD iso images go to this site:

http://fedora.redhat.com/download/mirrors.html

I'm selecting Fedora 7 x86_64:

http://mirrors.fedoraproject.org/publiclist/Fedora/7/x86_64/

Select the most convenient mirror for you.

For example on Internode, the ISO files are here:

http://mirror.internode.on.net/pub/fedora/linux/releases/7/Fedora/x86_64/iso/

Once you have the DVD ready, boot your box with it.

I'd recommend a custom partitioning scheme rather than auto-partitioning, with a dedicated partition for storage of all your recordings, movies, music, photos, etc. When you get to the Disk Partitioning Setup screen, check the box  Review and modify partitioning layout. My partitioning setup is as follows (assuming a single SATA hard drive): 

PartitionMount PointSizeFormat
/dev/sda1/boot100MBext3
/dev/sda2/15GBext3
/dev/sda3swapsame as RAM (ex: 512MB)swap
/dev/sda5/videoEverything elseext3

Network Configuration

On the Network configuration screen, I highly recommend setting a static IP address (could either be truly static, or a staticly mapped DHCP address). It really isn't a huge deal if you only have one Myth box, though you probably don't want MythWeb to be a moving target, and it could cause major headaches once you have more than one machine, since non-primary systems wouldn't know where the master backend was anymore if the address changed.

On Network devices click on edit, select manual configuration and add the following:

I normally use two different sets of IP addresses, depending on the router.

For routers with network addressses 192.168.0.255, I use the following:

  • Ethernet IP address: 192.168.0.100
  • Wireless IP address: 192.168.0.101 (if you have a wireless adaptor)
  • Netmask: 255.255.255.0

For routers with network addressses 192.168.1.255, I use the following:

  • Ethernet IP address: 192.168.1.100
  • Wireless IP address: 192.168.1.101 (if you have a wireless adaptor)
  • Netmask: 255.255.255.0

 Click on OK.

Set the hostname manually. The server name I'm using for this computer is mythbox-master.omcentre.com.au, you can obviously use a different name and domain, but I recomment keeping them as the mythtv pre configured database I have uses that name and domain to define its settings. If you use a different name, then you'll have to go through all the settings again.

On the gateway section, use your router address, which is normally 192.168.0.1 or 192.168.1.1.

On the DNS configuration, find out what are the dns servers of your ISP.

 

Timezone

Select the Timezone where your box will be living. In my case is Australia/Brisbane.

Root Password

The password for root I'm choosing is mythtv.

Package Selection

On the Package selection screen, uncheck all the check boxes and select the "Customize now" radio button. At the next screen, you'll be able to re-add the components we need/want.  Add these package groups to those already selected:

  • Desktop Environments -> GNOME and KDE (K Desktop Environment)
  • Applications -> Graphical Internet
  • Applications -> Sound and Video
  • Development -> Development Libraries
  • Development -> Development Tools
  • Servers -> MySQL Database
  • Servers -> Web Server
  • Servers -> Windows File Server
  • Servers -> Network Servers -> vnc-server
  • Base System -> Administration Tools
  • Base System -> Base
  • Base System -> Hardware Support
  • Base System -> Java
  • Base System -> X Windows System

Because MythTV is heavily tied to the same toolkit as KDE, we're going to use KDE as the desktop environment on top of which we'll run MythTV.

Switching from one desktop environment to another is as simple as selecting a different one via the Session menu on the login screen and saying yes, you want to always login with that desktop environment.

 

First Boot

The first time you start up your system following installation, you should be greeted by the Firstboot setup utility, which contains various modules for configuring bits and pieces of your system.

In the Firewall configuration module, its easiest to simply disable the firewall for minimal headache. The firewall being enabled probably won't cause a problem if you only have one Myth box, but if not properly tweaked, would prevent any secondary systems from being able to contact the master backend. If you really want to enable it, I'd suggest permitting SSH, WWW (HTTP), Secure WWW (HTTPS), as well as adding port 6543, protocol tcp and port 6544, protocol tcp, both of which are used by the mythbackend process. Allow Samba as well.

In the SELinux configuration module, disable SELinux. There are a number of things that just plain won't work right if you have it enabled.  I don't care enough about security on my Myth box to want SELinux on it, so I just assume make life easier and disable it. Note that this means your system will restart once you're done with Firstboot.

In the Date and Time module, you have the option to enable the Network Time Protocol (ntp). This is highly recommended. You want your shows to start (and stop) recording at the right times, don't you? ;-) Check the box to enable ntp, and either enter an ntp server you know of near you or leave it with the pre-populated values, which are from the ntp.org pool (which aliases to a bunch of time servers around the globe).

In the Create User module, create a user called mythtv, with a password of your choosing. From here on out, most of this document assumes you are logged into the system as the user mythtv.

The Sound Card module should let you test out your sound card, but there's really nothing that should need to be done here. Good to know if it works.

In my nvidia system, I found a weird problem, the mouse cursor was not there. I solved the problem by adding the following line, on the section "Device"
on my /etc/X11/xorg.conf:

Option "HWCursor" "off"

Continue Shoppping View Cart
Continue Shoppping View Wishlist