Fedora 11 Leonidas Essentials Guide Part 2: More Config

NOTE:All Commands to be entered in terminal in Super User/root mode. (.:. su – or sudo)

1) Setup sudo
In Fedora the root and normal user accounts are different and one can switch between them to do administrative tasks.
However if you want to give a user other than root administrative priviliges

nano /etc/sudoers

Add to the end

<name> ALL=(ALL) ALL

is the user name you want to give sudo privilige.


if you dont want to be asked the password .(NOT RECOMMENDED)

2)Permanantly Mounting Partitions:

Fedora 11 has ntfs 3g preinstalled but sometimes the partitions don’t get mounted (or you just may want to get rid of manual mounting)

Editing fstab gives read/write support on boot

a) use fdisk : /sbin/fdisk -l

b) note down partions u wnt to access name (eg sda1) type (eg ntfs or FAT32)

c)Make mount points:

mkdir /media/<name>
<name>can be replaced by whatever name you choose.

d)open gedit in sudo mode

e)Open /etc/fstab

f)For ntfs drive ( mount point here is DATA)

   /dev/sda1 /media/DATA ntfs-3g rw,defaults,umask=0000 0 0
or /dev/sda1 /media/DATA ntfs-3g defaults 0 0

if drive is FAT32/FAT16 use vfat instead of ntfs-3g , other lines are NOT REQUIRED

3)Adobe Flash :

For 32 bit:

install the Adobe YUM repository, and install through yum:

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

yum install flash-plugin (if you dont do this no sound for flash applicatons)
For 64 bit:

There are 2 ways.


mkdir -p /usr/lib/mozilla/plugins
yum install nspluginwrapper.{i386,x86_64} pulseaud/io-lib.i386
yum install flash-plugin
mozilla-plugin-config -i -g -v


Download 64 bit Flash Player 10

4) Installing Sun Java

a) Download JDK from http://java.sun.com/javase/downloads
To install rpm
rpm -ivh .rpm
To install bin
chmox +x .bin

/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jre/bin/java 100
/usr/sbin/alternatives --install /usr/bin/jar jar /usr/java/jre/bin/jar 100
/usr/sbin/alternatives --install /usr/bin/javavc javavc /usr/java/jre/bin/javavc 100
/usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so 100

b) To use Switch among javas:
/usr/sbin/alternatives --config java
/usr/sbin/alternatives --config libjavaplugin.so
/usr/sbin/alternatives --config jar

c)For Java Programs(You Probably Already Have This):
yum install libXp compat-libstdc++-*

One thought on “Fedora 11 Leonidas Essentials Guide Part 2: More Config”

  1. looks like you left a few arguments out on the libjavaplugin.so. The full command is:

    alternatives –install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/latest/jre/plugin/i386/ns7/libjavaplugin_oji.so 100


Leave a Reply

Your email address will not be published. Required fields are marked *