Personal Fedora Core 3 Installation Guide

Mauriat Miranda (http://www.mjmwired.net/contact/)

Other Guides/Resources

Published: 5 November 2004 (updated: 10 April 2005)

Post To: del.icio.us, furl, digg, spurl, gmail this, Blog this
Tweet
Show-Hide Menu

New Guides: Fedora 14, Fedora 12, Fedora 11, Fedora 10, Fedora 9, Fedora 8, Fedora 7, Fedora Core 6, Fedora Core 5, Fedora Core 4


This guide is my personal configuration of Fedora Core 3. I put this page together to provide some common installation tips that I would hope other people would find useful. Keep in mind this works for me, so take care in doing proper backups to critical files whenever trying something.


Physical Installation

Obtain the Fedora Core 3 cd images or DVD image from a Fedora mirror and burn to CD's or DVD. Boot from the first disk.

I did a Custom Install of Fedora Core 3.

Install and reboot. For the first boot:

Top Home


Custom Boot Settings

11 November 2004

* I duplicate the entry first entry and remove 'rhgb' which prevents the
  Graphical Boot Loader from running. (Or you can remove the RPM above).

* I add the 'vga=788' to give a larger text console at boot.

* I needed the 'hdc=noprobe', since the 2.4.20 kernel and newer seem to have a
  problem detecting that I have NO hdc disk.

* Fedora Core 2 and newer have Security Enhanced Linux (selinux). You can 
  add 'selinux=0' to force disable selinux. (Or you can disable it in the
  installation above).

* You may remove 'quiet' if you would like to see the kernel boot information.

* If you put a 3 at the end of the 'kernel' line you can force grub to boot
  into runlevel 3.

* [Strongly Recommended] - Remove 'hiddenmenu' to see the Grub boot menu at
  boot time. This may come in handy during a problem.

---

edited /boot/grub/grub.conf:

hiddenmenu
title Fedora Core (2.6.9-1.667)
        root (hd0,9)
        kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/1 rhgb quiet
        initrd /boot/initrd-2.6.9-1.667.img


title Fedora Core (2.6.9-1.667)
        root (hd0,9)
        kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/1 quiet
        initrd /boot/initrd-2.6.9-1.667.img

Top Home


Installed Nvidia Driver

12 March 2005

http://www.nvidia.com/object/linux_display_archive.html

The currently available version is the 1.0-7167 driver from Nvidia.

Login as root to text console  (or F2,F3,F4)
disable X-server, install driver, re-enable X-server:

[root@charon ~]# init 3
(just hit enter if the prompt does not return)

[root@charon ~]# sh NVIDIA-Linux-x86-1.0-7167-pkg1.run

EDIT /etc/X11/xorg.conf (see below)

[root@charon ~]# modprobe nvidia

NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7167  Fri Feb 25
09:08:22 PST 2005

[root@charon ~]# init 5

Note: A reboot is recommended, but may NOT be required.
If you had a previous Nvidia driver installed, it is recommended that you reboot to
RESTART the udev system.

Changes to /etc/X11/xorg.conf

ection "Module"
add (if not already there):
	Load  "glx"
comment out (add # in front of them, if they are there):
        #Load  "dri"
        #Load  "GLcore"

("glx" and "dri" were there for me, "GLcore" was not)

Section "Device"
change from:
	Driver      "nv"
to:
	Driver      "nvidia"

--------------------

The 1.0-7167 driver seems to properly work with udev.


PROBLEM: (for version 1.0-6629 and older) The new udev included
in FC3 prevented the nvidia module from loading automatically.

The Recommended Fix:

# cp -a /dev/nvidia* /etc/udev/devices
# chown root.root /etc/udev/devices/nvidia*

Only if above does NOT work

EDIT /etc/rc.local

ADD the following to the END of the file:

/sbin/modprobe nvidia

--------------------

Other Kernel Issues:

If you update your kernel the NVidia driver must be re-installed to
match the new  kernel.

Most all information available from Nvidia. Read more:
http://www.nvidia.com/object/linux.html

Top Home


ALSA

4 November 2004

ALSA now comes standard in Fedora Core. The 2.6 kernel includes ALSA.

FC3 should properly detect almost every sound card. No additional
configuration changes should be required.

Note: I was having some difficulty with my onboard sound
system. To correct this I had to run a mixer (alsamixer, kmix, or
gnome-volume-control) and select ALSA Mixer settings and find:
VIA DXS, there are 4 of them. I had to increase the both
the 1rst and 2nd to MAX to get sound to work correctly.

Also make sure to check if your PCM and Master volumes
are NOT MUTED.

My sound: Analog Devices AD1980 / VIA 8235
ALSA driver: via82xx
Mainboard: Asus A7V8X-X, VIA KT400 chipset

Top Home


Get XMMS to play MP3

10 November 2004

http://heidelberg.freshrpms.net/rpm.html?id=402

Get:
xmms-mp3-1.2.10-9.1.1.fc3.fr.i386.rpm 

Run:
rpm -ivh xmms-mp3-1.2.10-9.1.1.fc3.fr.i386.rpm 

Run xmms:
Options > Preferences > Audio I/O Plugins
MPEG Layer 1/2/3 Placeholder Plugin  [lib_rhmp3.so]
==> Uncheck [ ] Enable Plugin
Apply


If you want the XMMS status plugin for Gnome, go here:


http://newrpms.sunsite.dk/apt/redhat/en/i386/fc3/RPMS.newrpms/xmms-status-plugin-1.0-2.rhfc3.nr.i386.rpm
Get:
xmms-status-plugin-1.0-2.rhfc3.nr.i386.rpm
Run:
rpm -ivh xmms-status-plugin-1.0-2.rhfc3.nr.i386.rpm
Restart xmms:
Options > Preferences > General Plugins
Status Docklet Plugin 1.0   [libstatusdocklet.so]
==> Check [ ] Enable Plugin
Apply

Top Home


Install Microsoft Truetype Fonts

11 May 2004

http://corefonts.sourceforge.net/

You have to make the RPM, to speed things up I've created the RPM:
msttcorefonts-1.3-4.noarch.rpm

(as root)

# rpm -ivh msttcorefonts-1.3-4.noarch.rpm
# /etc/init.d/xfs restart

(or just log out and log back in, reboot not required)

If you are NOT running 'xfs' service then you do not need to restart it.

Top Home


Disable Unneeded Services/Daemons

11 November 2004

For more information on managing services in Fedora:
http://www.mjmwired.net/resources/mjm-fedora-manage-services.html

To see what services you have running:

# service  --status-all | grep running

Run 'serviceconf', edit running services for runlevel 5 *AND* 3,
do not touch the others.

Be careful, do not disable things that you're not sure if need or
if you don't know what they are.

apmd
	Is used by some laptops. If your computer supports ACPI, then 'apmd'
	is probably not needed.
cron, atd, anacron
	These are schedulers, it is recommended you keep at least 1 (cron)
	running, especially if you keep your computer running for long periods
	of time.

cpuspeed
	Changes your CPU speed to save power. Many laptop CPU's might use this.
	(AMD PowerNow, Transmetta, Intel SpeedStep, Athlon-64?)
cupsd, cups-config-daemon
	Used for printing.
gpm
	This is the console mouse pointer (no graphics).
	Leave on for runlevel 3, but probably not needed for runlevel 5.
iptables
	Not needed if you use a hardware firewall (D-Link, Netgear, etc).

isdn
	I do not use this hardware.
mdmonitor
	I do not have a Software RAID.
nfs,nfslock
	I do not use NFS. This network file sharing for Unix/Linux.
rpcgssd, rpcidmapd, rpcsvcgssd

	Used for NFS v4. If do not have other Unix/Linux machines this unneeded.
pcmcia
	Used on laptops.
sendmail
	Most people do not need a mail transport agent. If you check your mail
	on the web (hotmail/yahoo) or you use a mail program (imap/pop) you
	do not need sendmail.
sshd
	SSH allows other people to log into your computer from another computer
	on your network. This is not needed if you have no other computers.
mDNSResponder, nifd

	This is part of zeroconf and 	is useful for detecting devices
	and their names on local network without a DNS server.
	Some devices support this feature as well as Apple OS X.

DO NOT DISABLE THE FOLLOWING (unless you know what you are doing).

acpid, haldaemon, dbus-daemon-1, klogd, network, portmap, syslogd, xinetd

Top Home


Macromedia Flash Plugin

04 November 2004

http://macromedia.mplug.org/

Current Version: 7.0.25   (05/27/2004)
RPM Version:     7.0.25-1 (05/27/2004)

Fedora Core 2    flash-plugin (apt, yum rpm)
file:
flash-plugin-7.0.25-1.i386.rpm

[root@charon root]# rpm -ivh flash-plugin-7.0.25-1.i386.rpm

Preparing...                ########################################### [100%]
   1:flash-plugin           ########################################### [100%]

Registering flashplayer as a XPCOM component in
/usr/lib/mozilla-1.7.3

Registering flashplayer as a XPCOM component in
/usr/lib/firefox-0.10.1
Setup is complete.

Make sure you are logged into the X server (init 5, runlevel 5) and do
not have Mozilla open when you install the RPM. Make sure to (read)
accept the agreement.

Top Home


Disable IPV6

12 July 2004

Fedora Core 2 had a slowdown with IPV6. According to Mozilla bug report below,
newer versions of Mozilla should be fine. I chose to disable IPV6 anyways in FC3.

The following information was FC2:
----

FC2 by default uses IPV6. This causes serious slow down in DNS queries.

To disable IPV6: As root, you must add the line: "alias net-pf-10 off" (without quotes)
to the end of your /etc/modprobe.conf file.

-OR-

Quick solution:

[root@charon fc3]# echo "alias net-pf-10 off" >> /etc/modprobe.conf

A reboot is required.

More info:
DNS lookups under Fedora Core 2
Mozilla bug report 239358

Top Home


Installed Java Internet Plugin

10 April 2005

URL: http://java.sun.com/j2se/1.5.0/download.jsp

Choose:

JRE 5.0 Update 2  includes the JVM technology
	The J2SE Runtime Environment (JRE) allows end-users
	to run Java applications. More info...
	Download JRE 5.0 Update 2

Choose:

Linux Platform
RPM in self-extracting file (j2re-1_4_2_06-linux-i586-rpm.bin, 13.24 MB)

run:

[root@charon ~]# sh jre-1_5_0_02-linux-i586-rpm.bin
[root@charon ~]# rpm -ivh jre-1_5_0_02-linux-i586.rpm
[root@charon ~]# ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so

Top Home


Xterm Default Xresources

18 January 2004

Settings, for EVERY user:

EDIT /etc/X11/Xresources
ADD at the END:

xterm*visualBell: true
xterm*background: Black
xterm*foreground: Wheat
xterm_color*background: Black
xterm_color*foreground: Wheat
xterm*scrollBar: true

Top Home


Modify BASH Defaults

11 May 2004

Settings, for EVERY user:

EDIT /etc/bashrc
ADD to the END of the file:

# alias interactive
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

These prevent common errors of deleting or overwriting files.

Top Home


Setup Samba

11 December 2004

EDIT /etc/samba/smb.conf
Set your Windows Workgroup name in [global] section.

Added shares at the end of the file:
[media]
   path = /mnt/media
   public = yes
   writable = no
[work]
   path = /mnt/work
   public = yes
   writable = yes

If 'writable' the location need to be writable in Linux first.
Example: NTFS is not writable in Linux.
If home data (all work in /home/username) is to be accessible,
then set 'browseable = yes' under [homes] (~line 188).

Run samba check for errors:
/etc/init.d/smb start

Use chkconfig or serviceconf to enable samba (smb) in both runlevels 3 and 5.

[root@charon samba]# chkconfig --list smb
smb             0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@charon samba]# chkconfig --level 35 smb on
[root@charon samba]# chkconfig --list smb
smb             0:off   1:off   2:off   3:on    4:off   5:on    6:off

Add users who can access these shares with the 'smbpasswd' command.
This does NOT match your Linux password. This should be the 
login name and password you use from Windows when accessing your
Linux computer.

[root@charon samba]# smbpasswd -a username
New SMB password:
Retype new SMB password:
Added user username.

Restart Samba for every change to users/passwords or 'smb.conf'

[root@charon samba]# /etc/init.d/smb restart
Shutting down SMB services:                                [  OK  ]
Shutting down NMB services:                                [  OK  ]
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]

Top Home


Mount NTFS Partitions

11 November 2004

Either recompile your kernel for NTFS read support. (Hard)
Or obtain the matching the proper kernel module. Again make sure
you have the correct version (example similar to: 2.6.9-1.667).
Use the 'uname -rm' command for more information.

Go to http://www.linux-ntfs.org/content/view/130/66/
for the module/rpm.
Go to http://www.linux-ntfs.org/content/view/127/63/ 
for the instructions.

[root@charon root]# uname -rm
2.6.9-1.667 i686

I selected '2.6.9-1.667' 'i686' for my Athlon-XP computer. Both parts MUST match.

[root@charon ~]# rpm -ivh kernel-module-ntfs-2.6.9-1.667-2.1.20-0.fc.1.2.i686.rpm 
Preparing...                ########################################### [100%]
   1:kernel-module-ntfs-2.6.########################################### [100%]

To allow access to NTFS partitions you must (1) check how many partitions
you have, (2) create mount points, (3) mount partitions, and (4) update fstab
to mount at next boot.

Check Partitions

Check how many NTFS partitions you have:

[root@charon ~]# fdisk -lu /dev/hda | grep NTFS
/dev/hda1   *          63    16771859     8385898+   7  HPFS/NTFS
/dev/hda2        16771860    33543719     8385930    7  HPFS/NTFS
/dev/hda3        33752628    67312349    16779861    7  HPFS/NTFS

Usually the first will be C drive, next D, etc.

Create Mount Points

Instead of /media/, you can also use /mnt/, both will work, but make
sure to make the correct edits in all places.

[root@charon ~]# cd /media/
[root@charon media]# mkdir c_drive
[root@charon media]# mkdir d_drive
[root@charon media]# mkdir e_drive

You don't have to use these names, if you prefer to creat folders such as
movies, documents, or winxp, any name will work (without spaces).

Mount Partitions

Run 'man mount' to fully explain what "-r -o umask=0222" does.

[root@charon media]# mount /dev/hda1 /media/c_drive/ -t ntfs -r -o umask=0222
[root@charon media]# mount /dev/hda2 /media/d_drive/ -t ntfs -r -o umask=0222
[root@charon media]# mount /dev/hda3 /media/e_drive/ -t ntfs -r -o umask=0222

Update /etc/fstab

Open '/etc/fstab' in an editor and add these lines to the END of the file:

/dev/hda1   /media/c_drive     ntfs    ro,defaults,umask=0222 0 0
/dev/hda2   /media/d_drive     ntfs    ro,defaults,umask=0222 0 0
/dev/hda3   /media/e_drive     ntfs    ro,defaults,umask=0222 0 0

Top Home


Install Realplayer

12 November 2004

Download RealPlayer 10.0 GOLD:
	http://www.real.com/linux/

Select: "Download RPM Package"

NOTE: If you have RealPlayer 8 or older installed please read Fedora Core 2 - RealPlayer.


NOTE: You can have both HelixPlayer and RealPlayer installed,
however I strongly recommend using RealPlayer over HelixPlayer.

Check for HelixPlayer:

[root@charon fc3]# rpm -q HelixPlayer
HelixPlayer-1.0.1.gold-6

Uninstall HelixPlayer: 

[root@charon fc3]# rpm -e HelixPlayer

Install RealPlayer 10 GOLD:

[root@charon fc3]# rpm -ivh RealPlayer10GOLD.rpm 
Preparing...                ########################################### [100%]
   1:RealPlayer             ########################################### [100%]


(IF NECESSARY) Reset Mozilla/Firefox Plugin Cache. This must be
done for EVERY user.

Mozilla:
# rm ~/.mozilla/pluginreg.dat 
FireFox:
# rm ~/.mozilla/firefox/pluginreg.dat

RealPlayer/HelixPlayer Forums:
https://helixcommunity.org/forum/?group_id=154

Top Home


Setting Login Screen Defaults

06 November 2004

EDIT /etc/sysconfig/desktop

Default Login to KDE: Fedora by default makes everyone login to Gnome.
If you prefer everyone to login to KDE by default.
CHANGE from

DESKTOP="GNOME"

to:

DESKTOP="KDE"

KDE Login Manager: Fedora by default uses the Gnome Login Manager (gdm).
If you prefer to use the KDE Login Manager (kdm).
ADD the line:

DISPLAYMANAGER="KDE"

Changing Preferences: You can change the preferences for login managers.
For Gnome/gdm:	Run 'gdmsetup'
For KDE/kdm:	Run the KDE Control Center > System Administration > Login Manager.

Top Home


Install Kernel Source

29 December 2004

Fedora no longer ships with the kernel-source RPM. You must install it
separately. This is NOT needed unless you wish to re-compile your
kernel.

The default kernel source can be found through any mirror. Look in the
directory "/3/i386/os/SRPMS/". An example from Fedora:
http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/SRPMS/

Select: kernel-2.6.9-1.667.src.rpm   02-Nov-2004 16:05  38.4M

Install:
[root@charon ~]# rpm -ivh kernel-2.6.9-1.667.src.rpm
   1:kernel                 ########################################### [100%]

Set it up:

[root@charon ~]# rpmbuild -bp --target=noarch  /usr/src/redhat/SPECS/kernel-2.6.spec

The source files will be properly located in '/usr/src/redhat/BUILD/kernel-2.6.9'

This is clearly explained in the Fedora Core 3 Release Notes.

For further information to Compile a custom kernel. Please
read my FC3 Kernel Notes.

Top Home


CD/DVD ROM Setup

15 March 2005

Due to a bug in udev released with Fedora Core 3.
Symlinks to CD-ROM's and DVD-ROM's were not being set up properly.
To fix, obtain a newer version of 'udev'. You can update 'udev' through 'yum'.

Check your version of 'udev':

[mirandam@charon ~]$ rpm -q udev
udev-039-10.FC3.5

Fedora Core 3 installs:   039-8.FC3 
  06-Dec-2004 update:   039-10.FC3.5
  16-Dec-2004 update:   039-10.FC3.6
  15-Mar-2005 update:   039-10.FC3.7

http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i386/ 


# rpm -Uvh udev-039-10.FC3.7.i386.rpm

A reboot is required.

Note:

If your drives are not being detected you can force udev to make the
links for each drive. Only necessary if Fedora or udev does NOT
automatically make the links.

First Determine the Device.

# dmesg | grep CD
or
# dmesg | grep DVD
or
# dmesg | grep ROM

Example - The device is /dev/hdc

[root@charon ~]# dmesg | grep ROM
hdc: SONY CD-RW CRX320E, ATAPI CD/DVD-ROM drive

/dev/cdrom should point to CD-ROM device.
/dev/dvd should point to DVD-ROM device.

[root@charon ~]# cd /etc/udev/devices/
[root@charon devices]# ln -s hdc cdrom         (creates the link for CD)
[root@charon devices]# ln -s hdc dvd           (link for DVD)

A reboot is required.

If you ONLY have 1 drive, make 'dvd' and 'cdrom' point to the same device.
If you have 2 drives make sure 'cdrom' points to the drive you want to
play/rip CD's, and 'dvd' points to the drive you want to watch/rip DVD's.

Top Home


Comments, suggestions, questions or any feedback welcome for this page or any of my Resources. Please use the contact link.

Help Out: If you found this guide or any Resource helpful, please consider supporting this site by recommending this page to others or linking to this page. I appreciate all the support I receive. Thank you in advance.

Disclaimer: The author makes no claim to the accuracy of the information provided. This information is provided in the hope that it will be useful, but WITHOUT ANY WARRANTY. There is no implied support from referencing this guide. Any help that is provided is at will. Use this information at your own risk. Always make proper backups and use caution when modifying critical system files.

PLEASE DO NOT mirror, translate or duplicate this page without contacting me.

Copyright © 2003-2013 by Mauriat Miranda (mjmwired.net).