Article/Fedora: Do everything
From LUG@IITD
| Fedora_Help |
|---|
| edit this box |
Introduction
I am trying to develop a collection of know-how and packages that are important for doing day-to-day computing in linux. So, that no one complain that they are not shifting to linux because of lack of know how. I have installed Fedora 9 (Latest release) in my desktop in the hostel.
Unsolved Problems
Wiki is all about collaboration. If you know proper procedures for any of these, make a section of it and explain.
- Active connection settings for Valknut.
- yumex, or for that matter Add/remove programme of Gnome is unable to access the internet through the http Proxy, even though it is set in the preferences.
Contents |
Get Started
A basic knowledge of Bash Shell is expected from the reader of this wiki entry. I would suggest to go through this Linux getting started.
Setting the Stage
Apart from on-line repository, the DVD of Fedora 9 also contain useful packages. Installing these from DVD would really be fast and saves the net bandwidth. This are the step that you need to do to configure yum to install form DVD.
Step 1: Setting the yum to use local dvd files. When we insert the DVD of fedora, it is mounted automatically on /media/Fedora 9 i386 DVD. What i figured out is that the spaces in between the name of the folder cause error in the .repo file. So, i decided to manually mount it as.
cd /media mkdir dvd-rom mount -t iso9660 /dev/cdrom /media/dvd-rom/
Add these lines to the end of /etc/yum.conf
[base-local] name=Fedora DVD baseurl=file:///media/dvd-rom/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
This will give priority to the DVD, over internet
Install Yumex
Its really worth using, much better than the GNOME Add/remove program.
yum -y install yumex
Proxy Settings(for IITD Readers only)
If you want your yum to use the proxy server 10.10.3.14, then.
su http_proxy="http://usrname:password@10.10.3.14:3128"
You have to do it each time you use su, else add this line to your root's .bashrc file.
su cd gedit .bashrc
If you are using Yumex, then do then proxy setting by, System -> Preferences -> Internet and Networks -> Network Proxy. Don't forget to log off and log on.
After doing all these, make sure you have these repos selected by going system-> Administration -> Software Sources
repo id repo name status base-local Fedora DVD enabled fedora Fedora 9 - i386 enabled fedora-source Fedora 9 - Source enabled livna Livna for Fedora Core 9 - i386 - Base enabled livna-source Livna for Fedora Core 9 - i386 - Source enabled updates Fedora 9 - i386 - Updates enabled
Accessing CS Deptt internet A/c from Hostel(For IITD Readers)
As in windows you use putty to connnect 10.20.1.4(palasi) from you hostel also defining the tunnel to 10.20.5.2. In Linux Following command will connect to palasi and define the tunnel connecting your pc's port 8080 to 10.20.5.2's port 8080.
ssh -L 8080:10.20.5.2:8080 username@10.20.1.4
As similar to windows you'll also need to do proxy settings in you webbrowser. e.g. for firefox goto Edit->Preferences->Advanced->network->settings than opt for Manual Proxy configuration. Enter the Http proxy IP localhost and port no. 8080.
You can also use appropriate option(-x/-X) to enable X forwarding.
Keep in Mind
This section is devoted to some silly mistakes that can frustrate you, these are all my experiences, and might not be applicable in general.
- Spaces in folder name must be represented as "\ " in any configuration files or Bah Shell command, like yum installation.
eg.
yum groupinstall Fedora\ Eclipse
- Each time you use 'su' command, the .bashrc file of root get executed.
Hang lock screen
Many time after locking the screen the system seems to hang, you are unable to enter password and you reboot the system. But keep in Mind in Linux there is no need to reboot in 99.999999% cases. Actually the lock-screen software got hangs sometime. So what to do ? just kill the process.
- login to root at tty1 by pressing Ctrl+Alt+F1
$ ps -ejH | grep scr
1583O 15830 15830 ? 00:00:00 gnome-screensav
- From here you will get the PID , in this case it is -- 1583O
$ kill -9 1583O $ Ctrl+Alt+F7
After getting screen , restart the lock-screen software by typing
$ gnome-screensaver
Get Set n Go!
Play anything
A very good blog entry which covers a lot is Read. Do These:
- Adding livna repositories - 'A must'
- MP3 Support
- GCC compatibility 'Needed'
- Mplayer / Xine/ VLC
- Video binary codex
- mpg321 A cool utility
- CD/DVD burning using K3G
These worked for me so i thought to mention the names.
Flash Plugin for Mozilla
We are You tube addictive, and so need this plugin badly. its simple to install. just go to Adobe site and follow the instructions. Download the rpm package.
Read anything
Windows Help File
(.chm) is a format used in windows for writing Reference manuals. If you want to Read them in linux.
yum install gnochmThis is for Gnome.
Adobe Acrobat Reader
Just download it from here. Just, download the rpm and install it.
Desktop Utilities
KDE
If somehow, you didn't got the option of choosing betn GNOME or KDE during installation, you can install KDE like this.
yum groupinstall KDE
Google's Products
Install google Linux Repo -- Run these Sequentially
wget https://dl-ssl.google.com/linux/linux_signing_key.pub rpm --import linux_signing_key.pub
varify above by
rpm -qi gpg-pubkey-7fac5991-4615767f
As root, add the following to a file called google.repo in /etc/yum.repos.d/:
[google] name=Google - i386 baseurl=http://dl.google.com/linux/rpm/stable/i386 enabled=1 gpgcheck=1
or
[google64] name=Google - x86_64 baseurl=http://dl.google.com/linux/rpm/stable/x86_64 enabled=1 gpgcheck
now use these commands
$ yum install picasa $ yum install googleearth-package $ yum install google-desktop-linux
Yeah! Google Desktop, the great desktop searching tool is also available for Linux.
The RAR File
yum install unrarEnlightenment Package
Write Anything
Open office 2.4 comes with fedora 9. I am here listing some other editors that you can install.
Emacs
If you are interested in any type of coding, be it C, Java, HTML, VHDL or whatever. This tool is really handy, with auto completion and text colouring. What you also get is Electronic editing, which i tested for VHDL and its quite good.
LaTeX
Just forget about MS Word, when it comes to report/paper/technical writing If you need professional looking documents with predefined rules of formatting, LaTeX is the best thing that you have. Get the Kile IDE for latex.
yum install kileMount Anything
Well, When i searched over net, i found that we need not have to do anything for this, as GNOME take cares of it. But, I was unable to access the NTFS files of windows. So, this is the way i found. -- Given procedure is somewhat old -- try using Gnome-Automount which automate many things
Step 1. Install these, most probably they will be installed.
sudo yum install fuse fuse-libs ntfs-3g
Step 2. Check your partition tables by
cd /sbin ./fdisk -l
The results:
Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x119e119d Device Boot Start End Blocks Id System /dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS /dev/sda2 3825 19456 125564040 f W95 Ext'd (LBA) /dev/sda5 7649 19456 94847728+ 7 HPFS/NTFS /dev/sda6 3825 7387 28619734+ 83 Linux /dev/sda7 7388 7648 2096451 82 Linux swap / Solaris
Say we have to mount sda1 as c_drive and sda5 as software.
Step. 3: Create mount points
cd /media mkdir c_drive software
Step. 4 Mount the drive (for Read Only)
mount /dev/sda1 /media/c_drive -t ntfs-3g -r -o umask=0222 mount /dev/sda5 /media/software -t ntfs-3g -r -o umask=0222
Mount the drive (for Read/Write )
mount /dev/sda1 /media/c_drive -t ntfs-3g -rw -o umask=0000 mount /dev/sda5 /media/software -t ntfs-3g -rw -o umask=0000
Step. 5: Automate it Edit the file /etc/fstab and add these lines at the edn.
/dev/sda1 /media/c_drive ntfs-3g rw,defaults,umask=0000 0 0 /dev/sda5 /media/software ntfs-3g rw,defaults,umask=0000 0 0
If you have FAT32/FAT16 then use vfat in place of ntfs-3g. Most likely, you need not have to do this.
Synaptics Touchpad Fedora 9
Setting up Valknut (DC++/ ODC substitute)
Well, I have always been unanswerable to the question, what about DC++ in linux?
This is it! Step 1
yum install valknut
Step 2: Go to Applications->Internet->valknut.
Go to file -> options for usual settings, like download locations, and file sharing. Choose connection type as passive. I don't know why active is not working forme, perhaps i m unaware of various settings. (if someone knows, please mention it)
Click on Show hub list. Then go to bookmarks. Right click and add hubs.
Enjoy!
Note: You will not be able to download from those users who are also using passive connection. So, it would be helpful if somebody comes up with the active settings.
Remove IPv6 for speed up
9. Go to etc/modprobe.conf file. Insert these lines at the bottom of the file: alias ipv6 off alias net-pf-10 off 10. Save the file. 11. Reboot your machine 12. Enjoy the SPEED
from [1]
Remarks
Its really difficult to give all the information one page. If you are looking for some application and didn't find it here, these are the places you can go.
- http://www.fedoraguide.info/index.php?title=Main_Page
- Link 1
- link 2
- | Link
- https://fedoraproject.org/wiki/Presentations -- A large number of presentations on Fedora
- And All's favorite http://64.233.167.104/ - 21st century Solution to all problems!

