Installing Fedora Core 9

Submitted by jpdugan on Sun, 10/26/2008 - 23:22

Document editing under way, this is not the final version!

These are my notes for getting Rune, Aysah, and Alain up to date with the current Fedora Core 9 release. The top section will cover the general configuration of the systems, while the follow on section will cover each machine in turn.

Each system was installed using the standard installation procedure detailed in the Fedora Project installation documentation found here on this page.

Following the completion of the installation, I ran a system wide update as root with

yum clean all
yum update

When this was done, I rebooted the system to make sure all changes had stuck and all programs, including the kernel, were using the latest versions. I next added several repositories to the yum configuration and then locked the system. The repositories I used are:

RPMFusion

I used the following rpms to install the RPMFusion repositories:
rpmfusion-free-release-stable.noarch.rpm
rpmfusion-nonfree-release-stable.noarch.rpm

Adobe

I used the following rpm to install the Adobe repository:
adobe-release-i386-1.0-1.noarch.rpm
Once the repository was added I edited the /etc/yum.repos.d/adobe-linux-i386.repo file to disable the repo. You can change the repository from enabled for use to disabled by editing the line in the file the contains "enabled=1" to "enabled=0". If you have disabled a repository, you can still use it by explicitly stating in the yum command string which repository to use. See the yum man pages for more information about this.

Google

To my knowledge, Google does not have a rpm file to enable their repository, so you need to create the file by following method.

Create a file called google.repo with the following contents:


[google]
name=Google - i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Copy / save this file to /etc/yum.repos.d/

I then locked the system with the following yum commands:


su -c 'yum -y install yum-protectbase'
su -c 'perl -i -pe "s/(\[.*\])/\1\nprotect=yes/" /etc/yum.repos.d/{fedora*,rpmfusion*}'

Adding users to Sudo:

As root,


echo 'your_loginname_here ALL=(ALL) ALL’ >> /etc/sudoers

Installing Sun JAVA

su -c 'yum install compat-libstdc++-33 compat-libstdc++-296'
su -c '/sbin/ldconfig'
get current JAVA package from here
switch to root
cd to your preferred directory (most use /opt, I use /usr/local)
sh /home/your_username/path/to/saved/jre-6u3-linux-i586.bin
copy plugin to mozilla / firefox
ln -s /usr/local/jre1.6.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
for x86_64 users
ln -s /usr/local/jre1.6.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib64/mozilla/plugins/libjavaplugin_oji.so

create /etc/profile.d/java.sh with:

export JAVA_HOME=/opt/jre1.6.0_04
export PATH=$JAVA_HOME/bin:$PATH

source /etc/profile.d/java.sh

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

/usr/sbin/alternatives --config java

switch default from gcj to Sun JAVA


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_04/bin/java
Enter to keep the current selection[+], or type selection number:

type " 2 "

type "visudo" and enter. Now vi opens /etc/sudoers. Search for the line:

# %wheel ALL=(ALL) ALL

delete the # at the start of the line, this uncomments this line and the wheel group is now in use.

reload shell for use.