Installing Fedora 10 – I
- March 1st, 2009
- Write comment
Fedora is an RPM based Linux Distribution, an Operating System in other words, developed by the community supported Fedora Project and sponsored by Red Hat. Officially it contains only free and Open Source software. Some of the new features it has come with are Gnome 2.24, KDE 4.1, RPM 4.6, a Faster Startup (Plimouth), Kernel Modes Setting for Graphics, First Aid Kit, better Webcam Support and many other.
1. Upgrading from Fedora 7/8/9
Fedora is using Preupgrade to easily upgrade your installation to the new release by downloading the new packages through Internet without having to download and burn a cd/dvd. Preupgrade resolves all dependencies, downloads the needed packages, configures grub and finally asks the user just to reboot to complete the upgrade. Make sure that you have a fully updated system and after that install and run Preupgrade by typing:
su -c ‘yum update’
yum install preupgrade
preupgrade
Select Fedora 10 and after a while you’ll be asked to reboot in your upgraded Fedora 10 system!
If you were using the RPM Fusion Repository it should have been updated to the RPM Fusion repository by now. But if you haven’t done so it will also be updated along with the whole system update.
2. Configuring sudo
* Modifying sudoers file
Normally if you want to run a command which requires root privileges you first have to type ’su -’, type your root password and then type the command. However you can bypass this by using the ’sudo’ command. But first you have to configure it like this:
su –login -c ‘visudo’
Now go below the line:
root ALL=(ALL) ALL
press a, and type the following
username ALL=(ALL) ALL
where username is the username you use to login. Next press Escape.
Now, if you want to be prompted for your root password each time you use the sudo command go to this line:
# %wheel ALL=(ALL) ALL
and with your cursor pointing on # press x
If you don’t want to be prompted for your root password each time you use the sudo command go to this line:
# %wheel ALL=(ALL) NOPASSWD: ALL
and with your cursor pointing on # press x
Next, press :wq to save and exit. (type the : as well)
* Adding your user to the wheel group
Just type:
su -c ‘gpasswd -a username wheel’
* Testing sudo
To test if you have done it correctly as a simple user type:
$ sudo whoami
If everything is working properly the command should return the word ‘root’.