Archive for August, 2009

How to upgrade Fedora using yum - installing applications (part b)

Posted in How To's by Shafkat Shahzad, M.Sc on August 31st, 2009

Welcome to the tutorial guide. The guide will provide you with instructions and guidance on how to upgrade Fedora using yum. The guide will cover information on how to install applications.

Windows Codecs (ALL video players)
If you are planning to install Windows Codecs, then you need to install wget first by running following command:
su -c ‘yum -y install wget’

If you run the following command as provided below. This command will enable the codecs required to play most media released.
cd /tmp

wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2
tar -jxvf all-20071007.tar.bz2
su -c ‘mkdir -p /usr/local/lib/codecs’
su -c ‘cp all-20071007/* /usr/local/lib/codecs’
rm -rf /tmp/all-20071007*
This may help as well but it is not required.
su -c ‘ln -sf /usr/local/lib/codecs /usr/lib/codecs && ln -sf \
/usr/local/lib/codecs /usr/local/lib/win32 && ln -sf /usr/local/lib/codecs ‘

Gnome
This command will enable MP3 playback using gstreamer in gnome.
su -c ‘yum -y install gstreamer-plugins-ugly libmad libid3tag id3v2′

KDE
This command will enable MP3 playback in KDE using KDE Multimedia
su -c ‘yum -y install kdemultimedia-extras-nonfree id3v2′
OR
su -c ‘yum install xine-lib-extras-nonfree id3v2′

Codeina
This is a new feature in Fedora 9. It should be installed by default. If is not installed by
default then please run the following commands. When you try to run an mp3 file it will offer you the opportunity to download a codec.
su -c ‘yum install codeina’

Picasa
Picasa is software that helps the user instantly find, edit and share all the pictures on the computer. Every time Picasa is opened, it automatically locates all the pictures and sorts them into visual albums organised by date with folder names easy to recognise. A user can easily drag and drop to arrange the albums and make labels to create new groups. Picasa makes sure the pictures are always organised. Please note that you need to have the Google Repo installed.

Please run the following command:
su -c ‘yum –enablerepo=google install picasa’

Google Desktop
Google Desktop is a desktop search application that provides a user with an easy access to information on the computer and from the web. You can search your own email, files, music, photos, etc. Please note that you nee to have the Google Repo installed. This can be done by running following command:
su -c ‘yum –enablerepo=google install google-desktop-linux’

Installing ID3 Tag Editor (EasyTAG)
A user can easily install the ID3 editor by running following command:

yum –enablerepo=freshrpms install easytag

After that, a user can go to:
- Applications
- Sound & Video
- EasyTAG

Installing Video Editor (Kino)
The Video editor can be installed by running following command:
su -c ‘yum -y install kino’

After that, a user can go to:
- Applications
- Sound & Video
- Kino

Installing K9copy
If you would like to install K9 copy, then please run following command:
su -c ‘yum install k9copy’

How to install DVD Ripper (dvd::rip)
If you would like to install a DVD Ripper, theb please run following command:

su -c ‘yum –enablerepo=freshrpms install dvdrip’

If you have followed advise and guidance as provided in this tutorial, then you will have successfully installed the applications as mentioned in this guide.

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

How to upgrade Fedora using yum - installing applications (part a)

Posted in How To's by Shafkat Shahzad, M.Sc on August 31st, 2009

Welcome to the tutorial guide. The guide will provide you with instructions and guidance on how to upgrade Fedora using yum. The guide will cover information on how to install applications.

Compiz-fusion (3D effects)
If you would like to install compiz-fusion, then please type following code:
su -c ‘yum -y install compiz-fusion compiz-fusion-extras libcompizconfig ccsm compiz-manager’

If you have gnome then you can install the additional software which is helpful by typing following code:
su -c ‘yum -y install compiz-fusion-gnome compiz-fusion-extras-gnome’

If you would like to start it up, then run the following
compiz-manager. In order to start it up on boot please the go through following menu:

- System
- Preferences
- Personal
- Sessions
- Startup Programs

Multimedia Applications
Now, let’s go through installing multimedia applications.
Installing a Media Player (Mplayer/Kplayer)
In order to install a media player, you need to ensure that Livna Repository is installed.

Please type in following code for gnome
su -c ‘yum -y install mplayer-gui’

Please type in following code for KDE
su -c ‘yum -y install kplayer’

Installing a Media Player (Xine)
If you would like to install another Movie Player
, then please enable the Livna Repository and type in the following command:
su -c ‘yum -y install xine’

If you would like to enable extra codecs then please run following command:
su -c ‘yum -y install xine-lib-extras-nonfree’

DVD Playback
In order to enable dvd playback in Fedora, please type following command:
su -c ‘yum -y install libdvdread’
If you have followed advise and guidance as provided in this tutorial, then you will have successfully installed the applications as mentioned in this guide

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

How to upgrade Fedora using yum - other features

Posted in How To's by Shafkat Shahzad, M.Sc on August 31st, 2009

Welcome to the tutorial guide. The guide will provide you with instructions and guidance on how to upgrade Fedora using yum. The guide will cover other features such as: How to list partition tables, how to list filesystem disk space usage, how to list mounted devices, etc.

- How to list partition tables
Please enter following command to list partition tables
su -c ‘/sbin/fdisk -l’

- How to list filesystem disk space usage
Please enter following command to list filesystem disk space usage
su -c ‘df -T -h’

- How to list mounted devices
Please enter following command to list mounted devices
mount

- How to list PCI devices
Please enter following command to list PCI devices
/sbin/lspci

- How to list USB devices
Please enter following command to list USB devices and note that the command needs to be run as root.
lsusb

- How to speed up CD/DVD-ROM
Please enter following command for this. The location for the CD/DVD-ROM is /dev/cdrom

su -c ‘/sbin/hdparm -d1 /dev/cdrom’
su -c ‘gedit /etc/hdparm.conf’
Insert the following lines in the new file
/dev/cdrom {
dma = on
}
Save the edited file

Mounting/Unmounting CD/DVD-ROM manually, and show all hidden and associated files and folders
Let’s assume that the location for CD/DVD-ROM is /media/cdrom0/

- If you would like to mount CD/DVD-ROM, then please enter following code
su -c ‘mount /media/cdrom0/ -o unhide’
- Unmount CD/DVD-ROM, then please enter following code
su -c ‘umount /media/cdrom0/’

- How to forcefully unmount CD/DVD-ROM manually
Let’s assume that the location for CD/DVD-ROM is /media/cdrom0/

su -c ‘umount /media/cdrom0/ -l’

- How to remount /etc/fstab without rebooting
Please enter following command if you would like to remount /etc/fstb without rebooting
su -c ‘mount -a’

Firefox speed up
If you would like to speed up Firefox Web Browser, then you have to go through some settings. Please go to:
- Applications
- Internet
- Firefox Web Browser

If you would like to disable beep sound for link find function in Mozilla Firefoxm then please go through following settings:
- Applications
- Internet
- Firefox Web Browser

For Mozilla Firefox, please go to:
- Address Bar
- about:config
- Filter: accessibility.typeaheadfind.enablesound
- false
- Restart Mozilla Firefox

-How a user can set the backspace button to go to a previous page.
This can be done by going to:
- Applications
- Internet
- Firefox Web Browser
For Mozilla Firefox, please go to:
- Address Bar
- about:config
Filter:
- browser.backspace_action
- 0
- Restart Mozilla Firefox

- How to close the download dialog quicker
In order to close the download dialog quicker, please go to
- Applications
- Internet
- Firefox Web Browser
Now please put in your address bar
Address Bar
- about:config
Now, filter the configs options by:
Filter: - alerts.totalOpenTime
- 500

- How to reduce the quantity of popups
In order to reduce the quantity of popups ,first of all, - please load Mozilla Firefox
- now go to Applications
- Internet
- Firefox Web Browser
Please type in your address bar
Address Bar -> about:config

Now, filter the config options and change it to a reasonable number
Filter: -> dom.popup_maximum -> 5

- How a user can hide the Go button
If a user is planning to hide the Go button, then first of all, he needs to
- load Mozilla Firefox
- and the go to Applications
- Internet
- Firefox Web Browser
- then put in his/her address bar
- about:config
- then filter the config options and double click so it changes the result
browser.urlbar.hideGoButton
- Yes

- How a user can do improvements using tmpfs
If a user wants to do improvements by using tmpfs, then first of all, he/she needs to
- load Mozilla Firefox
- and then go to Applications
- Internet
- Firefox Web Browser
- and then put in his/her address bar
- about:config
- and then right click anywhere in the browser window and select
- New
- String
- and then type in: browser.cache.disk.parent_directory
- and then press OK,
- and type in the new window:
/tmp
- press OK

If you followed all the instructions and guidance as provided in this guide then you will have successfully installed different features as mentioned in the tutorial guide.

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

How to upgrade Fedora using yum - activating side mouse buttons in FireFox

Posted in How To's by Shafkat Shahzad, M.Sc on August 31st, 2009

Welcome to the tutorial guide. The guide will provide the user with guidance and instructions on how to activate side-mouse buttons in FireFox. If you would like to activate side-mouse-buttons in FireFox, then simply add two lines to xorg.conf. This will activate side-mouse-buttons in FireFox.

Please note that if you do not have an /etc/X11/xorg.conf file then you need to create it by typing following command:
su -c ‘yum install -y system-config-display’
su -c ’system-config-display –reconfig’

You can backup the Xorg configuration file by typing following command:
su -c ‘cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak’

If you would like to modify the Xorg configuration file, the please type following command:
su -c ‘gedit /etc/X11/xorg.conf’

If you have a Input Device section for your mouse, the please ensure that it looks like following below and if it doesn’t then please change it to this:

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”

Option “Protocol” “ExplorerPS/2″

Option “Emulate3Buttons” “true”
Option “Buttons” “7″
Option “ButtonMapping” “1 2 3 6 7″
EndSection

If you do not have a Input Device section for the mouse, the please add the above section (less the “…” parts) to the end of the file, and change the ServerLayout section to reference it:
Section “ServerLayout”
… already existing entries …
InputDevice “Configured Mouse” “Pointer”
EndSection

Now, please reboot the computer or restart the X server (Ctrl-Alt-BackSpace) to see if your forward/back buttons work in FireFox. Remember that they will not work in Nautilus until imwheel dameon has been installed.

If you have followed the instructions and guidance as provided in this tutorial guide, then you will have successfully activated the side-mouse buttons in FireFox

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

How to upgrade Fedora using yum - Video and Wireless drivers

Posted in How To's by Shafkat Shahzad, M.Sc on August 28th, 2009

Welcome to the tutorial guide. The guide will provide you with instructions and guidance on how to upgrade Fedora using yum. The guide will cover video driver and wireless driver issues.

Video Drivers
Let’s have a look at video drivers .
For NVidia users, please install the Livna repositories and yum for kmod-nvidia and reboot. For ATI users, please note that if the video card is older than Radeon 9600, it should workout-of-the-box, if not, the you will need to wait until ATI releases a new driver for kernel 2.6.23 and yum for kmod-fglrx from Livna after it has been released. For Intel user, good news is that it works out of the box.

Now, let’s have a look at more detail for NVidia, ATI and Intel.
- Nvidia
Please get the Linux drivers from Nvidia and note that the x86_64bit version works well on the AMD Athlon X2 notebook.

- Nvidia (96xx)
Please note that for Nvidia (96xx), you need to ensure that the Livna Repository is enabled. This is if your cards are older.
su -c ‘yum -y install kmod-nvidia-96xx’

- ATI
Just like Nvidia (96xx), where Livna Repository is enabled, you need to have the Livna Repository enabled for ATI
su -c ‘yum -y install kmod-fglrx xorg-x11-drv-fglrx-libs-32bit’

Wireless Drivers
Now, you need to know how to install wireless drivers.
- Intel IPW3945
This is a guide to installing and setting up the Intel 3945 A/B/G wireless network adapter using FreshRPMS.
We will go through two methods of installation.
The first method requires you to install the FreshRPMS repository by using following command as below:
su -c ‘yum –enablerepo=freshrpms install dkms-ipw3945′

Remember, not to forget to configure the wireless using sytem-config-network. You can configure this through system-config-network. You need to delete wlan0 and install eth1 and the go on:
- System
- Administration
- Network

Regarding second method you need to do following:
- Blacklist the offending modules by typing following:
nano /etc/modprobe.d/blacklist
- now you can add these exact lines at the bottom then save and exit:

#iwl3945
blacklist iwl3945
blacklist mac80211

- Reboot the system:
This can be done by typing in: reboot

- Now, please create a temp directory on the desktop and name it as ipw3945
- After that, now download the following files into it:
mkdir /home/$user/Desktop/ipw3945 (replace $user with your username)

- Install kernel development packages and gcc compiler:
You can install kernel development package and gcc compiler by: yum install kernel-devel gcc

- Unpack the gzipped tarballs into the directory on your desktop called ‘ipw3945′ that were created earlier. This can be done by running following command:

tar xvfz ipw3945-1.2.1.tgz
tar xvfz ipw3945-ucode-1.14.2.tgz
tar xvfz ipw3945d-1.7.22.tgz

- Copy ucode firmware and regulatory daemon to their respective locations. This can be done by:
cp ipw3945-ucode-1.14.2/ipw3945.ucode /lib/firmware && cp ipw3945d-1.7.22/x86/ipw3945d /sbin

- Compile and copy the resuling kernel module to the correct location
This can be done by:
cd ipw3945-1.2.1 && make
su –login
cp /home/$user/Desktop/ipw3945/ipw3945-1.2.1/ipw3945.ko lib/modules/`uname -r`/kernel/drivers/net/wireless/
chmod 744 /lib/modules/`uname -r`/kernel/drivers/net/wireless/ipw3945.ko
depmod -ae

- Install startup init script:
The install startup init script is provided below:
cp /home/$user/Desktop/ipw3945/ipw3945 /etc/init.d
chmod +x /etc/init.d/ipw3945
chkconfig –add ipw3945 && chkconfig ipw3945 on

- Reboot the system:
This is done by running following command:
reboot

- Configure the device:
You can configure the device by:
system-config-network

- new –> wireless connection –> Intel Corporation PRO/Wireless 3945ABG Network Connection –> forward

- Restart the network:
You can restart the network by running following command: service network restart

Please note that before compiling the kernel module uncomment the following line:
CONFIG_IPW3945_MONITOR=y CONFIG_IEEE80211_RADIOTAP=y CONFIG_IPW3945_PROMISCUOUS=y

- Madwifi
Madwifi is another wireless driver. Please note that you need to install the Livna repository. Please run the following command:
su -c ‘yum -y install madwifi kmod-madwifi’

Now, please add the following lines to the modprobe.conf file
su -c ‘gedit /etc/modprobe.conf’
## Start Atheros Stuff
alias wifi0 ath_pci
alias ath0 ath_pci
options ath_pci autocreate=sta
## End Atheros Stuff

In order to configure the wireless, please go to:
- System
- Administration
- Network

- IPW2×00
IPW2×00 is another wireless driver that can be installed, but before we install it we need to establish what wireless card we have. This can be found by running following command:
su -c ‘/sbin/lspci | grep Wireless’

The output should be as below:
02:01.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
02:01.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)

Now, you need to install the relevant firmware by running followig command:
su -c ‘yum -y install ipw2xxx-firmware’

After installing the firmware, you can now reboot the machine and then configure the network by going on:
- System
- Administration
- Network

- Broadcom b43 (official driver)
First of all, please enable the RPM Fusion repo and then install the driver by running following command:
su -c ‘yum update’
su -c ‘yum install broadcom-wl’
After installing the driver, now please go to:

- System
-Administration
- Network
Now please select the wireless device and check “Controlled by Network Manager” and “Activate device when computer starts”.

- Broadcom b43
Please run the following command:
su -c ‘yum -y install b43-fwcutter’

Now download the appropriate package based on this file
su -c ‘gedit /usr/share/doc/b43-fwcutter-008/README’

You can now run the fwcutter program by following command:
su -c ‘b43-fwcutter -w /lib/firmware ~/Downloads/bcmwl5.sys’

Now please add it to the modules to test.
su -c ‘/sbin/modprobe b43′

You can configure the network by going to:
- System
- Administration
- Network

If you followed all the instructions and guidance as provided in this tutorial, then video drivers and wireless drivers will be successfully installed.

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

How to upgrade Fedora using yum - software aspects

Posted in How To's by Shafkat Shahzad, M.Sc on August 27th, 2009

Welcome to the tutorial guide. The guide will provide you with instructions and guidance on how to upgrade Fedora using yum. The guide will cover software packages.

Before we go ahead with upgrading Fedora, it is a good idea to fully understand what is yum. Yum is a software package manager and is a tool used for installing, updating, and removing packages and their dependencies on RPM-based systems. Yum makes it easier to maintain groups of machines without having to manually update each one using rpm.

Understanding of problems associated with Fedora
It is good to know what problems can be encountered when upgrading Fedora. These problems are as mentioned below:

- system-config-printer won’t start
Please note that if there is a print server on the local network the printer administration tool system-config-printer may fail to start. This problem is usually fixed
with a soon-to-be-released update.

- Installer crash
The installer will crash if you attempt to customise your package especially if you are planning to use Russian translation for the installer. This problem can be solved if you install a different language other than Russian and then you can change the system language to Russian after installation.

- USB Drives Cause Install to Fail
This problem can be solved by power down the device and then removing it and restarting the installation. After the system is updated, the device will be ok.

Important points to note when upgrading Fedora
Please note following points when upgrading Fedora. These points are as mentioned below:

- please ensure that you have cleared the yum cache and then you update everything and reboot by using following command:
su -c ‘yum clear all’
su -c ‘yum update’
su -c ‘/bin/rpm -Uhv for i386 For x86_64
su -c ‘/bin/rpm -Uvh for x86_64

- You should also try to disable all other repositories during the upgrade

- You should also try to delete some files in order to complete the transition.
su -c ‘yum upgrade’

Switching to Root
If you are planning to be an administrator (i.e.,root user) then you require following command for it. The command is as below:

su –login
or
su -

How To use Yum
Before we find out about how to use Yum, it is a good idea to know what is Yum. Yum is a powerful package manager and it can resolve dependencies and make installing applications a breeze. yum can also searche, remove, and list packages.

Please note following options:
-h, –help show this help message and exit
-t, –tolerant be tolerant of errors
-C –run entirely from cache, don’t update cache
-c [config file] config file location
-R [minutes] maximum command wait time
-d [debug level] debugging output level
-e [error level] error output level
-y answer yes for all questions
–version show Yum version and exit
–installroot=[path] set install root
–enablerepo=[repo] enable one or more repositories (wildcards allowed)
–disablerepo=[repo] disable one or more repositories (wildcards allowed)
-x [package], –exclude=[package]
exclude package(s) by name or glob
–obsoletes enable obsoletes processing during updates
–noplugins disable Yum plugins
–nogpgcheck disable gpg signature checking
–disableplugin=[plugin] disable plugins by name

What strengths or benefits are associated with Yum?
Yum has got following benefits or strenghts.
- Yum can search all the enabled repos and can inform you where you can obtain the package from
yum search application_name
- Yum can list all available packages from the enabled repos and tell you where you can obtain the package from
- Yum makes installation process very easy
- It is easy to list the installed rpms from the repos you have enabled
- Yum can remove an application
- Yum remove application_name
- Yum can update the system without any user interaction
- Yum can check updates for you if you are not sure if you have any updates or not
- If you want the processing speed of the packages then all you need is to install the plugin i.e., yum-presto. This plugin can be accessed by running following command:
su -c ‘yum -y install yum-presto’

However, in order to use this, you require presto repositories enabled. In order to enable the repositories, you need to edit the content of a file by running following command:
su -c ‘gedit /etc/yum.repos.d/fedora-updates-newkey.repo’

How to install System-Config-User
If you are planning to install System-conf-user then just type following command:
su -c ‘yum -y install system-config-users’

Add, edit or delete system users
If you want to add, edit or delete system users then simply follow steps as mentioned below:
- Desktop
- System Settings
- Users and Groups
- Users Tab
- Add User…/Properties/Delete

How to add/edit/delete system groups
If you would like to add, edit or delete a system group then simply go to:
- Desktop
- System Settings
- Users and Groups
- Groups Tab
- Add Group…/Properties/Delete

Automotic login into GNOME
If you would like to login automotically into GNOME, then go to:
- Desktop
- System Settings
- Login Screen
- Login Screen Setup
- General Tab -> Automatic Login -
- Login a user automatically on first bootup (Checked)
- Automatic login username: Select “system_username”

Changing files and folders permissions
If you would like to change permissions for the files or folders then simply follow steps as provided below:
- Right click on files/folders
- Properties
- Permissions Tab
- Read/Write/Execute (Checked the permissions for Owner/Group/Others)

Ownership for the files or folders
If you would like to change the ownership for the files or folders then simply type following command:
chown system_username/location_of_files_or_folders

Ownership for the files or folders group
If you would like to alter the ownership for the files/folders group then please type following command:
chgrpsystem_groupname/location_of_files_or_folders

Last update with rpm
If you would like to list your last update with rpm, the simply type in following command:
rpm -qa –last | tac

How to install repositories
There are different repositories. If you would like to install them then simply type in following commands.

- Livna
If you would like to install Livna repository, then simply type in following command:
su -c ‘rpm -i http://rpm.livna.org/livna-release-9.rpm’

How to protect your Repositories
If you would like to protect your repository, then simply type in following command:
su -c ‘yum -y install yum-protectbase’
su -c ‘perl -i -pe “s/(\[.*\])/\1\nprotect=yes/” /etc/yum.repos.d/{fedora*,livna*}’
The main reason for protecting repositories is so that you do not break the Fedora installation.

FreshRPMS
When installing the freshrpms package it is important to change the enabled section to be manually enabled.
su -c ‘rpm -i http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/7/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm’
su -c ‘gedit /etc/yum.repos.d/freshrpms.repo’
You will need to change the enabled=1 to enabled=0 This is how it will be installed.
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1
It needs to be changed to
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1

Jpackage
Please note that this configuration is specific to Fedora 9 &
Red Hat 5.00.
You need to be in the directory and get the file.
cd /etc/yum.repos.d/
su -c ‘wget http://www.jpackage.org/jpackage.repo’
You will need to edit the repository file.
su -c ‘gedit /etc/yum.repos.d/jpackage.repo’
Adjust so it matches the following repo file.
In addition, place the symbol # before every line of a repository you do not need.
Uncomment, (which means to delete the # symbol) before every line of a repository you do want or need.
In order to enable a repository, change the line from enabled=0 to enabled=1.
# Be sure to enable the distro specific repository for your distro below:
# - jpackage-fc for Fedora Core
# - jpackage-rhel for Red Hat Enterprise Linux and derivatives

[jpackage-generic]
name=JPackage (free), generic
mirrorlist=http://www.jpackage.org/jpackage_generic_1.7.txt
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1

[jpackage17-f9]
name=JPackage 1.7 (free) for Fedora 9
baseurl=ftp://jpackage.hmdc.harvard.edu/JPackage/1.7/fedora-9/free/
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1

[jpackage50-f9]
name=JPackage 5.0 (free) for Fedora 9
baseurl=ftp://jpackage.hmdc.harvard.edu/JPackage/5.0/fedora-9/free/
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1

#[jpackage17-rhel50]
#name=JPackage 1.7 (free) for Red Hat Enterprise Linux 5.0
#baseurl=ftp://jpackage.hmdc.harvard.edu/JPackage/1.7/redhat-el-5.0/free/
#failovermethod=priority
#gpgcheck=1
#gpgkey=http://www.jpackage.org/jpackage.asc
#enabled=0

#[jpackage17-rhel50]
#name=JPackage 5.0 (free) for Red Hat Enterprise Linux 5.0
#baseurl=ftp://jpackage.hmdc.harvard.edu/JPackage/5.0/redhat-el-5.0/free/
#failovermethod=priority
#gpgcheck=1
#gpgkey=http://www.jpackage.org/jpackage.asc
#enabled=0

[jpackage-generic-nonfree]
name=JPackage (non-free), generic
mirrorlist=http://www.jpackage.org/jpackage_generic_nonfree.txt
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1

How to use permissions in Fedora
If you are planning to add your username to Sudo, then simply follow steps as below:
- Log in as root.
- su –login
- Now you can add the user to the sudoers file.
echo ‘your_plain_loginname_here ALL=(ALL) ALL’ >> /etc/sudoers

If you followed the instructions and advice as provided in this tutorial guide then you will be able to upgrade Fedora by using yum in a successful manner.

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

How to create a USB parted magic flash drive

Posted in How To's by Shafkat Shahzad, M.Sc on August 22nd, 2009

Welcome to the tutorial guide. The guide will provide a user with instructions and guidance on how to make a USB parted magic flash drive from Windows. Before, we go ahead with this process, it is a good idea to gain knowledge about parted magic. What is parted magic. Parted magic is an operating system which enables a user to perform partitioning tasks in an easy and a user friendly manner. Parted magic offers programs which are pulled from GParted and Parted. Let’s see what programs are offered by Parted Magic:
- fdisk
- sfdisk
- ddrescue
- dd
- Parted Image
- TestDisk,

Essentials for the USB Parted Magic Flash Drive
It is a good idea to know the essentials as required for the USB Parted Magic Flash drive: These essentials are as provided below:
-i586 processor and 256MB of RAM to operate or 128MB in Live mode
-pmagic-usb-4.4.zip
-PM.exe
-Windows PC to perform the installation process

Instructions on how to create a USB Parted Magic Flash Drive
If you are planning to create a USB Parted Magic Flash drive, then please follow step by step instructions as provided below:

-Please insert your USB Flash Drive
- Now, please download the PM.exe and extract to the desktop. Please note that when you have downloaded the PM.exe you will see that a PM folder is created
-Now, you can download the pmagic-usb zip and please extract it in the PM folder (which was created when downloading PM.ex)
-Please click PM.bat from the PM folder. After clicking on the PM.bat folder, please note that you will be provided with a set of onscreen instructions which you have to follow.
- After following the onscreen instructions, please reboot the PC and also set the BIOS or Boot menu to boot from the USB device.

If you have followed all the guidance and instructions as provided in this tutorial guide, then you will have a portable USB Parted Magic Flash Drive. Please note that this USB Parted Magic Flash Drive can be run from any PC that supports booting from USB.

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

How to install Java on Linux computer - Linux RPM package

Posted in How To's by Shafkat Shahzad, M.Sc on August 19th, 2009

Welcome to the tutorial guide. The guide will provide you with advise and instructions on how to install Java for the Linux computer for Linux RPM package. In order to install the Linux RPM (self-extracting) file, please follow the instructions as provided below:
- Please type following command at the terminal:
su
- Now please enter the root password.
- You can change to the directory in which you want to install and for that please type following:
cd

- If you would like to install the software in the /usr/java/ directory, then please type:
cd /usr/java
- If you would like to change the permission of the file you downloaded to be executable, then please type following command:
chmod a+x jre-6u-linux-i586-rpm.bin
- you can commence thethe installation process by typing following:
./jre-6u-linux-i586-rpm.bin
This command will displas the binary license agreement. After reading the agreement, please. press the spacebar to display the next page. At the end, please enter yes to proceed with the installation.

Please note that the installation file creates jre-6u-linux-i586.rpm file in the current directory.

- In order to install the package, please run the RPM command at the terminal to install the packages and for that please type:
rpm -iv jre-6u-linux-i586.rpm

- Now Java is installed in jre1.6.0_ sub-directory under the current directory which is /usr/java/jre1.6.0_.
- If you want to verify that the jre1.6.0_ sub-directory is listed under the current directory, then please type:
ls

The installation is now complete. If you followed all the instructions as provided in this tutorial guide the Linux RPM is successfully installed on the Linux computer.

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

How to install java on Linux computer - Linux self extracting binary file

Posted in How To's by Shafkat Shahzad, M.Sc on August 19th, 2009

Welcome to the tutorial guide. The guide will provide you with advise and instructions on how to install Java for the Linux computer.

Please note that there are two types of installation packages. These are:
- Linux RPM package and
- Linux self extracting binary file.

If you are planning to install the Linux self extracting binary file, then please choose the installation package by clicking on the appropriate Download button
- Now please download the file to any of the directories on the system.
- After download please verify:
Name of the file is jre-1_6_0_02-linux-i586.bin
Size is approximately 15.8 MB

Before we go through the installation process for Linux self extracting binary file, let’s have a look at following recommendation. If you are downloading update 1.6.0_01, the command will change. If the command is:
./jre-6-linux-i586.bin
This command would become:
./jre-6u1-linux-i586.bin

In order to install the Linux self extracting binary file:
- Please type following at the terminal:
su
- Now, please enter the root password.
- You can change to the directory in which you want to install and for that please type following command:
cd

- If you planning to install the software in the /usr/java/ directory, then you have to type:
cd /usr/java/

- If you would like to alter the permissions of the file that you have downloaded to executable, then please change them typing following command:
chmod a+x jre-6u-linux-i586.bin

- In order to verify that you have permission to execute the file, please type following:
ls -l

- Now installation process can be started by typing:
./jre-6u-linux-i586.bin

- Now you will see the binary license agreement. After you have read the agreement, please press the spacebar to display the next page. At the end, please enter yes to proceed with the installation.

- Please note that Java is installed into its own directory. When the installation is complete, you will see the word Done. The installation is complete.

If you have followed the instructions as provided in this tutorial guide then JAVA is successfully installed on the Linux computer.

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

How to download Java for the Linux computer?

Posted in How To's by Shafkat Shahzad, M.Sc on August 19th, 2009

Welcome to the tutorial guide. The guide will provide you with advise and instructions on how to download Java for the Linux computer. In order to download Java, please follow the steps as below:

- Please go to the java website on the following link: http://java.com
- Now click on Free Java Download button

Please note that there are two types of installation packages. Linux RPM package and Linux self extracting binary file.
- Depending on your choice, please choose the installation package by clicking on the appropriate Download button

- Now please download the file to any of the directories on the system.
- After download please verify:
For Linux self extracting binary file
Name of the file is jre-1_6_0_02-linux-i586.bin
Size is approximately 15.8 MB

For Linux RPM packages
Name of the file is jre-1_6_0_02-linux-i586-rpm.bin
Size is approximately 15.26 MB

If you followed the instructions as provided in this tutorial guide, then java will be successfully installed on the Linux computer.

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

« Previous entries