Updated 25-Dec-2007
You are at VZugcic's: "Fedora Core 4 Linux Installation Notes rev.25-Dec-2007"

Fedora Core 4
Linux Installation Notes

A good friend of mine, my buddy neighbour, finally bought a brand new PC, and asked me to save his hamradio log from an old one. Later on, when I restored his log into a new computer, he asked me do I want the old one as a present. It was PC with Celeron 466 MHz processor and 128 MB of RAM... and with no usable OS (reinstallation was needed).

I said: "Let me think about it"!

It took me a very long time of 3 seconds :) to say yes, I would love it, thank you. I'll see maybe I can make this old PC live again. So, I had to blow out at least 7 years old dust from inside, clean housing from outside, change processor fan, put some more RAM. After several days, the old can had 224 MB of RAM, 40 GB hard drive, DVD ROM drive, fast ethernet card, new 3.5" floppy drive, new processor fan... and it was almost looked like brand new PC :).

As always on Christmas time (I love it) :), I took a time to install an operating system.  Tried several, but finally decision was made for 2 years old linux distribution Fedora Core 4. Here is my installation notes... maybe it would be helpful to someone!

This installation notes is based on:
Stanton Finley's Fedora Core 4 Installation Notes ... thank you Stan!

And with my 5 years linux expiriences with the following linux distributions:

Mandrake Move 9.1 (live linux)
Knoppix 3.4 and later (live linux)
Fedora Core 2
Fedora Core 3
Fedora Core 4
White Box Enterprise Linux 4
Fedora Core 5
Fedora Core 6
Ubuntu 6.06 LTS
Fedora 7
Ubuntu 7.04
Fedora 8 (live)

So, let's see what I did as post installation of Fedora Core 4


su -
gedit /boot/grub/grub.conf

# My grub (after yum update... see later on) looks like this

; default=0

; timeout=3
; splashimage=(hd0,2)/grub/splash.xpm.gz
; hiddenmenu
; title Fedora Core 4 (2.6.17-1.2142_FC4) powered by Vladimir Zugcic
;     root (hd0,2)
;     kernel /vmlinuz-2.6.17-1.2142_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
;     initrd /initrd-2.6.17-1.2142_FC4.img
; # title Fedora Core 4 (2.6.11-1.1369_FC4) powered by Vladimir Zugcic
; #    root (hd0,2)
; #    kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
; #    initrd /initrd-2.6.11-1.1369_FC4.img
; title Other
;     rootnoverify (hd0,0)
;     chainloader +1

# Comment "hiddenmenu" line if you want to see Grub Menu on computer startup.
# Change "default" as needed. It starts with "0".
# In my case if "default=1", Other would be loaded by default instead of Fedora Core 4.
# You can edit "Title" line as will.
# Change "timeout" as needed.
# Delete "rhgb quiet" from kernel line if you want to see details during linux boot up.

True Type Fonts

# Open Firefox, go to
# http://www.mjmwired.net/resources/mjm-fedora-fc4.shtml#ttf
# and download (save to disk)
# http://www.mjmwired.net/resources/files/msttcorefonts-1.3-4.noarch.rpm
# copy file to your Home folder

rpm -ivh *.rpm
rm *.rpm

# logout and log back in

Yum Repositories

wget http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/fc4/i386/RPMS.dries/rpmforge-release-0.2-2.2.fc4.rf.i386.rpm


rpm -Uvh *.rpm
rm *.rpm

su -
gedit /etc/yum.repos.d/freshrpms.repo

# enter (copy/paste) the following into gedit



# save and close gedit

gedit /etc/yum.repos.d/dries.repo

# enter (copy/paste) the following into gedit

name=Extra Fedora rpms dries - 4 - i386

# save and close gedit

gedit /etc/yum.repos.d/newrpms.repo

# enter (copy/paste) the following into gedit


name=Fedora Core 4 i386 NewRPMS.sunsite.dk

# save and close gedit

rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
rpm --import http://dries.ulyssis.org/rpm/RPM-GPG-KEY.dries.txt
rpm --import http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt
rpm --import /usr/share/doc/fedora-release-4/*GPG-KE*

yum -y update


Yum Extender

su -
yum -y install yumex

Fedora Extras

su -
yum -y install grip gtk-gnutella numlockx xscreensaver-extras xscreensaver-gl-extras xscreensaver-base

Samba Server

# Make sure you have Samba installed in the installation process.

# The following should share public folder with read/write permission (Authentification=No).

su -
mkdir /home/public
chmod 777 /home/public/
cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gedit /etc/samba/smb.conf

# Set your Windows Workgroup name in
# section
workgroup = linux
wins support = yes
# Find the following line
;  security = user
# and replace with
security = share
# Find the following section
# enter or change the following lines
comment = Public Folder
path = /home/public
public = yes
read only = no
create mask = 0777
directory mask = 0777
# comment the following lines
; force user = nobody
; force group = nogroup
# save and exit gedit


# Use chkconfig or serviceconf to enable samba (smb) in both runlevels 3 and 5
# To allow Samba access to work through your firewall you must set 'Samba'as a
# 'Trusted service'.
# Modify SELinux Policy > Samba
# Disable SELinux protection for smbd daemon

setsebool -P smbd_disable_trans 1

# Run Samba
/etc/init.d/smb start

# Restart Samba for every change to SElinux or smb.conf
/etc/init.d/smb restart

NTFS Support Read Only and FAT32 Read/Write

uname -rm

# this should output your kernel version and processor type
# Go to
# http://www.linux-ntfs.org/content/view/129/65/
# and download (save to disk) the appropriate NTFS RPM for your kernel version and processor type
# copy the file in to your Home folder

rpm -ivh *.rpm
rm *.rpm

su -
mkdir /mnt/WinC
# this is my ntfs partition c:

mkdir /mnt/WinE
# this is my fat32 partition e:

/sbin/fdisk -l
# this should output your partition identifier

gedit /etc/fstab

# add the following lines into gedit

/dev/hda1    /mnt/WinC    ntfs    ro,defaults,umask=0222    0 0
/dev hda2    /mnt/WinE    vfat    rw,defaults,umask=0000    0 0

# If your partition identifiers are not /dev/hda1 and /dev/hda2 substitute the correct characters.
# It might be /dev/sda1 and /dev/sda2 if you have a SATA drive.

# Save and exit gedit


# Your Windows partitions should now be available in the file browser under
# /mnt/WinC (ntfs read only) and
# /mnt/WinE (vfat read/write)


su -
yum -y install flash-plugin


# Go to

# http://www.real.com/linux
# and download RealPlayer10GOLD.rpm
# copy it to your Home folder

yum -y install compat-libstdc++-33
rpm -ivh *.rpm
rm *.rpm

# HelixPlayer interferes with the browser plug-in function of RealPlayer
# so we will remove it. Type:

yum remove HelixPlayer

# Restart Firefox to enable the RealPlayer plugin, go to
# http://www.npr.org/
# click on "NPR Program Stream"
# select "Listen to NPR audio with the Real player"
# and complete the RealPlayer Setup Assistant to test your RealPlayer
# plugin installation. (If the RealPlayer option does not initially appear
# in the dialog box click the radio button "open with" and click the checkbox
# "Do this automatically for files like this form now on"
# then click the "browse" button in the dialog box and in the file system
# browse to
# /usr/bin/realplay


# To enable MP3 support for Music Player do the following

su -
yum -y install gstreamer-plugins gstreamer-plugins-extra-audio gstreamer-tools

Xine (DVD Player)

su -
yum -y install xine xine-lib xine-skins


# Go to

# http://www4.mplayerhq.hu/MPlayer/releases/codecs/
# and download
# all-20071007.tar.bz2
# copy it to your Home folder

mkdir temp
mv *.bz2 temp
cd temp
tar xvfj *.tar.bz2
cd all-20071007
mkdir /usr/local/lib/codecs/
cp *.* /usr/local/lib/codecs/
cd /usr/local/lib/codecs/
chmod 755 /usr/local/lib/codecs/*
mkdir /usr/lib/win32
cp /usr/local/lib/codecs/* /usr/lib/win32
rm -rf /home/your_user_name/temp

# If you wish to use Xine to play your DVD movies go to
# System" > "Preferences" > "Removable Drives and Media"
# click on the "Multimedia" tab
# tick the check box next to "Play video DVD disks when inserted"
# enter in the "Command box: xine --auto-play --auto-scan dvd


# To obtain Totem-xine instead of Totem

# we will do a one-time only invocation of the
# livna.org stable repository to download and install the RPM.
# Note that you need to have Xine and Codecs already configured!

su -
gedit /etc/yum.repos.d/livna.repo

name=Livna.org Fedora Compatible Packages (stable)

# Note that we have the "enabled" bit set to "0" (off) in this
# file so that the livna-stable repository will not conflict
# with our RPMForge repositories for automatic updates.

rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
yum remove totem
yum --enablerepo=livna-stable install totem-xine


su -
yum -y install mplayer mplayer-skins mplayer-fonts
# close terminal
# open terminal as user
# MPlayer will open
# Close it

gedit ~/.mplayer/config

# Write your default config options here!

# Save and exit gedit

MPlayer plug-in (web browser plug-in)

# Go to
# http://fedoranews.org/tchung/mplayerplug-in/3.21/
# and download
# mplayerplug-in-3.21-1.fc4.i386.rpm
# copy it to your Home folder

rpm -Uvh *.rpm
rm *.rpm

# restart Firefox

su -
gedit /etc/yum.conf

# add the following line

# Save and exit gedit
# Test your MPlayer plugin installation at
# http://www.apple.com/trailers/

XMMS (music and MP3 player)

su -
yum -y install xmms xmms-mp3 xmms-skins

Beep (media player)

su -
yum -y install bmp bmp-mp3

VLC (Videolan stand-alone media player)

su -
yum -y install videolan-client

Amarok (KDE multimedia player)

su -
yum -y install amarok

Bittorrent and bittorrent-gui

su -
yum -y install bittorrent
yum -y install bittorrent-gui

# make rule for ports needed
/sbin/iptables -I INPUT -p tcp --destination-port 6881:6999 -j ACCEPT

# save rule
/sbin/iptables-save > /etc/sysconfig/iptables

# check saved rule
/sbin/iptables -L

gedit /etc/mailcap

# add these lines
application/x-bittorrent; /usr/bin/bittorrent %s; test=test -n "$DISPLAY"

# Save and exit gedit


# go to
# http://java.sun.com/javase/downloads/?intcmp=1281
# and download
# Java Runtime Environment (JRE) 6 Update 3 (jre-6u3-linux-i586.bin)
# copy it to your Home folder

mv *.bin /opt
cd /opt
chmod +x *.linux-i586.bin
rm *.bin

su -
ln -s /opt/jre1.6.0_03/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.0.8/plugins/libjavaplugin_oji.so

su -
gedit /etc/profile.d/java.sh

# type these lines

export J2RE_HOME=/opt/jre1.6.0_03
export PATH=$J2RE_HOME/bin:$PATH

# Save and exit gedit

source /etc/profile.d/java.sh

which java

# you should see
; /opt/jre1.6.0_03/bin/java

/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.6.0_03/bin/java 2
/usr/sbin/alternatives --config java

# you shold see
; There are 2 programs which provide 'java'.
;   Selection    Command
; -----------------------------------------------
; *+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
;    2           /opt/jre1.6.0_03/bin/java
; Enter to keep the current selection[+], or type selection number:

# type

/usr/sbin/alternatives --display java

# you should see
; java - status is manual.
;  link currently points to /opt/jre1.6.0_03/bin/java
; /usr/lib/jvm/jre-1.4.2-gcj/bin/java - priority 1420
;  slave rmiregistry: /usr/lib/jvm/jre-1.4.2-gcj/bin/rmiregistry
;  slave jre_exports: /usr/lib/jvm-exports/jre-1.4.2-gcj
;  slave jre: /usr/lib/jvm/jre-1.4.2-gcj
; /opt/jre1.6.0_03/bin/java - priority 2
;  slave rmiregistry: (null)
;  slave jre_exports: (null)
;  slave jre: (null)
; Current `best' version is /usr/lib/jvm/jre-1.4.2-gcj/bin/java.

# you sould now be able to install and run java applications
# Check your Java installation on the following link
# http://hamradio.hr/9a3cy/search.html (my online hamradio log should open)


# Go to

# http://www.limewire.com/download/index.php
# download
# LimeWireOther.zip
# copy it to your Home folder


unzip -u LimeWireOther.zip -d /opt/
rm LimeWireOther.zip
chown -R root:root /opt/LimeWire/

gedit /usr/bin/limewire.sh

# enter these lines

cd /opt/LimeWire/

# Save and exit gedit

chmod +x /usr/bin/limewire.sh

gedit /usr/share/applications/LimeWire.desktop

# copy the following into gedit

[Desktop Entry]

# Save and exit gedit

# End Of File

Design VZugcic 2007
Fedora Linux powered by VZugcic Made with Nvu