Friday, November 14, 2008

5.how to install fedora from Pendrive

....................................enjoy the tutorial .................................

The following walkthrough will enable you to run Fedora 8 from a USB key.

0. Prerequisites

In order to complete this walkthrough, you need:

  • a computer with Fedora 7 or Fedora 8 installed on it.
  • root access on that computer.
  • basic command-line knowledge.

1. Acquire a USB key

The basic desktop version of Fedora 8 will fit on a 1 GB USB key. The “developer” version of Fedora 8 will require a 2 GB USB key. Pretty much any brand of USB key should work. I use the PNY Attache ones — they work well and can be found for a relatively cheap price.

2. Acquire a Live image

The Fedora Project releases both live and installable images of the Fedora distribution. In order to run off of a USB key, you need one of the live images — this means that the entire distribution is loaded into the computer’s memory and runs without touching the hard disk at all.

Download a live image or create your own if you are particularly adventurous!

3. Install livecd-tools

On your current Fedora machine, install the livecd-tools package, either via the graphical
add/remove software application or by using yum directly on the command line. Note that this step requires you to have root access!

su -c 'yum install livecd-tools'

4. Figure out where your USB key is mounted

Plug in your USB key and the system should automatically mount it for you. All you need to do is make a note of the device name that was chosen when you plugged the USB key in. To do so, open up a terminal and run the following command:

df -h  Filesystem            Size  Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00                        35G  6.8G   26G  21% / /dev/sda1              99M   19M   76M  20% /boot tmpfs                 501M   12K  501M   1% /dev/shm /dev/sdb1             2.0G     0  2.0G   0% /media/disk 

In this case, the bottom line is the one that is important–you’ll want to find the line that is correct for your system, and remember the first part. /dev/sdb1 will be used for the rest of this article. You should use whatever result is displayed for your machine.

5. Copy the image onto the USB key

Now you have everything you need — the livecd-tools package is installed, the image that you want to use has been built or downloaded, and your USB key is plugged into the computer. All that is left to do is run one more command: livecd-iso-to-disk. The command’s name is pretty self-explanatory. The first argument is path to the live image, and the second command is the location of the USB key, which you discovered in the previous step. Note that this command requires root access!

su -c 'livecd-iso-to-disk /path/to/Fedora-8-Live-i686.iso /dev/sdb1'  Verifying image... Fedora-8-Live-i686.iso:   17d675e98a44754d41ba0d93f485ffa3 Fragment sums: 7dba468e8adf87c776ae4a15a871426ba74dba1187adb2a6807c1e124a34 Fragment count: 20 Percent complete: 100.0%   Fragment[20/20] -> OK 100.0 The media check is complete, the result is: PASS.  It is OK to use this media. Copying live image to USB stick Updating boot config file Installing boot loader USB stick set up as live image! 

6. Reboot

Reboot your computer, and when the BIOS starts up, make sure you tell it to boot off of the USB key and not the hard disk. Usually the screen will flash a message that says something like “press F12 to bring up boot device list”. On some machines, you have to press the DEL key instead.

That’s it. Wait for the machine to finish booting and at the login screen click on “Fedora Live” and you are automatically logged in (or just wait 60 seconds for the automatic login to trigger).

Remember!

The USB key that you have just configured only contains the operating system. It does not store any of your personal data on it. I recommend that you carry around a second USB key for saving data. Most laptops have more than one USB slot, so it is easy to plug them both in. Boot off of the first key, and then before you shut down the computer, save all of the stuff you worked on to the second key.

Monday, November 3, 2008

3. How to install Skype

1.You can install Skype on Fedora from its repository, which for me is the best way to do it, specially to stay with the latest stable versions.

All you need to do is to create a file named skype.repo and lacated in:

2.goto /etc/yum.repos.d/

and create a document file with name skype.repo and copy the following code and paste it in the skype.repo file and save it.

[skype]
name=Skype Repository
baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
gpgkey=http://www.skype.com/products/skype/linux/rpm-public-key.asc

once this file is saved all you need to do is run the next command

yum -y install skype

******************************************************

then folowing will appear

[root@]# yum -y install skype
Loaded plugins: refresh-packagekit
skype | 951 B 00:00
primary.xml.gz | 1.3 kB 00:00
skype : ################################################## 1/1
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package skype.i586 0:2.0.0.72-fc5 set to be updated
--> Processing Dependency: libQtCore.so.4 for package: skype
--> Processing Dependency: qt4-x11 >= 4.2 for package: skype
--> Processing Dependency: libQtGui.so.4 for package: skype
--> Processing Dependency: libQtNetwork.so.4 for package: skype
--> Processing Dependency: libQtDBus.so.4 for package: skype
--> Running transaction check
---> Package qt.i386 1:4.3.4-11.fc9 set to be updated
---> Package qt-x11.i386 1:4.3.4-11.fc9 set to be updated
--> Processing Dependency: redhat-rpm-config for package: qt-x11
--> Processing Dependency: libaudio.so.2 for package: qt-x11
--> Running transaction check
---> Package nas-libs.i386 0:1.9.1-4.fc9 set to be updated
---> Package redhat-rpm-config.noarch 0:9.0.2-1.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
skype i586 2.0.0.72-fc5 skype 14 M
Installing for dependencies:
nas-libs i386 1.9.1-4.fc9 fedora 77 k
qt i386 1:4.3.4-11.fc9 fedora 2.1 M
qt-x11 i386 1:4.3.4-11.fc9 fedora 6.2 M
redhat-rpm-config noarch 9.0.2-1.fc9 fedora 54 k

Transaction Summary
=============================================================================
Install 5 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 23 M
Downloading Packages:
(1/5): skype-2.0.0.72-fc.i586.rpm | 2.5 MB 03:56 5.


7.leave it .. it wil automatically download

8. have a nice day