Home > Fedora 10 > Fedora 10 Cambridge Essentials Guide Part 2: More Config

Fedora 10 Cambridge 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.

<name> ALL=(ALL) NOPASSWD: ALL

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

2)Permanantly Mounting Partitions:

Fedora 10 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)Macromedia 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.

OLDER WAY:

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

NEWER WAY:

Download 64 bit Flash Player 10 (currently alhpa stage)
http://labs.adobe.com/downloads/flashplayer10.html

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
./.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++-*

Advertisements
Categories: Fedora 10 Tags:
  1. December 3, 2008 at 3:53 pm

    cool

  2. madorf
    January 24, 2009 at 6:09 pm

    to install Macromedia Flash and Sun Java you may use this repo http://mirror.yandex.ru/fedora/tigro/10/i386/ or http://mirror.yandex.ru/fedora/tigro/10/x86_64/ for x86_64 architecture

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: