Fedora Guide

Fedora 14 (Laughlin)
Copied this in entirety from fedora 13 -- please fix and correct.

fedoraguide

Unofficial Guide to Fedora
'''Fedora 14 (Laughlin) was released on the 2nd of November 2010. The release announcement on the wiki can also be viewed.'''

This guide will provide a basic run down on how to do things in Fedora. As this is a work in progress please provide feedback on the Fedora Forum to help us improve this how to. If you would like to contribute please do so by registering and contributing.

Tours
To see what Fedora 14 will look like check out the tour!!! There is also a screenshot tour

What has Changed
Fedora has changed a lot from Fedora 13 to Fedora 14 to see the list of changes.

Common Problems and Solutions
Common Bugs and their Solutions

General Notes
su -c 'yum update'
 * 1) This guide is not related to Fedora or Red Hat in anyway whatsoever.
 * 2) This guide can be updated by emailing admin  fedoraguide.info
 * 3) Contributions are important for maintaining the future content on this wiki.
 * 4) The bluish boxes represent what you type in the screen.
 * 5) The information will be input using the recommended method of Fedora using 'su -c' where applicable.
 * 6) An example for updating your system would be:
 * 1) When saving files right click and save-as to your desktop.
 * 2) The assumption is you know how to boot your system and you know how to type into your terminal if required.
 * 3) I will be adding repositories to make it as simple as possible for installation.  I will not have the additional repositories added by default except for RPM Fusion.

Switching to Root

 * Read the
 * There will be times that you will need to be the root user (Administrator) to be root you will need to issue the following command

su --login

or

su -

How To use Yum

 * Read
 * Read

Yum is a very powerfull package manager. yum will resolve dependencies for you and makes installing applications a breeze. yum also searches, removes, and lists packages for you. Usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, provides, shell, install, whatprovides, groupinstall, update, repolist, groupupdate, info, search, check-update, list, remove, clean, grouperase >

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

From a first look this can look rather intimidating, but this is rather easy.


 * Examples:

Yum will search all your enabled repos and tell you where you can obtain the package from
 * To search for an application

yum search application_name


 * Yum can list all available packages from your enabled repos and tell you where you can obtain the package from:

yum list available


 * To find out more info about some package

yum info application_name

Installing is as easy as
 * Installing applications

yum install application_name

yum can list installed rpms for you from the repos you have enabled
 * Listing rpms

yum list extras

Yum can remove an application and the dependencies it installed with that application. It will not remove dependencies if another application installed needs them. yum remove application_name
 * Removing rpms

Yum can update the system for you without user interaction if you want it to. yum update
 * Updating the system

yum check-update
 * Not sure if you have updates?

downloaded a rpm and cannot install it with rpm because of dependencies? yum localinstall /path/to/the/rpm
 * Local install


 * Happy yumming...

yum-presto

 * This plugin speeds up the processing of packages and downloading of packages by downloading the difference between the new package and the old package. It is recommended to be installed in order to reduce the quantity you download for updates. You can get it with this command:

su -c 'yum install yum-presto'

Yum through Proxy
Edit the yum.conf file in the /etc folder to look like the following.

su -c 'gedit /etc/yum.conf'

[main] proxy=http://proxy:portnum/ proxy_username=username proxy_password=password cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 ...

Helpful Fedora Websites
These are some useful websites.

Fedora Forum

Fedora Project

Fedora Solved

The Unofficial Fedora FAQ

Dangermouse's Website


 * There is a very helpful thread relating to a script which will install some of the more popular packages.

Dangermouse's script thread

Folding at Home Howto (Use those spare CPU Cycles)

How to Install Fedora

 * To install Fedora refer to the Installation documents and the common problems.

Installation Documents

How to Upgrade Fedora

 * To upgrade Fedora refer to the information listed at the following website.

http://fedoraproject.org/wiki/YumUpgradeFaq#head-56b13936246769f517ac488a0098d193c7fc3600


 * Make sure you clear your yum cache then update everything and reboot

su -c 'yum clear all' su -c 'yum update'


 * You will need to disable all other repositories during the upgrade and you will need to delete some files in order to complete the transition.

su -c 'yum upgrade'

Problems with Installing
With every version there are some problems.

Fedora 13 Common Issues

How to Contribute to Fedora
There are lots of ways you can help make this great operating system even better. It also can't progress faster without your help. If you want to get involved or are interested in getting involved.

Join the Fedora team

How to set/change/enable root user password

 * Read


 * Read

su --login


 * You can then change the root password

passwd root

How to disable root user account

 * Read
 * Read

passwd -l root

Beware! If you do not have some other manner of executing commands as root (such as sudo) set up, this will effectively lock you out of your own system! The only way to unlock the root account should this happen is to boot from media (such as the install disk in rescue mode) and execute: passwd -u root

Installing System-Config-User

 * Read
 * Install system-config-users

su -c 'yum -y install system-config-users'

How to add/edit/delete system users

 * Read
 * Read
 * Desktop -> System Settings -> Users and Groups
 * Users and Groups

Users Tab -> Add User.../Properties/Delete

How to add/edit/delete system groups

 * Read
 * Read
 * Desktop -> System Settings -> Users and Groups
 * Users and Groups

Groups Tab -> Add Group.../Properties/Delete

How to automatically login into GNOME (not secure)

 * Read
 * 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"

How to change files/folders permissions

 * Read

Right click on files/folders -> Properties

Permissions Tab -> Read/Write/Execute (Check the permissions for Owner/Group/Others)

How to change files/folders ownership

 * Read
 * Read

chown system_username /location_of_files_or_folders

How to change files/folders group ownership

 * Read
 * Read

chgrp system_groupname /location_of_files_or_folders

List out your last update with rpm

 * Read

rpm -qa --last | tac

Repositories
These additional software repositories will not be enabled by default. This is because there is a risk to your installation with differing version details which may leave your computer unable to function.

'''Note: Mixing repositories can be dangerous. After installation of the RPM Fusion repository protect it using the command listed here.'''

RPM Fusion
To install the Fusion repository which can be left on by default.

su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm' su -c 'rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

Protect your Repositories
Protect your repository so you do not break your Fedora installation.

su -c 'yum -y install yum-protectbase' su -c 'perl -i -pe "s/(\[.*\])/\1\nprotect=yes/" /etc/yum.repos.d/{fedora*,rpmfusion*}'

Adobe
Create the file in the repository folder.

su -c 'rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm'


 * When that has been installed edit the repo file to look like the following.

su -c 'gedit /etc/yum.repos.d/adobe-linux-i386.repo'

[adobe-linux-i386] name=Adobe Systems Incorporated baseurl=http://linuxdownload.adobe.com/linux/i386/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

Atrpms
Atrpms has some packages that are quite helpful.

Execute the following to add the repository to your repository folder.

su - cat < /etc/yum.repos.d/atrpms.repo [atrpms] name=Fedora Core \$releasever - \$basearch - ATrpms baseurl=http://dl.atrpms.net/f\$releasever-\$basearch/atrpms/stable gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms gpgcheck=1 enabled = 0 EOF

Google
You will need to be root to create the file. su --login

Then create the repo cat < /etc/yum.repos.d/google.repo [google] name=Google - i386 baseurl=http://dl.google.com/linux/rpm/stable/i386 enabled=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub EOF

Skype
You will need to be root to create the file. su --login

Then create the repo cat < /etc/yum.repos.d/skype.repo [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 enabled=1 gpgcheck=0 EOF

Is there a graphical (GUI) version for Yum
There are several types of software to help in the graphical area for yum.

Yumex
su -c 'yum -y install yumex'

Package Manager (Default)
This can be located in the following menu System -> Administration -> Add/Remove Software

Adding your username to Sudo
Log in as root.

su --login Add your user to the sudoers file. echo 'your_plain_loginname_here ALL=(ALL) ALL' >> /etc/sudoers

Nouveau
A free, open-source alternative for nVidia users. Fedora 13 has the Nouveau video driver incorporating the Gallium 3D (OpenGL) driver. They are still somewhat experimental, but are becoming more and more stable, to enable them either install through package manager or su -c 'yum -y install mesa-dri-drivers-experimental'
 * I've been running them instead of the nvidia drivers, and have not seen any problems. I'm very impressed, and highly recommend them. TF.
 * There are serious issues with legacy (GeForce FX) cards such as garbled output and crashes &mdash;Metamorf 01:37, 15 July 2010 (UTC)

nVidia
nVidia users, install the RPM Fusion repositories and then su -c 'yum -y install kmod-nvidia' if your kernel is a PAE kernel (check using uname -a) then make sure you install the PAE version instead su -c 'yum -y install kmod-nvidia-PAE' Note: Before you reboot you need to edit your /boot/grub/grub.conf file and add the following to the end of the kernel line rdblacklist=nouveau

nVidia (for GeForce 6, 7, 8, 9 & 200 series cards)

 * Read
 * You need to have the RPM Fusion repositories enabled.

64 bit su -c 'yum -y install akmod-nvidia xorg-x11-drv-nvidia-libs.i586 xorg-x11-drv-nvidia-libs.x86_64'

32 bit su -c 'yum -y install akmod-nvidia xorg-x11-drv-nvidia-libs'

or:

Obtain Linux drivers from nVidia.

The x86_64 version works well on an AMD Athlon X2 notebook.

Note: Installing this option compiles a kernel module against your kernel. Unfortunately, it will probably complain if you didn't compile your kernel from source in the first place.

nVidia–96xx (for GeForce 4 and earlier series cards)

 * Read
 * You need to have the RPM Fusion repositories enabled.
 * This is for users of legacy cards.

su -c 'yum -y install kmod-nvidia-96xx'

nVidia–173xx (for GeForce FX series cards)

 * Read
 * You need to have the RPM Fusion repositories enabled.
 * This is for users of legacy cards.

64 bit su -c 'yum install akmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i586 xorg-x11-drv-nvidia-173xx-libs.x86_64'

32 bit su -c 'yum install akmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs' or: su -c 'yum install kmod-nvidia-173xx'

ATI
You need to have the RPM Fusion repositories enabled.

Note: There are some bugs in the current version.

Refer to getting it enabled with a few modifications here

su -c 'yum -y install kmod-fglrx xorg-x11-drv-fglrx-libs-32bit'


 * If your card is older than Radeon 9600, it should work out-of-the-box, if not, you will need to wait until ATI releases a new driver for kernel 2.6.23 and issue the above yum command when it is available.

Intel
Intel users, cheer to yourself as it works out-of-the-box.

Intel IPW3945

 * This is a guide to installing and setting up the Intel 3945 A/B/G wireless network adapter using FreshRPMS. It seems people are still having issues with this method. I will add the other method to aid in sorting out the issues.


 * Note: The Fedora 11 drivers are very good and you should try them ahead of installing these. Install these as a last resort.

Method 1
You will need to install the FreshRPMS repository.

su -c 'yum --enablerepo=freshrpms install dkms-ipw3945'


 * You must Configure your wireless using sytem-config-network a lot of people are forgetting this step. Do it through system-config-network.  Delete wlan0 and install eth1

System -> Administration -> Network

Method 2
Credit for this method comes from the great fellas at fedorasolved.org

Basic description of what will be done and what is expected. Learn to become root here.


 * Blacklisting the offending modules:

nano /etc/modprobe.d/blacklist


 * add these exact lines at the bottom then save and exit:

blacklist iwl3945 blacklist mac80211
 * 1) iwl3945


 * Reboot the system:

reboot


 * Create a temp directory on your desktop called 'ipw3945' and download the following files into it:

mkdir /home/$user/Desktop/ipw3945 (replace $user with your username)

http://prdownloads.sourceforge.net/ipw3945/ipw3945-1.2.1.tgz?download

http://bughost.org/ipw3945/ucode/ipw3945-ucode-1.14.2.tgz

http://bughost.org/ipw3945/daemon/ipw3945d-1.7.22.tgz

http://fedoraos.org/ipw3945/ipw3945


 * Install kernel development packages and gcc compiler:

yum install kernel-devel gcc


 * Unpack the gzipped tarballs into the directory on your desktop called 'ipw3945' that we created earlier:

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:

cp ipw3945-ucode-1.14.2/ipw3945.ucode /lib/firmware && cp ipw3945d-1.7.22/x86/ipw3945d /sbin


 * (or choose the version for x86_64 if necessary)


 * Compile and copy the resuling kernel module to the correct location (for more options here see 'more information' below):

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:

cp /home/$user/Desktop/ipw3945/ipw3945 /etc/init.d

chmod +x /etc/init.d/ipw3945

chkconfig --add ipw3945 && chkconfig ipw3945 on


 * Reboot the system:

reboot

Troubleshooting How to test Explanation troubleshooting basics and expectations.


 * Configure the device:

system-config-network


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


 * Restart the network:

Once you have disabled all other network cards, configured your ip address, gateway, DNS, subnet mask, SSID, wifi channel, and encryption key:

service network restart

Common problems and fixes

Many laptops with built in wireless have a WLAN switch that is a toggle switch for enabling/disabling the wireless radio.

Please make sure you check this is on, or your ipw3945 wireless adapter will not detect correctly or work at all.

Also, disable all other network cards before attempting to use the ipw3945. More Information

Special Notes:

If you'd like Monitor Mode, Promiscuous Mode or RadioTap enabled for this device you will need to edit the Makefile in

Step 7 before compiling the kernel module uncomment the corresponding line(s): Code:

CONFIG_IPW3945_MONITOR=y CONFIG_IEEE80211_RADIOTAP=y CONFIG_IPW3945_PROMISCUOUS=y

Added Reading


 * http://fedoraos.org

For new kernels you will have to do step 7 again.

Madwifi
You will need to install the RPM Fusion.

su -c 'yum -y install madwifi kmod-madwifi'


 * You will need to add the following lines to your modprobe.conf file

su -c 'gedit /etc/modprobe.conf'

alias wifi0 ath_pci alias ath0 ath_pci options ath_pci autocreate=sta
 * 1) Start Atheros Stuff
 * 1) End Atheros Stuff


 * Configure your wireless

System -> Administration -> Network

IPW2x00

 * You need to determine what wireless card you have

su -c '/sbin/lspci | grep Wireless'


 * Your output should look like the following.

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)


 * You will need to install the relevant firmware

su -c 'yum -y install ipw2xxx-firmware'


 * Reboot your machine then configure your network.

System -> Administration -> Network

Broadcom b43 (Official driver!!!)
http://fedoraguide.info/index.php?title=Fedora10#RPM_Fusion
 * Enable the RPM Fusion repo

su -c 'yum update' su -c 'yum install broadcom-wl' Go to System > Administration > Network and select the wireless device and check "Controlled by Network Manager" and "Activate device when computer starts".
 * Install the driver

Broadcom b43 (Method 1)
su -c 'yum -y install b43-fwcutter'


 * Download the appropriate package based on this file

su -c 'gedit /usr/share/doc/b43-fwcutter-008/README'


 * Fedora instructions can be located under the README.Fedora

su -c 'gedit /usr/share/doc/b43-fwcutter-008/README.Fedora'


 * A copy of the README is listed below

Where can I find some driver source files? --

Please check the references at http://www.linuxwireless.org/en/users/Drivers/bcm43xx#devicefirmware

It is recommended that you extract firmware for both b43 and b43legacy in order to support both types of cards on your system.
 * Run the fwcutter program

su -c 'b43-fwcutter -w /lib/firmware ~/Downloads/bcmwl5.sys'


 * Add it to the modules to test.

su -c '/sbin/modprobe b43'


 * Configure your network

System -> Administration -> Network

Broadcom b43 (Method 2)

 * Read

su -c '/sbin/chkconfig NetworkManager on' su -c '/sbin/service NetworkManager start'
 * Configure NetworkManager to automatically start and start the service.


 * Download and extract the firmware

wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2 tar -jxvf broadcom-wl-4.80.53.0.tar.bz2


 * Cut the firmware

cd broadcom-wl-4.80.53.0/kmod /usr/bin/b43-fwcutter -w /lib/firmware wl_apsta.o


 * Add the following line so that it can be configured by system-config-network

su -c 'echo "alias wlan0 b43" >> /etc/modprobe.conf'


 * Restart NetworkManager

su -c '/sbin/service NetworkManager restart'

Ndiswrapper drivers howto
Some drivers which are not released for linux will require Ndiswrapper to function. Bcm43xx driver may have been limited to 11Mbs using Ndiswrapper increases the speed.

You will need to install the RPM Fusion.

su -c 'yum -y install kmod-ndiswrapper'
 * Install Ndiswrapper


 * Make a directory to hold your driver.

su -c 'mkdir /ndiswrapper_drivers'


 * Log in as root

su --login


 * Now you will either need to get the drivers from your windows driver disk or download the drivers needed for your network card from the Ndiswrapper Wiki

cp netbc564.inf /ndiswrapper_drivers/ cp bcmwl564.sys /ndiswrapper_drivers/


 * Install the drivers

ndiswrapper -i netbc564.inf


 * The output should show the following

Installing netbc564 Forcing parameter IBSSGMode|0 to IBSSGMode|2


 * Verify that the drivers are loaded

ndiswrapper -l


 * The output should show

Installed drivers: netbc564               driver present,          hardware present


 * Load the kernel module

modprobe ndiswrapper


 * If everything loads and works add ndiswrapper to your modprobe.conf file. Then exit from root.

ndiswrapper -ma echo "alias wlan0 ndiswrapper" >> /etc/modprobe.conf exit


 * Configure your network

System -> Administration -> Network or su -c 'system-config-network'


 * The BCM4318 driver can be downloaded from the following links. Thanks go to Fedora Solved for hosting them.


 * BCM4318 32 bit driver


 * BCM4318 64 bit driver

BCM4318 using Ndiswrapper
There have been issues with bcm43xx actually working with the bcm4318 broadcom device. A solution is to use ndiswrapper, however, the bc43xx bits need to be removed to avoid conflicts

Download the BCM4318 drivers from the following links if you do not have the original driver disc. If you have the original drivers from disc or your windows partition use those drivers that are guaranteed to function. Thanks go to Fedora Solved for hosting them.


 * BCM4318 32 bit driver


 * BCM4318 64 bit driver


 * Log in as root

su --login


 * Unload the kernel module and open up the module blacklist file

/sbin/rmmod bcm43xx su -c 'gedit /etc/modprobe.d/blacklist'


 * Blacklist the driver by adding the following line at the bottom of the file just opened.

blacklist bcm43xx_mac80211


 * Remove the device from system-config-network then create a new device

System -> Administration -> Network

Or

su -c 'system-config-network'

Activate side-mouse-buttons in FireFox
Just add two lines to xorg.conf will activate side-mouse-buttons in FireFox. This should work with most 5-button mouse. Here is a list of mice that worked with this instruction.
 * Logitech MX510
 * Logitech MX518
 * Logitech MX700
 * Intellimouse Explorer (first edition)

If you do not already have an /etc/X11/xorg.conf file (on Fedora 11, this is not created by default), you need to create one: su -c 'yum install -y system-config-display' su -c 'system-config-display --reconfig'

Backup Xorg configuration file su -c 'cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak'

Modify the Xorg configuration file su - -c 'gedit /etc/X11/xorg.conf'

Find the Input Device section for your mouse and add two lines as shown below. You may also increase the number of buttons if your mouse has more than 7, just fix the rest of the section based upon the number of buttons (remember back/forward, wheel click & tilt left/right all count as buttons)

If you already have a section for your mouse, change:

Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" ... 	Option "Protocol" "ExplorerPS/2" ... 	Option "Emulate3Buttons"      "true" EndSection

to:

Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" ... 	Option "Protocol" "ExplorerPS/2" ... 	Option "Emulate3Buttons"      "false" Option "Buttons" "7" Option "ButtonMapping" "1 2 3 6 7" EndSection

If you do not have a section for the mouse (it is not created by default), 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

At this point you can reboot your computer or restart the X server (Ctrl-Alt-BackSpace) to see if your forward/back buttons work in FireFox. They still won't work in Nautilus yet until you install the imwheel dameon.

How to list partition tables

 * Read

su -c '/sbin/fdisk -l'

How to list filesystem disk space usage

 * Read

su -c 'df -T -h'

How to list mounted devices

 * Read

mount

How to list PCI devices

 * Read

/sbin/lspci

How to list USB devices

 * Read
 * This command needs to be run as root.

lsusb

How to speed up CD/DVD-ROM

 * Read


 * e.g. Assumed that /dev/cdrom is the location of CD/DVD-ROM

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

How to mount/unmount CD/DVD-ROM manually, and show all hidden and associated files/folders

 * Read


 * e.g. Assumed that /media/cdrom0/ is the location of CD/DVD-ROM


 * To mount CD/DVD-ROM

su -c 'mount /media/cdrom0/ -o unhide'


 * To unmount CD/DVD-ROM

su -c 'umount /media/cdrom0/'

How to forcefully unmount CD/DVD-ROM manually

 * Read


 * e.g. Assumed that /media/cdrom0/ is the location of CD/DVD-ROM

su -c 'umount /media/cdrom0/ -l'

How to remount /etc/fstab without rebooting

 * Read

su -c 'mount -a'

Compiz-fusion (3D effects)

 * Read
 * Read
 * You will need your 3d


 * Install compiz-fusion

su -c 'yum -y install compiz-fusion-extras libcompizconfig ccsm compiz-manager libcompizconfig'


 * For gnome these additional software are helpful

su -c 'yum -y install compiz-fusion-extras-gnome fusion-icon-gtk'


 * To start it up run the following

compiz-manager


 * To start it up on boot do the following go to the following menu's

System > Preferences > Personal > Sessions > Startup Programs

Installing a Media Player (Mplayer/Kplayer)
A movie player that can play propietary codecs.

You need to have the RPM Fusion enabled.

su -c 'yum -y install mplayer-gui'
 * For gnome

su -c 'yum -y install kplayer'
 * For KDE

Installing a Media Player (Xine)
Another Movie Player

You need to have the RPM Fusion enabled.

su -c 'yum -y install xine'

Enabling Extra Codecs
su -c 'yum -y install xine-lib-extras-nonfree'

Installing a Media Player (VLC)
You need to have the RPM Fusion enabled.

su -c 'yum -y install vlc'

DVD Playback

 * Read
 * Read

This will enable dvd playback in Fedora.

su -c 'yum -y install libdvdread'

Windows Codecs (ALL video players)

 * Read
 * Install wget first (sometimes not installed by default)

su -c 'yum -y install wget'


 * This 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 '

MP3 Playback
This will enable MP3 playback.

You need to have the RPM Fusion enabled.

Gnome
This will enable MP3 playback using gstreamer in gnome.

su -c 'yum -y install gstreamer-plugins-ugly libmad libid3tag id3v2'

KDE
This 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 has been a new feature since Fedora 9. It should be installed by default.  If not 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 you instantly find, edit and share all the pictures on your computer. Every time you open Picasa, it automatically locates all your pictures (even ones you forgot you had) and sorts them into visual albums organized by date with folder names you will recognize. You can drag and drop to arrange your albums and make labels to create new groups. Picasa makes sure your pictures are always organized.

You will need to have the Google Repo installed.

su -c 'yum install picasa'

Google Desktop
Google Desktop is a desktop search application that gives you easy access to information on your computer and from the web. Desktop makes searching your own email, files, music, photos, and more as easy as searching the web with Google.

You will need to have the Google Repo installed.

su -c 'yum --enablerepo=google install google-desktop-linux'

How to install ID3 Tag Editor (EasyTAG)

 * Read
 * Read

yum --enablerepo=freshrpms install easytag


 * Applications -> Sound & Video -> EasyTAG

How to install Video Editor (Kino)

 * Read
 * Read

su -c 'yum -y install kino'


 * Applications -> Sound & Video -> Kino

How to install K9copy

 * Read
 * Read

su -c 'yum install k9copy'

How to install DVD Ripper (dvd::rip)

 * Read
 * Read

su -c 'yum --enablerepo=atrpms install dvdrip'

Speed Up Firefox Web Browser Tips

 * Applications -> Internet -> Firefox Web Browser

Address Bar -> about:config Filter: -> network.dns.disableIPv6 -> true network.http.pipelining -> true network.http.pipelining.maxrequests -> 8 network.http.proxy.pipelining -> true
 * Mozilla Firefox


 * Restart Mozilla Firefox

How to disable beep sound for link find function in Mozilla Firefox

 * Applications -> Internet -> Firefox Web Browser


 * Mozilla Firefox

Address Bar -> about:config Filter: accessibility.typeaheadfind.enablesound -> false


 * Restart Mozilla Firefox

Setting the backspace button to go to a previous page

 * Applications -> Internet -> Firefox Web Browser


 * Mozilla Firefox

Address Bar -> about:config Filter: -> browser.backspace_action -> 0


 * Restart Mozilla Firefox

Close the Download dialog quicker

 * Go to Applications -> Internet -> Firefox Web Browser


 * Put in your address bar

Address Bar -> about:config

Filter the configs options

Filter: -> alerts.totalOpenTime -> 500

Reduce the quantity of popups

 * Load Mozilla Firefox


 * Applications -> Internet -> Firefox Web Browser


 * Put in your address bar

Address Bar -> about:config


 * Filter the config options and change it to a reasonable number

Filter: -> dom.popup_maximum -> 5

Speed improvements using tmpfs

 * Load Mozilla Firefox


 * Applications -> Internet -> Firefox Web Browser


 * Put in your address bar

Address Bar -> about:config


 * Right click anywhere in the browser window and select

New -> String


 * Type in:

browser.cache.disk.parent_directory


 * press OK, and type in the new window:

/tmp


 * press OK


 * See also

Improving your bandwidth
This guide was taken from the ubuntu guide


 * Open the sysctl.conf file for editing and backup your previous sysctl.conf file

su -c 'cp /etc/sysctl.conf /etc/sysctl.conf.backup' su -c 'gedit /etc/sysctl.conf'


 * Add the following lines

net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_rmem = 4096 87380 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216 net.ipv4.tcp_no_metrics_save = 1 net.ipv4.tcp_moderate_rcvbuf = 1 net.core.netdev_max_backlog = 2500 net.ipv4.tcp_sack = 0 net.ipv4.tcp_window_scaling = 1
 * 1) increase TCP max buffer size setable using setsockopt
 * 1) increase Linux autotuning TCP buffer limits
 * 2) min, default, and max number of bytes to use
 * 3) set max to at least 4MB, or higher if you use very high BDP paths
 * 1) don't cache ssthresh from previous connection
 * 1) recommended to increase this for 1000 BT or higher
 * 1) for 10 GigE, use this, uncomment below
 * 2) net.core.netdev_max_backlog = 30000
 * 3) Turn off timestamps if you're on a gigabit or very busy network
 * 4) Having it off is one less thing the IP stack needs to work on
 * 5) net.ipv4.tcp_timestamps = 0
 * 6) disable tcp selective acknowledgements.
 * 1) enable window scaling


 * Save it and close it. Run the following command

su -c '/sbin/sysctl -p'

Swappiness

 * You can change how agressively Fedora uses swap space by changing its "swappiness". To do this, specify the sysctl vm.swappiness parameter with a number between 0-100.  A value of 0 means "only swap when out of memory", while 100 means "proactively swap out as many unused pages as possible to free up memory".  The default value is 60.


 * To set the value for the running machine, enter:

sysctl -w vm.swappiness=NN

where NN is the desired value.


 * To make the change take effect on every reboot, open the sysctl.conf file for editing and backup your previous sysctl.conf file

su -c 'cp /etc/sysctl.conf /etc/sysctl.conf.backup' su - -c 'gedit /etc/sysctl.conf'


 * Add the following line

vm.swappiness = NN

where NN is the desired value.

Noatime

 * Noatime affects how often the system updates your time in your computer. This is a significant loss in speed according to the kernel Devs. To speed it up do the following modifications.


 * Edit your fstab file and back it up

su -c 'cp /etc/fstab /etc/fstab.backup' su -c 'gedit /etc/fstab'

UUID=5f7e8362-66d0-4806-b2cf-61eb74200001      /                       ext4    defaults        1 1 UUID=5f7e8362-66d0-4806-b2cf-61eb74200022      /home                   ext3    defaults        1 2 UUID=5f7e8362-66d0-4806-b2cf-61eb74200333      /boot                   ext3    defaults        1 2 tmpfs                  /dev/shm                tmpfs   defaults        0 0 devpts                 /dev/pts                devpts  gid=5,mode=620  0 0 sysfs                  /sys                    sysfs   defaults        0 0 proc                   /proc                   proc    defaults        0 0 UUID=5f7e8362-66d0-4806-b2cf-61eb74204444        swap                    swap    defaults        0 0
 * Where the mount option says defaults you should add some more text.
 * Before:

UUID=5f7e8362-66d0-4806-b2cf-61eb74200001      /                       ext4    defaults,noatime        1 1 UUID=5f7e8362-66d0-4806-b2cf-61eb74200022      /home                   ext3    defaults,noatime        1 2 UUID=5f7e8362-66d0-4806-b2cf-61eb74200333      /boot                   ext3    defaults,noatime        1 2 tmpfs                  /dev/shm                tmpfs   defaults        0 0 devpts                 /dev/pts                devpts  gid=5,mode=620  0 0 sysfs                  /sys                    sysfs   defaults        0 0 proc                   /proc                   proc    defaults        0 0 UUID=5f7e8362-66d0-4806-b2cf-61eb74204444        swap                    swap    defaults        0 0
 * After:


 * Notice the only modification is to the lines that mount my default partitions. After the editing has been completed you will need to restart your computer for it to take effect.


 * If you don't wish to reboot the computer, you may also remount the partitions of the live system:

su -c 'mount / -o remount' su -c 'mount /home -o remount'

Preload

 * Preload is an adaptive readahead daemon, that will monitor which programs you use most. Parts of these programs will be cached to speed up their load time. You can get it by running the following command:

su -c 'yum -y install preload'


 * After having installed it, remember to check if it's running and if it's enabled to start at boot time. You may do this by going to System -> Administration -> Services and scrolling down to the "preload" entry: if it isn't checked, check it (click on the "Enable" button).

Speed improvements using tmpfs

 * Use tmpfs for frequently use temp folders.


 * Add the following to /etc/fstab

tmp    /tmp      tmpfs rw,mode=1777,fscontext=system_u:object_r:tmp_t:s0 0 0 vartmp /var/tmp  tmpfs rw,mode=1777,fscontext=system_u:object_r:tmp_t:s0 0 0
 * 1) RAM Drives ####

prevents deletion of files belonging to other users. in Fedora 11. Without it, many services will be prevented from writing to the directories.
 * The "mode=1777" option sets the "sticky bit" on the mount, which allows all users write access, but
 * The "fscontext=system_u:object_r:tmp_t:s0" option is needed for SELinux, which is enabled by default
 * As this change is important for SSD (Solid State Drive) systems, it also make significant impact on applications such as Win4LinPro

Gnome Menu (delay)

 * This is a simple alteration that will speed up your gnome menu load up.

echo "gtk-menu-popup-delay = 0" >> ~/.gtkrc-2.0

Gnome Menu Editing
su -c 'yum -y install alacarte'
 * To modify the menu's / add your own programs install Alacarte.
 * The Alacarte program is cal Main Menu, is is under System -> Preferences -> Main Menu

Konqueror tabs (close buttons)

 * Open the following file in Kedit

kedit ~/.kde/share/config/konquerorrc


 * Now you will either need to add the following to the [FMSettings] or add [FMSettings] to the file. I will assume that you don't have the [FMSettings].

[FMSettings] AddTabButton=false CloseTabButton=false HoverCloseButton=true

Viewing info pages in Konqueror/Run

 * To view an info/man page in Konqueror all you have to do is:

info:progname


 * Where progname is the program name such as:

info:bash


 * You put this in the address bar of Konqueror. To do this using man all you have to do is change the line to the following:

man:progname


 * Where progname is the program name such as:

man:yum


 * You can do this using Konqurero or Run (pushing Alt+F2)

Searching with Google in Konqueror/Run

 * To search using Konqueror/Run using google you can simple type:

gg:yoursearch


 * Such as

gg:fedoraguide


 * You can do this using Konqueror or Run (pushing Alt+F2)


 * To alter the standard search engine used Konqueror go to. (Thanks to Kim)

settings->configure konqueror->Web Shortcuts

Auto-correct typos

 * Bash has a build in command called shopt which helps to find errors this may be helpful.
 * To enable it start the following

shopt -s cdspell


 * Test it

cd /hme/marc /home/marc

Ignore Case for filenames

 * Using the same program as above you can change bash to search ignoring case for programs

shopt -s nocaseglob


 * What you do then is when you push tab to find a filename bash will do a case insensitive search

Make a file completely secure

 * To make a file completely safe even as the root user run the following command.

su -c 'chattr +i myfile'


 * This will make the file extra secure. To remove it run the following command

su -c 'chattr -i myfile'

Running old commands

 * To run old commands that you aren't sure about try:

history | grep -i "searchvalue"

Renaming a lot of files

 * Sometimes people forget to add file types to the end of files you can do this running the following command.

rename file newfile file rename ipw3945howto ipw3945howto.txt ipw3945howto

Deleting securely

 * In Fedora there is program that will completely delete your files. The man page explains it like this Overwrite the specified FILE(s) repeatedly, in order to make it harder for even very expensive hardware probing to recover the data.

shred -z -u yourfile

Watching logs

 * There are several ways to follow what is going on in your logs. One way is to use the program watch

su -c 'watch /var/log/messages'


 * Another way is to use the tail command

su -c 'tail -f /var/log/messages'


 * The -f command means to follow the log. This will show any updates to the your messages log file

Firefox Plugins
This section will install some basic browser plugins for firefox which is the default browser in Fedora 7.

Flash
First install repository.


 * Install the Flash Plugin

su -c 'yum install flash-plugin'


 * If you don't hear audio during playback of flash video just install packet called libflashsupport

su -c 'yum install libflashsupport'

Installation without repository: su -c 'rpm -ivh http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-10.1.53.64-release.i386.rpm'
 * Install Flash Player 10:


 * 64bit Flash

Make sure to uninstall flash-plugin, libflashsupport and nspluginwrapper before you do these steps wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz tar xvzf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz -C ~/.mozilla/plugins Restart Firefox.

Please note, that the above 64bit version may not be up to date and there may be security issues with that version. Adobe has temporarily closed it's Labs program for 64bit flash. More information: http://labs.adobe.com/technologies/flashplayer10/64bit.html

Java (Openjdk)

 * The new Fedora Open JDK that is part of Fedora can be used for as far as I can tell every java application I have come across. There seems to be no reason to follow either method listed below.


 * To install the Java runtime environment

su -c 'yum install java-1.6.0-openjdk-plugin'


 * To install the Java development kit

su -c 'yum install java-1.6.0-openjdk-devel'

Sun Java (Method 1)
This method WORKS on Fedora 13

There are several methods to install the Sun Java Runtime Environment. It has not been completely open sourced so it is not included in Fedora at this stage. This will change in the future when Sun has completely open sourced this package.

Some packages need to be installed initially to complement the installation. su -c 'yum install compat-libstdc++-33 compat-libstdc++-296' You will then need to update the library links. su -c '/sbin/ldconfig' You will need to download the Java Package.

You need to download the *.bin file. Currently the file is Java Runtime Environment (JRE) 6 update 21. (jre-6u21-linux-i586.bin)

You will need to be root su --login Switch to the correct directory cd /opt You will need to run the binary file. sh /home/marc/Desktop/jre-6u21-linux-i586.bin Link the plugins into the browser directory ln -s /opt/jre1.6.0_20_i586/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so Create a java.sh script. /etc/profile.d/java.sh

=
========= export JAVA_HOME=/opt/jre1.6.0_21_i586/ export PATH=$JAVA_HOME/bin:$PATH In the terminal: source /etc/profile.d/java.sh Type the following /usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.6.0_21_i586/bin/java 2 Configure the java version /usr/sbin/alternatives --config java Enable the Sun JRE as the default package There are 2 programs which provide 'java'. Selection   Command ---         *+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java 2          /opt/jre1.6.0_21_i586/bin/java Enter to keep the current selection[+], or type selection number: Type the following: 2 Test to see if it is enabled you should see it installed. /usr/sbin/alternatives --display java
 * Restart firefox to make sure firefox is making use of the java go to the following website.
 * It seems that this bug is fixed with a new version of libxcb. You can find more info at this Bugzilla reference

Sun Java (Method 2 - jdk-6u4-linux-i586.bin version)

 * Read the
 * You will need have the

Some packages need to be installed initially to complement the installation. su -c 'yum install compat-libstdc++-33 compat-libstdc++-296' You will then need to update the library links. su -c '/sbin/ldconfig'


 * You will need to download the Java package from Sun. When you download you will need to download the *bin file NOT the *rpm file. Current version is jdk-6u4-linux-i586.bin
 * You will need to install some pre-requisite packages.

su -c 'yum install rpm-build yum-utils'


 * Switch to root

su --login


 * Move the files to the appropriate directory and create the directories.

rpmdev-setuptree mv /home/desktop/YourUsername/jdk* /usr/src/redhat/SOURCES/


 * Switch to the directory

cd /usr/src/redhat/SRPMS/


 * Get the Source RPM

wget http://mirrors.dotsrc.org/jpackage/1.7/generic/non-free/SRPMS/java-1.6.0-sun-1.6.0.4-1jpp.nosrc.rpm


 * Rebuild the RPM

setarch i586 rpmbuild --rebuild java-1.6.0-sun-1.6.0.4-1jpp.nosrc.rpm


 * Delete some files that can't be installed on Fedora

rm -f /usr/src/redhat/RPMS/i586/java-1.6.0-sun-fonts* /usr/src/redhat/RPMS/i586/java-1.6.0-sun-jdbc*


 * Install the rpm's

yum --nogpgcheck localinstall /usr/src/redhat/RPMS/i586/java-1.6.0-sun-*


 * Create the link so that it works in Firefox

ln -s /usr/lib/jvm/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/


 * Check to see if it is functioning at java if it shows the wrong version do the following steps.

There are 2 programs which provide 'java'. Selection   Command ---         *+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java 2          /opt/jre1.6.0_04/bin/java Enter to keep the current selection[+], or type selection number: Type the following: 2 Test to see if it is enabled you should see it installed.
 * Enable the Sun JRE as the default package

/usr/sbin/alternatives --display java
 * Restart firefox to make sure firefox is making use of the java go to the following website.
 * It seems that this bug is fixed with a new version of libxcb. You can find more info at this Bugzilla reference

Sun Java (Method 2 - jdk-6u4-linux-i586.bin version)

 * Read the
 * You will need have the

Some packages need to be installed initially to complement the installation. su -c 'yum install compat-libstdc++-33 compat-libstdc++-296' You will then need to update the library links. su -c '/sbin/ldconfig'


 * You will need to download the Java package from Sun. When you download you will need to download the *bin file NOT the *rpm file. Current version is jdk-6u4-linux-i586.bin
 * You will need to install some pre-requisite packages.

su -c 'yum install rpm-build yum-utils'


 * Switch to root

su --login


 * Move the files to the appropriate directory and create the directories.

rpmdev-setuptree mv /home/desktop/YourUsername/jdk* /usr/src/redhat/SOURCES/


 * Switch to the directory

cd /usr/src/redhat/SRPMS/


 * Get the Source RPM

wget http://mirrors.dotsrc.org/jpackage/1.7/generic/non-free/SRPMS/java-1.6.0-sun-1.6.0.4-1jpp.nosrc.rpm


 * Rebuild the RPM

setarch i586 rpmbuild --rebuild java-1.6.0-sun-1.6.0.4-1jpp.nosrc.rpm


 * Delete some files that can't be installed on Fedora

rm -f /usr/src/redhat/RPMS/i586/java-1.6.0-sun-fonts* /usr/src/redhat/RPMS/i586/java-1.6.0-sun-jdbc*


 * Install the rpm's

yum --nogpgcheck localinstall /usr/src/redhat/RPMS/i586/java-1.6.0-sun-*


 * Create the link so that it works in Firefox

ln -s /usr/lib/jvm/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/


 * Check to see if it is functioning at java if it shows the wrong version do the following steps.

There are 2 programs which provide 'java'. Selection   Command ---         *+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java 2          /opt/jre1.6.0_04/bin/java Enter to keep the current selection[+], or type selection number: Type the following: 2 Test to see if it is enabled you should see it installed.
 * Enable the Sun JRE as the default package

Sun Java (x86_64)

 * You want to run signed applications in your 64bit firefox browser.

Got to Sun Java Download Page and download and save the x64bit RPM version.

Unpack and extract the RPM from the Sun Java x86_64 'bin' file downloaded:

cd ./Download sh ./jre-6u17-linux-x64-rpm.bin Answer 'yes' and accept the Sun License

Install the RPM and link the plugins to firefox's directory

su -c 'rpm -i jre-6u16-linux-amd64.rpm' su -c 'update-alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/latest/jre/lib/amd64/libnpjp2.so 99' su -c 'update-alternatives --config libjavaplugin.so'


 * Restart firefox to make sure firefox is making use of the java go to the following website.

Mplayer (Watching Movies)
If you want to watch movies like avi's in your browser.

You need to have the RPM Fusion enabled.

su -c 'yum install mplayerplug-in'

Xine (Watching Movies)
If you want to watch movies like avi's in your browser.

You need to have the RPM Fusion enabled.

su -c 'yum install totem-xine-mozplugin'

How to play the mms protocol
How to handle mms protocol in Mozilla Firefox


 * Open your firefox.
 * Type as url: about:config


 * Now just right click somewhere into the main window. A little box with options to choose will appear. Choose "new", then "string".


 * Then copy the following line into the appearing text field:

network.protocol-handler.app.mms


 * Into the next text field copy this:

/usr/bin/mplayer


 * Now you do the same thing again, but this time you do not choose "string" but "boolean", and the line to copy is:

network.protocol-handler.external.mms


 * Then set

true

How to play Quicktime files
You need to have the RPM Fusion enabled.

su -c 'yum install libquicktime'

Link Adobe Acrobat to the mozilla plugins

 * Read

Linking to the mozilla plugins folder will allow you to view the pdf in the browser instead of viewing with Acrobat Reader

cd /usr/lib/mozilla/plugins su -c 'ln -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so'

How to blank a CD/DVD
You can do this with the software listed below

This is what you can do quickly in the console.


 * Put the CD/DVD in

su -c 'umount /dev/cdrom' cdrecord dev=/dev/cdrom blank=fast


 * Just a clarification, I cdrecord is not installed on FC9 at all, rather there is a program called "wodim" which is linked to cdrecord. Wodim is a modified version of an old version of cdrecord, not the current program from the original author.

GnomeBaker
A burning utility known as Gnome-Baker

su -c 'yum install gnomebaker'

K3B
K3B is a burning program with similar functionalities to closed source Nero

su -c 'yum install k3b'


 * To enable MP3 and other proprietary support in K3B

su -c 'yum install k3b-extras-nonfree' If the above tells you "No package k3b-extras-nonfree available" then use su -c 'yum install k3b-extras-freeworld'

CD/DVD Creator
Places -> CD/DVD Creating

Then when loaded.

File Menu -> Write to Disc

How to Burn an Image (iso) to Disc
Right click on image (ISO) file -> Write to Disc

How to Create an Image (iso) File

 * Using a folder as the data

mkisofs -r -o file.iso /location_of_folder/


 * Creating an iso from a CD/DVD

su -c 'umount /dev/cdrom' readcd dev=/dev/cdrom f=file.iso

How to Un/Mount an Image (iso) without burning it

 * To mount your file.iso

mkdir ~/your_disc/ su -c 'mount file.iso ~/your_disc -t iso9660 -o loop'

To access your file.iso you can go into the directory ~/your_disc


 * To unmount your file.iso

su -c 'umount ~/your_disc/'

How to generate MD5 checksum files

 * Read

md5sum file.iso > file.iso.md5

How to check MD5 checksum of files

 * Read


 * e.g. Assumed that file.iso and file.iso.md5 are in the same folder

md5sum -c file.iso.md5

How to set/change the burn speed for CD/DVD Burner

 * Read
 * Applications -> System Tools -> Configuration Editor
 * Configuration Editor

/ -> apps -> nautilus-cd-burner -> default_speed (set/change the burn speed)

How to enable burnproof for CD/DVD Burner

 * Read
 * Applications -> System Tools -> Configuration Editor
 * Configuration Editor

/ -> apps -> nautilus-cd-burner -> burnproof (Checked)

How to enable overburn for CD/DVD Burner

 * Read
 * Applications -> System Tools -> Configuration Editor
 * Configuration Editor

/ -> apps -> nautilus-cd-burner -> overburn (Checked)

Installing a Music Player (Songbird)

 * Read


 * Songbird RPM's are available from the official Songbird contribution website. To install, follow the link and download either the i386 rpm for 32 bit installs or the x86_64 rpm for 64 bit installs.


 * Once downloaded install manually using the following line as an example:

su -c 'rpm -Uvh songbird-1.1.1-1.fc10.i386.rpm'


 * Please note the the following packages are required in order to have full playback capabilities:

su -c 'yum -y install gstreamer gstreamer-plugins-base gstreamer-plugins-good gstreamer-plugins-ugly' su -c 'yum -y install gstreamer-ffmpeg plugins-ugly gstreamer-plugins-flumpegdemux gstreamer-plugins-bad'

XMMS (playing mp3's)
How to play MP3's using a program such as xmms.

You need to have the RPM Fusion enabled.

Setting Winamp Presets in XMMS
You will need to have installed XMMS from above.

gedit ~/.xmms/eq.preset
 * Create a file in your home directory


 * Add this into the file.
 * WinAmp EQ presets for XMMS. converted by Urpo Lankinen 
 * Do whatever you want with these. I don't care. No warranty
 * expressed or implied. (And if you blast your speakers with these.
 * It's Nullsoft's fault anyway =)
 * It's Nullsoft's fault anyway =)

[Presets] Preset0=(WinAmp) Classical Preset1=(WinAmp) Club Preset2=(WinAmp) Dance Preset3=(WinAmp) Full Bass Preset4=(WinAmp) Full Bass & Treble Preset5=(WinAmp) Full Treble Preset6=(WinAmp) Laptop Speakers / Headphones Preset7=(WinAmp) Large Hall Preset8=(WinAmp) Live Preset9=(WinAmp) Party Preset10=(WinAmp) Pop Preset11=(WinAmp) Reggae Preset12=(WinAmp) Rock Preset13=(WinAmp) Ska Preset14=(WinAmp) Soft Preset15=(WinAmp) Soft rock Preset16=(WinAmp) Techno

[(WinAmp) Classical] Preamp=-1.11022e-15 Band0=-1.11022e-15 Band1=-1.11022e-15 Band2=-1.11022e-15 Band3=-1.11022e-15 Band4=-1.11022e-15 Band5=-1.11022e-15 Band6=-7.2 Band7=-7.2 Band8=-7.2 Band9=-9.6

[(WinAmp) Club] Preamp=-1.11022e-15 Band0=-1.11022e-15 Band1=-1.11022e-15 Band2=8 Band3=5.6 Band4=5.6 Band5=5.6 Band6=3.2 Band7=-1.11022e-15 Band8=-1.11022e-15 Band9=-1.11022e-15

[(WinAmp) Dance] Preamp=-1.11022e-15 Band0=9.6 Band1=7.2 Band2=2.4 Band3=-1.11022e-15 Band4=-1.11022e-15 Band5=-5.6 Band6=-7.2 Band7=-7.2 Band8=-1.11022e-15 Band9=-1.11022e-15

[(WinAmp) Full Bass] Preamp=-1.11022e-15 Band0=-8 Band1=9.6 Band2=9.6 Band3=5.6 Band4=1.6 Band5=-4 Band6=-8 Band7=-10.4 Band8=-11.2 Band9=-11.2

[(WinAmp) Full Bass & Treble] Preamp=-1.11022e-15 Band0=7.2 Band1=5.6 Band2=-1.11022e-15 Band3=-7.2 Band4=-4.8 Band5=1.6 Band6=8 Band7=11.2 Band8=12 Band9=12

[(WinAmp) Full Treble] Preamp=-1.11022e-15 Band0=-9.6 Band1=-9.6 Band2=-9.6 Band3=-4 Band4=2.4 Band5=11.2 Band6=16 Band7=16 Band8=16 Band9=16.8

[(WinAmp) Laptop Speakers / Headphones] Preamp=-1.11022e-15 Band0=4.8 Band1=11.2 Band2=5.6 Band3=-3.2 Band4=-2.4 Band5=1.6 Band6=4.8 Band7=9.6 Band8=12.8 Band9=14.4

[(WinAmp) Large Hall] Preamp=-1.11022e-15 Band0=10.4 Band1=10.4 Band2=5.6 Band3=5.6 Band4=-1.11022e-15 Band5=-4.8 Band6=-4.8 Band7=-4.8 Band8=-1.11022e-15 Band9=-1.11022e-15

[(WinAmp) Live] Preamp=-1.11022e-15 Band0=-4.8 Band1=-1.11022e-15 Band2=4 Band3=5.6 Band4=5.6 Band5=5.6 Band6=4 Band7=2.4 Band8=2.4 Band9=2.4

[(WinAmp) Party] Preamp=-1.11022e-15 Band0=7.2 Band1=7.2 Band2=-1.11022e-15 Band3=-1.11022e-15 Band4=-1.11022e-15 Band5=-1.11022e-15 Band6=-1.11022e-15 Band7=-1.11022e-15 Band8=7.2 Band9=7.2

[(WinAmp) Pop] Preamp=-1.11022e-15 Band0=-1.6 Band1=4.8 Band2=7.2 Band3=8 Band4=5.6 Band5=-1.11022e-15 Band6=-2.4 Band7=-2.4 Band8=-1.6 Band9=-1.6

[(WinAmp) Reggae] Preamp=-1.11022e-15 Band0=-1.11022e-15 Band1=-1.11022e-15 Band2=-1.11022e-15 Band3=-5.6 Band4=-1.11022e-15 Band5=6.4 Band6=6.4 Band7=-1.11022e-15 Band8=-1.11022e-15 Band9=-1.11022e-15

[(WinAmp) Rock] Preamp=-1.11022e-15 Band0=8 Band1=4.8 Band2=-5.6 Band3=-8 Band4=-3.2 Band5=4 Band6=8.8 Band7=11.2 Band8=11.2 Band9=11.2

[(WinAmp) Ska] Preamp=-1.11022e-15 Band0=-2.4 Band1=-4.8 Band2=-4 Band3=-1.11022e-15 Band4=4 Band5=5.6 Band6=8.8 Band7=9.6 Band8=11.2 Band9=9.6

[(WinAmp) Soft] Preamp=-1.11022e-15 Band0=4.8 Band1=1.6 Band2=-1.11022e-15 Band3=-2.4 Band4=-1.11022e-15 Band5=4 Band6=8 Band7=9.6 Band8=11.2 Band9=12

[(WinAmp) Soft rock] Preamp=-1.11022e-15 Band0=4 Band1=4 Band2=2.4 Band3=-1.11022e-15 Band4=-4 Band5=-5.6 Band6=-3.2 Band7=-1.11022e-15 Band8=2.4 Band9=8.8

[(WinAmp) Techno] Preamp=-1.11022e-15 Band0=8 Band1=5.6 Band2=-1.11022e-15 Band3=-5.6 Band4=-4.8 Band5=-1.11022e-15 Band6=8 Band7=9.6 Band8=9.6 Band9=8.8


 * Save the file

Open the equalizer -> Click Preset -> Load -> Presets
 * Load the preset from within xmms

su -c 'yum install xmms-mp3'

Amarok (with mp3 support)
You need to have the RPM Fusion enabled.

su -c 'yum install amarok amarok-extras-nonfree'

Audacious (with mp3 support)
You need to have the RPM Fusion enabled.

su -c 'yum install audacious audacious-plugins-nonfree-mp3'
 * There are numerous plugins that are available.

How to install Multimedia Player (RealPlayer 10)

 * Read
 * Read

su -c 'yum -y install compat-libstdc++-33'


 * Download RealPlayer Gold from here.
 * Install it.
 * Assumed that .rpm file has been downloaded to your Desktop, because Firefox by default downloads everything to your Desktop

su -c 'rpm -ivh Desktop/RealPlayer10GOLD.rpm' su -c 'yum remove HelixPlayer'


 * Applications -> Sound & Video -> RealPlayer 10

How to install Stream Directory Browser (streamtuner)
wget -c ftp://ftp.freshrpms.net/pub/dag/dries/packages/streamtuner/fc5-i386/streamtuner-0.99.99-1.fc5.rf.i386.rpm
 * Read
 * Read

su -c 'rpm -ivh streamtuner-0.99.99-1.fc5.rf.i386.rpm' su -c 'rm -f streamtuner-0.99.99-1.fc5.rf.i386.rpm'


 * or

su -c 'yum --enablerepo=freshrpms install streamtuner'


 * Applications -> Sound & Video -> streamtuner

How to extract RAR files (rar)
Rar files are starting to be used extensively on the internet. You can install the package in Fedora.

You need to have the RPM Fusion enabled.

su -c 'yum install unrar'

Audio Editor (Audacity)
You need to have the RPM Fusion enabled.

This will enable the non-free aspects of audacity. su -c 'yum install audacity-nonfree'

Google Earth

 * You will need either the nvidia or ATI drivers installed to view the graphics properly. It is unsure whether Google Earth will work when F8 is released. I will update this when I know further.

here.]
 * Download Google Earth either using wget or from [http://dl.google.com/earth/client/current/GoogleEarthLinux.bin

wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin


 * Run the associated bin file.

sh GoogleEarthLinux.bin


 * Note: There are issues relating to the latest ATI drivers (8.40.4)with Google Earth. A solution has been found. Please read this post for a way of solving it.

How to view NTFS partitions
Getting access to your windows partitions are easier now.

su -c 'yum install ntfs-3g ntfs-config'

How to configure NTFS partitions using ntfs-config

 * You can setup ntfs partition manually which is explained how to do in a paragraphs beneath this, or just use ntfs-config utility that does that automatically for you. Please first backup your /etc/fstab file before you do anything so you can revert back if you make a mess out of it.

su -c 'cp /etc/fstab /etc/fstab.original'


 * Then just start ntfs-config

su -c 'ntfs-config'

Setting up Windows Partition folders

 * You will need to create a folder which you can 'mount' your windows partition in.

su -c 'mkdir /media/windows'


 * If you mount your partitions in /media directory they show up in "Removable media" under Places menue in Gnome and on Desktop. If you don't want your partitions showing there mount then under some other directory; for example unders /mnt.

su -c '/sbin/fdisk -l' Disk /dev/sda: 200.0 GB, 200048565760 bytes 255 heads, 63 sectors/track, 24321 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
 * Now you need to locate your windows partition, do this with the following command.
 * That command should return something similar to the following.

Device Boot     Start         End      Blocks   Id  System /dev/sda1  *           1       11572    92952058+   7  HPFS/NTFS /dev/sda2          11573       23321    94373842+  83  Linux /dev/sda3          23322       24321     8032500   82  Linux swap / Solaris

Disk /dev/sdb: 200.0 GB, 200048565760 bytes 255 heads, 63 sectors/track, 24321 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot     Start         End      Blocks   Id  System /dev/sdb1  *           1       24321   195358401    b  W95 FAT32 su -c 'nano /etc/fstab' /dev/sda1  /media/windows ntfs-3g    defaults,fmask=0000,dmask=0000,uid=500   0 0 su -c 'mount -a'
 * Now an entry is needed in the files system table, to do so enter the following.
 * Now in text editor make and entry similar to the follwing as the last line of the file.
 * If your partition identifier is not "/dev/sda1" substitute the correct device. (For example it might be "/dev/sda1" if you have a SATA /SCSI drive.) Once the new line is added press ctrl+o, at the File Name to Write: /etc/fstab prompt; press enter, this will save the file. Then press ctrl+x to exit the editor. Now you need to mount your new partitions.
 * At the prompt enter your root password and press enter.
 * Close the terminal.
 * Your Windows partition should now be available in Nautilus under "/media/windows".

How to mount/unmount Windows partitions (NTFS) manually, and allow all users to read only

 * Read
 * Read
 * Read


 * e.g. Assumed that /dev/hda1 is the location of Windows partition (NTFS)
 *   Local mount folder: /media/windows


 * To mount Windows partition

su -c 'mkdir /media/windows' su -c 'mount /dev/hda1 /media/windows/ -t ntfs-3g -o nls=utf8,umask=0222'


 * To unmount Windows partition

su -c 'umount /media/windows/'

How to mount/unmount Windows partitions (FAT) manually, and allow all users to read/write

 * Read
 * Read


 * e.g. Assumed that /dev/hda1 is the location of Windows partition (FAT)
 *   Local mount folder: /media/windows


 * To mount Windows partition

su -c 'mkdir /media/windows' su -c 'mount /dev/hda1 /media/windows/ -t vfat -o iocharset=utf8,umask=000'


 * To unmount Windows partition

su -c 'umount /media/windows/'

How to mount Windows partitions (NTFS) on boot-up, and allow all users to read only

 * Read
 * Read
 * Read


 * e.g. Assumed that /dev/hda1 is the location of Windows partition (NTFS)
 *   Local mount folder: /media/windows

su -c 'mkdir /media/windows' su -c 'cp /etc/fstab /etc/fstab_backup' su -c 'gedit /etc/fstab'


 * Append the following line at the end of file

/dev/hda1   /media/windows ntfs-3g  nls=utf8,umask=0222 0    0


 * Save the edited file
 * Read

How to mount Windows partitions (FAT) on boot-up, and allow all users to read/write

 * Read
 * Read


 * e.g. Assumed that /dev/hda1 is the location of Windows partition (FAT)
 *   Local mount folder: /media/windows

su -c 'mkdir /media/windows' su -c 'cp /etc/fstab /etc/fstab_backup' su -c 'gedit /etc/fstab'


 * Append the following line at the end of file

/dev/hda1   /media/windows vfat  iocharset=utf8,umask=000  0    0


 * Save the edited file
 * Read

Bittorrent Clients
Fedora is released using bittorrent and it is the recommended way to download the Fedora ISO's. Here are some programs you can install to enable bittorrent.

Azureus
This is enabled in extras already.

su -c 'yum install azureus'

Bittorrent
The orginal bittorrent client.

su -c 'yum install bittorrent'

Bittorrent (gui)
The graphical interface to the bittorrent client.

su -c 'yum install bittorrent-gui'

Wine
Wine is one of the busiest and fastest changing emulators out on the market. You can find a lot of info relating to what windows programs work at the Wine Application DB

su -c 'yum install wine'

Utorrent
To install UTorrent you will need to install wine as stated above.

wine utorrent.exe

Fonts
After you install the fonts you need to log off and then log back on for the fonts to be enabled and functioning.

Free-type Freeworld
More information relating to fonts can be found on the Linux Font HOWTO.

The freetype-freeworld package uses a technique described in this bug report.

su -c 'yum install freetype-freeworld'

Microsoft Core Fonts
These fonts need to be built from the web so you will build an rpm package based on a SPEC file.

su -c 'yum install wget rpmdevtools rpmbuild cabextract ttmkfdir'


 * Then create the rpmdev directory

rpmdev-setuptree


 * Switch to your SPECS directory that you created in the previous step.

cd ~/rpmbuild/SPECS/


 * Download the spec file.

wget http://dl.atrpms.net/all/chkfontpath-1.10.1-2.fc11.x86_64.rpm wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
 * run the following command to build the rpm

rpmbuild -bb msttcorefonts-2.0-1.spec


 * Move to where the msttcorefonts rpm was created

cd ~/rpmbuild/RPMS/noarch/


 * Download and install the msttcorefonts and dependencies (

su -c 'rpm -ivh ~/rpmbuild/SPECS/chkfontpath-1.10.1-2.fc11.x86_64.rpm' su -c 'rpm -ivh msttcorefonts-2.0-1.noarch.rpm'


 * If you have installed the xfs fontserver (it is not installed by default in Fedora 11), then run the following code to reload it:

su -c '/sbin/service xfs reload'

Or

su -c '/etc/init.d/xfs reload'

Turn on smooth fonts
This will turn on smooth fonts.

gedit ~/.fonts.conf

You then need to enter this data into it.

 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">  true

Windows Messaging
To enable Windows Messaging on your computer you will need to install one program.

Amsn
su -c 'yum install amsn'

Pidgin
su -c 'yum install pidgin'

Internet Relay Chat (IRC)
You can connect to internet relay chat servers to communicate with other people.

XChat
su -c 'yum install XChat'


 * When installed you need to choose a server and log in name.


 * For more information

How to install Skype

 * Read
 * Read

su - cat < /etc/yum.repos.d/skype.repo [skype] name=Skype Repository baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/ gpgkey=http://gd.tuwien.ac.at/infosys/phone/skype/rpm-public-key.asc EOF
 * Add the following repository to your Fedora install.


 * Install skype

su -c 'yum -y install skype'

How to install Skype with Video on 64bit Fedora

 * Read

The skype 2.1 is release for 32bit only, however it is easy to make it working on a 64bit system. Just install the 32bit RPM described above or directly from the skype download website, and install the 32bit version of libv4l;

su -c 'yum -y install libv4l-0.6.3-1.fc11.i586'

The launch skype from command line (or modify your menu to do the equivalent of);

env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

How to install Download Manager (Downloader for X)

 * Read
 * Read

su -c 'yum -y install d4x'


 * Applications -> Internet -> Downloader for X

How to install FTP Client (gFTP)

 * Read
 * Read

su -c 'yum -y install gftp'


 * Applications -> Internet -> gFTP

How to install P2P eMule Client (aMule)

 * Read
 * Read

su -c 'yum -y install amule'


 * Applications -> Internet -> aMule

How to install Image Viewer (Gwenview)

 * Read
 * Read

su -c 'yum -y install gwenview'


 * Applications -> Graphics -> Gwenview

How to install Email Client (Mozilla Thunderbird)

 * Read
 * Read

su -c 'yum -y install thunderbird'


 * Applications -> Internet -> Thunderbird Mail Client

How to install Newsreader (Pan)

 * Read
 * Read

su -c 'yum -y install pan'


 * Applications -> Internet -> Pan Newsreader

How to install CHM viewer (GnoCHM)

 * Read
 * Read

su -c 'yum -y install gnochm'


 * Applications -> Accessories -> CHM Viewer

How to install RSS/RDF/Atom Newsreader (RSSOwl)

 * Read
 * Read
 * Read
 * Go to rssowl and download your version this example is for x86

su -c 'tar zxvf rssowl_1_2_3_linux_bin.tar.gz -C /opt/' su -c 'chown -R root:root /opt/rssowl_1_2_3_linux_bin/' su -c 'gedit /usr/bin/runRSSOwl.sh'


 * Insert the following lines

export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH} cd /opt/rssowl_1_2_3_linux_bin/ ./run.sh


 * Save the edited file

su -c 'chmod +x /usr/bin/runRSSOwl.sh' su -c 'gedit /usr/share/applications/RSSOwl.desktop'


 * Create a desktop file

[Desktop Entry] Name=RSSOwl Comment=RSSOwl Exec=runRSSOwl.sh Icon=/opt/rssowl_1_2_3_linux_bin/rssowl.xpm Terminal=false Type=Application Categories=Application;Network;


 * Save the edited filed
 * Applications -> Internet -> RSSOwl

How to install Web Authoring System (bluefish)

 * Read
 * Read

su -c 'yum -y install bluefish'


 * Applications --> Programming --> Bluefish Editor

How to install KDE Web Development Environment (quanta plus)

 * Read
 * Read

su -c 'yum -y install kdewebdev'


 * Applications -> Programming -> Quanta Plus

How to install Accounting Application (GnuCash)

 * Read
 * Read

su -c 'yum -y install gnucash'


 * Applications -> Office -> GnuCash

How to install Partition Editor (GParted)

 * Read
 * Read

su -c 'yum install gparted'


 * Applications -> System Tools -> GParted

How to install Firewall (Firestarter)

 * Read
 * Read

su -c 'yum install firestarter'


 * Applications -> System Tools -> Firestarter

How to install Firewall (Fedora Firewall)

 * Read
 * Read

su -c 'yum install system-config-firewall'


 * System -> Administration - Firewall

How to configure SELinux (Fedora SELinux)

 * Read
 * Read

su -c 'yum install system-config-selinux'


 * Applications -> System Tools -> SELinux Management

How to install network traffic analyzer (Wireshark)

 * Read
 * Read

su -c 'yum install wireshark wireshark-gnome'


 * Applications -> Internet -> Wireshark

How to install Desktop Publishing Application (Scribus)

 * Read
 * Read

su -c 'yum install scribus'


 * Applications -> Office -> Scribus

How to install Desktop Applets (gDesklets)

 * Read
 * Read

su -c 'yum install gdesklets'


 * Applications -> Accessories -> gDesklets
 * For more info see: http://gdesklets.gnomedesktop.org/

How to install Basic Compilers (gcc)

 * Read
 * Read

su -c 'yum install gcc gcc-c++'

How to set up a Development Environment

 * Read
 * Read


 * Add development repo

su -c 'gedit /etc/yum.repos.d/fedora-devel.repo'


 * Add the following lines to the new file

[development] name=Fedora - Development mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch enabled=1 gpgcheck=0
 * 1) baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/


 * Save the edited file

su -c 'yum groupinstall "Development Tools"'

How to install an Integrated Development Environment (Anjuta)

 * Read
 * Read

su -c 'yum install anjuta


 * Applications -> Programming -> Anjuta IDE

How to install a 3D modeling tool (Blender 3D)

 * Read
 * Read

su -c 'yum install blender'


 * Applications -> Graphics -> Blender 3D modeller

How to install a game Frozen-Bubble

 * Read
 * Read

su -c 'yum install frozen-bubble


 * Applications -> Games -> Frozen-Bubble
 * For more games see: http://games.linux.sk/ or http://www.tuxgames.com/

How to install virtual planetarium (Stellarium)

 * Read
 * Read

su -c 'yum install stellarium'


 * Applications -> Graphics -> Stellarium nightsky renderer

How to install the KDE Edutainment applications

 * Read
 * Read

su -c 'yum install kdeedu'


 * Applications -> Edutainment -> ...

Other Desktop Environments

 * Fedora generally comes with Gnome to install another desktop environment look below.

How to install KDE

 * Read
 * Read

su -c 'yum groupinstall kde'


 * Log Out
 * In sessions choose KDE
 * Log in

How to install XFCE

 * Read
 * Read

su -c 'yum groupinstall xfce'


 * Log out
 * In sessions choose xfce
 * Log in

How to install Windows 9x/ME/2000/XP (Win4Lin)

 * http://www.win4lin.com

How to install Windows Applications (CrossOver Office)

 * http://www.codeweavers.com

How to install Windows Games (Cedega)

 * http://www.transgaming.com

Install PPTP client software
su -c 'yum install pptp'

Installing PPTP Config
as root… # rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/fc11/pptp-release-current.noarch.rpm # yum –enablerepo=pptp-stable install pptpconfig

Configure PPTP Config
Launch it beneath Internet, there should be a new icon for it, then input the following fields as described:

Server Tab:
 * Name - short description of this connection
 * Server - dns server name or ip address of the target PPTP server
 * Domain - domain name if using Windows or Active Directory authentication
 * Username - simply your username to login with
 * Password - the password to use with the username above

Routing Tab: For Routing Style select 'Client to LAN'. Then click Edit Network Routes then add the target network in the following format "192.168.0.0/24' for all IP Addresses in the block 192.168.0.*. Next  type a short name for this network route and click Add.

DNS Tab: Checking Automatic is recommended, if this doesn't work however you can specify DNS Servers in the Server box. Also input something like "search mycompany.com" in the Options field which will make host name resolution simpler.

Encryption & Misc Tab: Defaults here should be good, but if you are troubleshooting you can uncheck everything.

Finally click Add then Start

How to configure Google Talk

 * See the answer at Google Talk Help Center

How to activate/deactivate network connections

 * Read
 * Desktop -> System Settings -> Network
 * Devices Tab
 * Activate/Deactivate

How to configure network connections

 * Read
 * Desktop -> System Settings -> Network
 * Network Configuration
 * Edit
 * Read

How to change computer name

 * Read

hostname your_desired_computer_name

How to change computer descriptions
su -c 'cp /etc/samba/smb.conf /etc/samba/smb.conf_backup' su -c 'gedit /etc/samba/smb.conf'
 * Read
 * Read


 * Find this line

...  server string = Samba Server ...


 * Replace with the following line

server string = new_computer_descriptions


 * Save the edited file, then check for errors and restart

testparm su -c '/etc/init.d/smb restart'


 * or

testparm su -c 'service smb restart'

How to change computer Domain/Workgroup

 * Read
 * Read

su -c 'cp /etc/samba/smb.conf /etc/samba/smb.conf_backup' su -c 'gedit /etc/samba/smb.conf'


 * Find this line

...  workgroup = MSHOME ...


 * Replace with the following line

workgroup = new_domain_or_workgroup


 * Save the edited file

testparm su -c '/etc/init.d/smb restart'

How to assign Hostname to local machine with dynamic IP using free DynDNS service

 * Read
 * Read


 * e.g. Assumed that internet connections have been configured properly 
 *   Register free Dynamic DNS at https://www.dyndns.org 
 *   Automatically refresh IP in DynDNS Database/DNS every hour 
 *   * * * * * means minute hour date month year

su -c 'yum install ipcheck' su -c 'gedit /root/dyndns_update.sh'


 * Insert the following lines into the new file

USERNAME=myusername PASSWORD=mypassword HOSTNAME=myhostname.dyndns.org

cd ~/ if [ -f /root/ipcheck.dat ]; then ipcheck -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME else ipcheck --makedat -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME fi

su -c 'chmod 700 ~/dyndns_update.sh' su -c 'sh ~//dyndns_update.sh' su -c 'export EDITOR=gedit && crontab -e'
 * Save the edited file


 * Append the following line at the end of file

00 * * * * sh /home/YourUsername/dyndns_update.sh


 * Save the edited file

How to share folders the easy way

 * Read
 * Read

Right click on folder -> Share folder

Shared folder -> Share with: Select "SMB" Share properties -> Name: Specify the share name

How to browse network computers

 * Read


 * e.g. Assumed that network connections have been configured properly
 *   If computers or network folders could not be found, try access them directly
 *   Read 


 * Places -> Network Servers

How to access network folders without mounting

 * Read


 * e.g. Assumed that network connections have been configured properly
 *   Network computer's IP: 192.168.0.1
 *   Shared folder's name: linux


 * Applications -> Run Application...
 * Run Application

smb://192.168.0.1/linux

How to mount/unmount network folders manually, and allow all users to read

 * Read
 * Read


 * e.g. Assumed that network connections have been configured properly
 *   Network computer's IP: 192.168.0.1
 *   Network computer's Username: myusername
 *   Network computer's Password: mypassword
 *   Shared folder's name: linux
 *   Local mount folder: /media/sharename


 * To mount network folder

su -c 'mkdir /media/sharename' su -c 'mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword'


 * To unmount network folder

su -c 'umount /media/sharename/'

How to mount/unmount network folders manually, and allow all users to read/write

 * Read
 * Read


 * e.g. Assumed that network connections have been configured properly
 *   Network computer's IP: 192.168.0.1
 *   Network computer's Username: myusername
 *   Network computer's Password: mypassword
 *   Shared folder's name: linux
 *   Local mount folder: /media/sharename


 * To mount network folder

su -c 'mkdir /media/sharename' su -c 'mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword,dmask=777,fmask=777'


 * To unmount network folder

su -c 'umount /media/sharename/'

How to mount network folders on boot-up, and allow all users to read

 * Read
 * Read


 * e.g. Assumed that network connections have been configured properly
 *   Network computer's IP: 192.168.0.1
 *   Network computer's Username: myusername
 *   Network computer's Password: mypassword
 *   Shared folder's name: linux
 *   Local mount folder: /media/sharename

su -c 'mkdir /media/sharename' su -c 'gedit ~/.smbcredentials'


 * Insert the following lines into the new file

username=myusername password=mypassword

chmod 700 ~/.smbcredentials su -c 'cp /etc/fstab /etc/fstab_backup' su -c 'gedit /etc/fstab'
 * Save the edited file


 * Append the following line at the end of file

//192.168.0.1/linux   /media/sharename cifs  credentials=/home/yourusername/.smbcredentials    0    0


 * Save the edited file
 * Read

How to mount network folders on boot-up, and allow all users to read/write

 * Read
 * Read


 * e.g. Assumed that network connections have been configured properly
 *   Network computer's IP: 192.168.0.1
 *   Network computer's Username: myusername
 *   Network computer's Password: mypassword
 *   Shared folder's name: linux
 *   Local mount folder: /media/sharename

su -c 'mkdir /media/sharename' su -c 'gedit ~/.smbcredentials'


 * Insert the following lines into the new file

username=myusername password=mypassword


 * Save the edited file

chmod 700 ~/.smbcredentials su -c 'cp /etc/fstab /etc/fstab_backup' su -c 'gedit /etc/fstab'


 * Append the following line at the end of file

//192.168.0.1/linux   /media/sharename cifs  credentials=/home/your_username/.smbcredentials,dmask=0777,fmask=0777  0    0


 * Save the edited file
 * Read

Enabling remote X Sessions
The X Server is pr. default started with the '-nolisten tcp' option and thus disallows any remote X sessions. To fix that change the [security] section to include the 'DisallowTCP=false' [root@noone~]$ more /etc/gdm/custom.conf # GDM configuration storage [xdmcp] [chooser] [security] DisallowTCP=false [debug] [root@noone ~]$ If that does not work you might have issues with your firewall or xhost Firewall: System -> Administration -> Firewall Then in other ports you Add port 6000 (X11 port) xhost: man xhost or   'xhost user@server'

How to configure remote desktop (not secure)

 * Read


 * Warning! Remote Desktop will only work if there's a GNOME login session
 *     Leaving computer with an unattended GNOME login session is not secure
 *     Use (System -> Lock Screen) and off the monitor when computer is left unattended


 * Desktop -> Preferences -> Remote Desktop
 * Remote Desktop Preferences

Sharing -> Allow other users to view your desktop (Checked) Allow other users to control your desktop (Checked)

Security -> Ask you for confirmation (Un-Checked) Require the user to enter this password: (Checked) Password: Specify the password

How to connect into remote Fedora desktop

 * Read


 * e.g. Assumed that remote Fedora machine have configured Remote Desktop
 *   Read 
 *   Remote Fedora machine: 192.168.0.1

vncviewer -fullscreen 192.168.0.1:0


 * To quit vncviewer

Press 'F8' -> Quit viewer

Remote conection Script by fedorajim
Open a teminal window and switch to root.

su -c 'gedit /usr/local/bin/remote2someone'

Add the following text to the text editor

IPADDRESS="$(zenity --entry --title "Enter IP Address" --text "Enter the IP Address of the remore PC:")" echo $IPADDRESS UserName="$(zenity --entry --title "Enter User Name" --text "Enter the User Name to connect with:")" echo $UserName function ssh_Remote_PC { gnome-terminal -x ssh -L 5911:$IPADDRESS:5901 $UserName@$IPADDRESS } function View_Remote_PC { gnome-terminal -x vncviewer localhost:11 } selection= until [ "$selection" = "0" ]; do echo "" echo "######################" echo "1 - Make Remote Connection" echo "2 - display Remote Desktop" echo "0 - exit program" echo "" echo -n "Enter selection: " read selection echo "" case $selection in 1 ) $(ssh_Remote_PC) ;; 2 ) $(View_Remote_PC) ;; 0 ) exit ;; * ) echo "Please enter 1, 2 or 0" esac done
 * 1) !/bin/bash
 * 2) Written by fedorajim
 * 3) enter the IP address ofthe remote PC
 * 1) Enter the username you aregoing to login with
 * 1) opens a new terminal window and connects to remote PC
 * 1) Commands executed #
 * 1) Commands executed #

Click save and close the text editor. Right click the desktop an choose create launcher add the following to the Create Launcher dialog
 * Name: remote2someone
 * Comment: ssh remote connection
 * Command: /usr/local/bin/remote2someone
 * Type: application
 * Run in Terminal: Checked
 * Icon: click the Icon button and choose a icon

Click save.

How to connect into remote Fedora desktop via Windows machine

 * Read


 * e.g. Assumed that remote Fedora machine have configured Remote Desktop
 *   Read 
 *   Remote Fedora machine: 192.168.0.1


 * Download VNC Viewer: Here

What are the basic things I need to know about securing my Fedora

 * Read
 * Ensure hard drive is first in BIOS boot-up sequence
 * To prevent trespassers from using Linux Installation CD which allows them to gain root user access
 * To prevent trespassers from using Linux Live CD (e.g. Fedora/KNOPPIX/MEPIS) which allows them to destroy/browse/share the entire hard drive
 * To prevent trespassers from installing another Operating System
 * Ensure a password is set for BIOS
 * To prevent trespassers from changing the BIOS boot-up sequence
 * Ensure computer is located at a secured place
 * To prevent trespassers from removing computer's hard drive which allows them to destroy/browse/share the entire hard drive from a different computer
 * To prevent trespassers from removing computer's on-board battery which resets the BIOS password
 * Ensure passwords used on the system cannot be easily guessed
 * To prevent trespassers from cracking password file using brute force attacks (e.g. John the Ripper)
 * Create password with minimum length of 8 characters
 * Create password with mixture of characters/numbers, and upper/lower case
 * Ensure interactive editing control for GRUB menu is disabled
 * To prevent trespassers from modifying kernel boot-up arguments which allows them to have root user access
 * Read
 * Ensure history listing is disabled in Console mode
 * To prevent trespassers from seeing previously issued commands
 * Read
 * Ensure Ctrl+Alt+Del is disabled in Console mode
 * To prevent trespassers from restarting the system without permission in Console mode
 * Read
 * Ensure interactive option is set for remove, copy and move of files/folders in Console mode
 * To prevent accidental removal/overwritten of files/folders
 * Read
 * For day to day usage, login as a normal user
 * To prevent accidental deletion/modification of system files/folders
 * Read
 * Disable root user account, use "sudo" instead
 * To reduce the amount of time spent with root privileges, and thus the risk of inadvertently executing a command as root
 * "sudo" provides a more useful audit trail (/var/log/auth.log)
 * Read
 * Install a Firewall
 * A firewall does not guarantee security but it is in most environments the first line of defense against network based attacks
 * Read
 * Perform vulnerability test
 * Nessus is a great tool designed to automate the testing and discovery of known security problems
 * Read

How to disable all interactive editing control for GRUB menu
Make sure you backup the files grub
 * Read

grub> md5crypt Password: ****** (Fedora) Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password) grub> quit

su -c 'cp /boot/grub/menu.lst /boot/grub/menu.lst_backup' su -c 'gedit /boot/grub/menu.lst'


 * Find this section

... ...
 * 1) password ['--md5'] passwd
 * 2) If used in the first section of a menu file, disable all interactive editing
 * 3) control (menu entry editor and command-line) and entries protected by the
 * 4) command 'lock'
 * 5) e.g. password topsecret
 * 6)   password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
 * 7) password topsecret


 * Add the following line below it

password --md5 $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password above)


 * Find this section

... title		Fedora, kernel 2.6.10-5-386 (recovery mode) root		(hd0,1) kernel		/boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro single initrd		/boot/initrd.img-2.6.10-5-386 savedefault boot ...


 * Replace with the following lines


 * 1) title		Fedora, kernel 2.6.10-5-386 (recovery mode)
 * 2) root		(hd0,1)
 * 3) kernel		/boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro single
 * 4) initrd		/boot/initrd.img-2.6.10-5-386
 * 5) savedefault
 * 6) boot


 * Save the edited file

How to disable history listing in Console mode

 * Read

rm -f $HOME/.bash_history touch $HOME/.bash_history chmod 000 $HOME/.bash_history

How to disable Ctrl+Alt+Del from restarting computer in Console mode

 * Read

su -c 'cp /etc/inittab /etc/inittab_backup' su -c 'gedit /etc/inittab'


 * Find this line

... ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now ...


 * Replace with the following line

#ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

su -c 'telinit q'
 * Save the edited file

How to enable prompt before removal/overwritten of files/folders in Console mode

 * Read

gedit /someuser/.bashrc


 * Find this line


 * 1) User specific aliases and functions


 * Add the following line below it

alias rm='rm -i' alias cp='cp -i' alias mv='mv -i'


 * Save the edited file

SELinux (with references)

 * One of the biggest issues that new users have relates to SELinux. Here are a few links to help fix the situation with one fail safe technique that automatically builds an approval.


 * Read


 * Fedora Project SELinux Page


 * SELinux Commands


 * One way to modify SELinux is to use system-config-securitylevel. Install it with the following command.

su -c 'yum install system-config-securitylevel'


 * The failsafe way which fixes most issues is to use audit2allow by scanning your logs and creating a policy to allow those denials. Some light reading as well can be found with the Red Hat SELinux Guide.

touch /.autorelabel reboot
 * Note: Make sure you relabel all your files prior to doing this. That may fix the problem.  To relabel your files go to system-config-securitylevel and there will be a choice to relabel on next reboot.  Tick that box and then restart.  The other option is to run the following commands.

fixfiles relabel
 * The other option is to try and fix the files on a live system. You can attempt this running the following command.  This may make the system unstable and the reboot method is preferred and recommended.

su --login
 * Switch to root

cd $SELINUX_SRC/
 * Make sure you are in your SELinux Source directory

cp domains/misc/local.te domains/unused/local.te.backup
 * Make sure you backup the existing local.te file

audit2allow -i /var/log/messages -o ./local.te
 * Set Audit2Allow to analyse your log file and generate a policy.

cat local.te
 * View the files

allow syslogd_t bin_t:dir search; allow syslogd_t bin_t:file { execute execute_no_trans getattr \ read }; allow syslogd_t bin_t:lnk_file read; allow syslogd_t etc_runtime_t:file { getattr read }; allow syslogd_t proc_kmsg_t:file write; allow syslogd_t proc_t:file { getattr read };
 * The output may look like this. Make sure there are no double entries and make sure that they look reasonable and correct.

semodule -i local.te
 * When you are happy install the policy


 * Do the action that you were doing to generate the error and verify that it has been rectified.

How to use Fedora Installation CD, to gain root user access

 * Read
 * Insert Fedora CD #1 into your CD-ROM and boot from it

linux rescue

How to change root user/main user password if forgotten

 * Read
 * Read
 * To change root user password


 * 1) passwd root


 * To change main user password


 * 1) passwd system_main_username

How to change GRUB menu password if forgotten

 * Read

grub

grub> md5crypt Password: ****** (Fedora) Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password) grub> quit

su -c 'cp /boot/grub/menu.lst /boot/grub/menu.lst_backup' su -c 'gedit /boot/grub/menu.lst'


 * Find this line

... password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ ...


 * Replace with the following line

password --md5 $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password above)


 * Save the edited file

How to restore GRUB menu after Windows installation

 * Read
 * Read


 * e.g. Assumed that /dev/hda is the location of /boot partition


 * 1) su -c /sbin/grub-install /dev/hda'

How to add Windows entry into GRUB menu

 * Read
 * Read


 * e.g. Assumed that /dev/hda1 is the location of Windows partition

su -c 'cp /boot/grub/menu.lst /boot/grub/menu.lst_backup' su -c 'gedit /boot/grub/menu.lst'


 * Append the following lines at the end of file

title		Microsoft Windows root		(hd0,0) savedefault makeactive chainloader	+1


 * Save the edited file

How to read Linux partitions (ext2, ext3) in Windows machine

 * Read
 * Download Explore2fs: Here
 * OR


 * See www.fs-driver.org

How to add extra Wallpapers, Icons and Themes

 * Read
 * To add extra backgrounds

wget -c http://easylinux.info/uploads/backgrounds.tar.gz su -c 'tar zxvf backgrounds.tar.gz -C /usr/share' rm -f backgrounds.tar.gz


 * Check weather you have file backgrounds.xml in your .gnome/ directory

ls $HOME/.gnome2/ | grep "backgrounds.xml"

cp --preserve=ownership $USER_HOME/.gnome2/backgrounds.xml $USER_HOME/.gnome2/backgrounds.xml_backup sed -n -e '1,3p' $USER_HOME/.gnome2/backgrounds.xml_backup > $USER_HOME/.gnome2/backgrounds.xml cat /usr/share/backgrounds/frog.xml >> $USER_HOME/.gnome2/backgrounds.xml sed -n -e '4,$p' $USER_HOME/.gnome2/backgrounds.xml_backup >> $USER_HOME/.gnome2/backgrounds.xml
 * If this line printed out "backgrounds.xml" then run

su -c 'cp /usr/share/backgrounds/backgrounds.xml $USER_HOME/.gnome2/backgrounds.xml' su -c 'chmod 777 $USER_HOME/.gnome2/backgrounds.xml'
 * ELSE run

wget -c http://easylinux.info/uploads/icons.tar.gz tar zxvf icons.tar.gz -C $USER_HOME rm -f icons.tar.gz wget -c http://easylinux.info/uploads/themes.tar.gz tar zxvf themes.tar.gz -C $USER_HOME rm -f themes.tar.gz
 * To add extra Icons and Themes run


 * Try changing your background, and look in Applications -> Preferences -> Themes (Theme details)

How to add extra Themes (Gnome-themes-extras)

 * Fedora 9 now come swith a new package called gnome-themes-extras install it by doing:

su -c 'yum install gnome-themes-extras'


 * To change the theme go to System -> Preferences -> Look and Feel -> Appearance you will then be able to change the theme.

How to add the Open Terminal to the R-Click
su -c 'yum install nautilus-open-terminal'
 * Read


 * Right Click the Desktop -> Open Terminal

How to get a shortcut to Root Terminal

 * Read
 * Read

su -c 'yum --enablerepo=dries install gksu'


 * Applications -> System Tools -> Root Terminal

How to enable the "Switch User" button on the GNOME screensaver
gconftool-2 --type bool --set /apps/gnome-screensaver/user_switch_enabled true gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /apps/gnome-screensaver/user_switch_enabled true
 * To do this to just for one user
 * To do this for every user

How to restart GNOME without rebooting computer

 * Read
 * Save and close all opened applications

Press 'Ctrl + Alt + Backspace'
 * or

su -c '/usr/sbin/gdm-restart'

How to turn on Num Lock on GNOME startup

 * Read
 * Read

su -c 'yum install numlockx su -c 'cp /etc/X11/gdm/Init/Default /etc/X11/gdm/Init/Default_backup' su -c 'gedit /etc/X11/gdm/Init/Default'


 * Find this line (the last line)

... exit 0


 * Add the following lines above it

if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on fi


 * Save the edited file
 * Read

How to switch to Console mode in GNOME

 * Read
 * To switch to Console mode

Press 'Ctrl + Alt + F1' (F2 - F6)


 * To switch between consles in Console mode

Press 'Alt + F1' (F2 - F6)


 * To switch back to GNOME mode

Press 'Alt + F1'

How to disable Ctrl+Alt+Backspace from restarting X in GNOME

 * Read

su -c 'cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup' su -c 'gedit /etc/X11/xorg.conf'


 * Append the following lines at the end of file

Section "ServerFlags" Option		"DontZap"		"yes" EndSection


 * Save the edited file
 * Read

How to enable Ctrl+Alt+Del to open System Monitor in GNOME

 * Read

gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_9 "Delete" gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 "gnome-system-monitor"

How to refresh GNOME desktop

 * Read

killall nautilus

How to refresh GNOME panel

 * Read

killall gnome-panel

How bypass Keyring's Password

 * Read


 * Install Pam keyring

su -c 'yum install pam_keyring'


 * Create the script which will automatically pass the password to keyring

gedit ~/.key.sh


 * Add the next section and change the word password to your password

echo password | /usr/libexec/pam-keyring-tool --unlock --keyring=default -s
 * 1) ! /bin/bash


 * Make sure it is executible

chmod +x ~/.key.sh


 * Add the script to the startup sequence so that the script is run on boot.
 * Go through the menu listed below

System -> Preferences -> Personal -> Sessions


 * Click on the startup tab
 * Click the add button
 * Enter the following details

Name: Keyring Script Command:~/.key.sh Comment: My automatic unlock script


 * To enable it straight away run the following command.

~/.key.sh

How to enable autosave in Gedit and disable creation of some_file~ files

 * Read
 * Applications -> System Tools -> Configuration Editor
 * Configuration Editor

/ -> apps -> gedit-2 -> preferences -> editor -> save -> create_backup_copy (Unchecked) / -> apps -> gedit-2 -> preferences -> editor -> save -> auto_save (Checked)

How to show all hidden files/folders in Nautilus

 * Read
 * Places -> Home Folder
 * To temporary show all hidden files/folders in Nautilus

Press 'Ctrl + H'


 * To permanently show all hidden files/folders in Nautilus

Edit Menu -> Preferences

Views Tab -> Default View -> Show hidden and backup files (Checked)

How to browse files/folders as root user in Nautilus

 * Read
 * Read

su -c 'yum install gksu'


 * To install File Browser (Root)

su -c 'gedit /usr/share/applications/Nautilus-root.desktop'


 * Insert the following lines into the new file

[Desktop Entry] Name=File Browser (Root) Comment=Browse the filesystem with the file manager Exec=gksu "nautilus --browser ." Icon=file-manager Terminal=false Type=Application Categories=Application;System;


 * Save the edited file


 * To browse files/folders as root user in Nautilus
 * Applications -> System Tools -> File Browser (Root)

How to show Desktop Icons (Computer, Home, Trash)

 * Read
 * Applications -> System Tools -> Configuration Editor
 * Configuration Editor

/ -> apps -> nautilus -> desktop -> computer_icon_visible (Checked) home_icon_visible (Checked) trash_icon_visible (Checked)

How to change default file type "Open with" program

 * Read

Right click on file -> Properties

Open With Tab -> Add Select "Open with" program

Select "Open with" program (Checked)

How to change preferred email client to Mozilla Thunderbird

 * Read
 * Read
 * Desktop -> Preferences -> Preferred Applications
 * Preferred Applications

Mail Reader Tab -> Default Mail Reader -> Command: mozilla-thunderbird %s

How to open files as root user via right click

 * Read

gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ root


 * Insert the following lines into the new file

for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do 	gnome-"gnome-open $uri" & done


 * Save the edited file

chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root

Right click on file -> Scripts -> Open as root

How to disable beep sound in Terminal mode

 * Read
 * Applications -> System Tools -> Terminal
 * Terminal

Edit Menu -> Profile Preferences

General Tab -> Terminal bell (Un-Checked)

How to install/uninstall .rpm files

 * Read
 * To install .rpm file

su -c 'rpm -i package_file.rpm'


 * To uninstall .rpm file

su -c 'rpm -e package_name'

How to rename all files in directory at once

 * Read
 * To install "mvb" file name renamer
 * Best done as root

wget -c http://easylinux.info/uploads/mvb_1.6.tgz tar zxvf mvb_1.6.tgz -C /usr/share/ chown -R root:root /usr/share/mvb_1.6/ ln -fs /usr/share/mvb_1.6/mvb /usr/bin/mvb


 * To rename all files in directory at once

mvb NEW_NAME

How to manipulate all image files in directory at once

 * Read
 * To install bash batch image processing script
 * Read

su -c 'yum install ImageMagick' wget -c http://easylinux.info/uploads/bbips.0.3.2.sh su -c 'cp bbips.0.3.2.sh /usr/bin/bbips' su -c 'chmod 755 /usr/bin/bbips'


 * To manipulate all image files in directory at once

bbips

How to set System-wide Environment Variables

 * Read

For sh/bash/ksh/zsh users, create a new .sh file in /etc/profile.d/: su - -c 'gedit /etc/profile.d/local.sh'

VARIABLE1=value VARIABLE2=value export VARIABLE1 VARIABLE2
 * Append the system-wide environment variables to the file. The variable assignments are of the form:


 * Save the edited file

For csh/tcsh users, create a new .csh file in /etc/profile.d/: su - -c 'gedit /etc/profile.d/local.csh

setenv VARIABLE1 value setenv VARIABLE2 value
 * Append the system-wide environment variables to the file. The variable assignments are of the form:


 * Save the edited file

How to save "man" outputs into files

 * Read

man command | col -b > file.txt

How to show GRUB menu on boot-up

 * Read

su -c 'cp /boot/grub/menu.lst /boot/grub/menu.lst_backup' su -c 'gedit /boot/grub/menu.lst'
 * Find this line

... hiddenmenu ...


 * Replace with the following line


 * 1) hiddenmenu


 * Save the edited file

How to change the timeout seconds for GRUB menu on boot-up

 * Read

su -c 'cp /boot/grub/menu.lst /boot/grub/menu.lst_backup' su -c 'gedit /boot/grub/menu.lst'


 * Find this line

... timeout    3 ...


 * Replace with the following line

timeout    X_seconds


 * Save the edited file

How to change default Operating System boot-up for GRUB menu

 * Read

su -c 'cp /boot/grub/menu.lst /boot/grub/menu.lst_backup' su -c 'gedit /boot/grub/menu.lst'


 * Find this line

... default    0 ...


 * Replace with the following line

default    X_sequence


 * Save the edited file

How to display Splash Image for GRUB menu on boot-up

 * Read


 * e.g. Assumed that hd0,1 is the location of Fedora boot partition

wget -c http://easylinux.info/uploads/fedora.xpm.gz su -c 'chmod 644 fedora.xpm.gz' su -c 'mkdir /boot/grub/images' su -c 'cp fedora.xpm.gz /boot/grub/images/' su -c 'cp /boot/grub/menu.lst /boot/grub/menu.lst_backup' su -c 'gedit /boot/grub/menu.lst'


 * Find this section

...
 * 1) menu.lst - See: grub(8), info grub, update-grub(8)
 * 2)      grub-install(8), grub-floppy(8),
 * 3)      grub-md5-crypt, /usr/share/doc/grub
 * 4)      and /usr/share/doc/grub-doc/.


 * Add the following line below it

splashimage (hd0,1)/boot/grub/images/fedora.xpm.gz


 * Save the edited file

How to convert Wallpaper to Splash Image for GRUB menu

 * Read


 * e.g. Assumed that wallpaper.png is the Wallpaper to be converted to Splash Image
 *   splashimage.xpm.gz is the Splash Image for GRUB menu

convert -resize 640x480 -colors 14 wallpaper.png splashimage.xpm && gzip splashimage.xpm


 * Read (use splashimage.xpm.gz instead of Fedora.xpm.gz)

How to temporary skip boot-up services

 * Read

Press 'Ctrl + C'

How to permanently disable/enable boot-up services

 * Read
 * Read

How to clean /tmp/ folder contents on shutdown

 * Read

su -c 'cp /etc/init.d/sysklogd /etc/init.d/sysklogd_backup' su -c 'gedit /etc/init.d/sysklogd'


 * Find this section

... stop)   log_begin_msg "Stopping system log daemon..."   start-stop-daemon --stop --quiet --oknodo --exec $binpath --pidfile $pidfile   log_end_msg $? ...


 * Add the following line below it

rm -fr /tmp/* /tmp/.??*


 * Save the edited file

How to scroll up and down to view previous outputs in Console mode

 * Read
 * To scroll up to view previously outputs

Press 'Shift + Page Up'


 * To scroll down to view previously outputs

Press 'Shift + Page Down'

How to forcefully empty Trash in GNOME

 * Read

rm -fr $HOME/.Trash/

How to remove duplicate menu/menu items in GNOME

 * Read

rm -f $HOME/.config/menus/applications.menu

Open Terminal Here in Nautilus
gedit ~/.gnome2/nautilus-scripts/"Open Terminal Here"

add the following text use strict; $_ = $ENV{'NAUTILUS_SCRIPT_CURRENT_URI'}; if ($_ and m#^file:///#) { s/%([0-9A-Fa-f]{2})/chr(hex($1))/eg; s#^file://##; exec "gnome-terminal --working-directory='$_'"; } if ($_ == "x-nautilus-desktop:///") { $_ = $ENV{'HOME'}; $_ = $_.'/Desktop'; exec "gnome-terminal --working-directory='$_'"; }
 * 1) !/usr/bin/perl -w
 * 1) Added 2003-12-08 Dexter Ang

Save and close Gedit

Right click the desktop choose Scripts then "Open Terminal Here"

Open Root Terminal Here in Naultilus
gedit ~/.gnome2/nautilus-scripts/"Open Root Terminal Here"
 * Read

Add the following cd $NAUTILUS_SCRIPT_CURRENT_URI sudo gnome-terminal
 * 1) !/bin/sh

Save and close Gedit

Right click the desktop choose Scripts then "Open Terminal Here"

How to install Samba Server for files/folders sharing service

 * Use  Desktop -> System Settings -> Add/Remove Applications 
 * or

su -c 'yum -y install samba' su -c 'yum -y install samba-client' su -c 'yum -y install system-config-samba'

su -c 'chkconfig smb on'
 * To enable file sharing on boot


 * Desktop -> System Settings -> Server Settings -> Samba

How to add/edit/delete network users

 * Use *Desktop -> System Settings -> Server Settings -> Samba
 * or


 * To add network user
 * Read

su -c 'smbpasswd -a system_username' su -c 'gedit /etc/samba/smbusers'


 * Insert the following line into the new file

system_username = "network username"


 * Save the edited file
 * To edit network user

su -c 'smbpasswd -a system_username'


 * To delete network user

su -c 'smbpasswd -x system_username'

How to share home folders with read/write permissions (Authentication=Yes)

 * Read

su -c 'cp /etc/samba/smb.conf /etc/samba/smb.conf_backup' su -c 'gedit /etc/samba/smb.conf'


 * Find this line

... ; security = user ...


 * Replace with the following lines

security = user username map = /etc/samba/smbusers


 * Save the edited file
 * Read

testparm su -c '/etc/init.d/smb restart'

How to share home folders with read only permission (Authentication=Yes)

 * Read

su -c 'cp /etc/samba/smb.conf /etc/samba/smb.conf_backup' su -c 'gedit /etc/samba/smb.conf'


 * Find this line

... ; security = user ...


 * Replace with the following lines

security = user username map = /etc/samba/smbusers

[homes] comment = Home Directories browseable = no 	writeable = yes
 * Find this line

[homes] comment = Home Directories browseable = yes writeable = no
 * Replace with the following lines


 * Save the edited file

testparm su -c '/etc/init.d/smb restart'

How to share group folders with read only permission (Authentication=Yes)

 * Read

su -c 'mkdir /home/group' su -c 'chmod 777 /home/group/' su -c 'cp /etc/samba/smb.conf /etc/samba/smb.conf_backup' su -c 'gedit /etc/samba/smb.conf'


 * Find this line

... ; security = user ...


 * Replace with the following lines

security = user username map = /etc/samba/smbusers


 * Append the following lines at the end of file

[Group] comment = Group Folder path = /home/group public = yes writable = no  valid users = system_username1 system_username2 create mask = 0700 directory mask = 0700 force user = nobody force group = nogroup
 * Save the edited file
 * Read

testparm su -c '/etc/init.d/smb restart'

How to share group folders with read/write permissions (Authentication=Yes)

 * Read

su -c 'mkdir /home/group' su -c 'chmod 777 /home/group/' su -c 'cp /etc/samba/smb.conf /etc/samba/smb.conf_backup' su -c 'gedit /etc/samba/smb.conf'


 * Find this line

... ; security = user ...


 * Replace with the following lines

security = user username map = /etc/samba/smbusers


 * Append the following lines at the end of file

[Group] comment = Group Folder path = /home/group public = yes writable = yes valid users = system_username1 system_username2 create mask = 0700 directory mask = 0700 force user = nobody force group = nogroup


 * Save the edited file
 * Read

testparm su -c '/etc/init.d/smb restart'

How to share public folders with read only permission (Authentication=Yes)

 * Read

su -c 'mkdir /home/public' su -c 'chmod 777 /home/public/' su -c 'cp /etc/samba/smb.conf /etc/samba/smb.conf_backup' su -c 'gedit /etc/samba/smb.conf'


 * Find this line

... ; security = user ...


 * Replace with the following lines

security = user username map = /etc/samba/smbusers


 * Append the following lines at the end of file

[public] comment = Public Folder path = /home/public public = yes writable = no  create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup


 * Save the edited file
 * Read

testparm su -c '/etc/init.d/smb restart'

How to share public folders with read/write permissions (Authentication=Yes)

 * Read

su -c 'mkdir /home/public' su -c 'chmod 777 /home/public/' su -c 'cp /etc/samba/smb.conf /etc/samba/smb.conf_backup' su -c 'gedit /etc/samba/smb.conf'


 * Find this line

... ; security = user ...


 * Replace with the following lines

security = user username map = /etc/samba/smbusers


 * Append the following lines at the end of file

[public] comment = Public Folder path = /home/public public = yes writable = yes create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup


 * Save the edited file
 * Read

testparm su -c '/etc/init.d/smb restart'

How to share public folders with read only permission (Authentication=No)

 * Read

su -c 'mkdir /home/public' su -c 'chmod 777 /home/public/' su -c 'cp /etc/samba/smb.conf /etc/samba/smb.conf_backup' su -c 'gedit /etc/samba/smb.conf'


 * Find this line

... ; security = user ...


 * Replace with the following line

security = share


 * Append the following lines at the end of file

[public] comment = Public Folder path = /home/public public = yes writable = no  create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup


 * Save the edited file

testparm su -c '/etc/init.d/smb restart'

How to share public folders with read/write permissions (Authentication=No)

 * Read

su -c 'mkdir /home/public' su -c 'chmod 777 /home/public/' su -c 'cp /etc/samba/smb.conf /etc/samba/smb.conf_backup' su -c 'gedit /etc/samba/smb.conf'


 * Find this line

... ; security = user ...


 * Replace with the following line

security = share


 * Append the following lines at the end of file

[public] comment = Public Folder path = /home/public public = yes writable = yes create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup testparm su -c '/etc/init.d/smb restart'
 * Save the edited file

World Wide Web Server (apache)

 * Read

su -c 'yum -y install httpd' su -c 'yum -y install mod_ssl' su -c 'yum -y install httpd-manual' su -c 'yum -y install mod_perl' su -c 'yum -y install mod_auth_mysql' su -c 'yum -y install crypto-utils' su -c 'yum -y install mod_python' su -c '/etc/init.d/httpd start'


 * http://localhost

Remove your server's signature
su -c 'cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf_original' su -c 'gedit /etc/httpd/conf/httpd.conf '


 * find the line "ServerSignature"

ServerSignature off
 * Change "ServerSignature on" to


 * Underneath add this line:

ServerTokens ProductOnly


 * Save and close the text editer

su -c '/etc/rc.d/init.d/httpd restart'
 * restart apache

How to map URLs to folders outside /var/www/

 * Read
 * Read

su -c 'gedit /etc/httpd/conf.d/alias'


 * Insert the following lines into the new file

Alias /URL-path /location_of_folder/

 Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all 


 * Save the edited file

su -c '/etc/init.d/httpd restart'


 * http://localhost/URL-path

How to change the default port number for Apache HTTP Server

 * Read
 * Read


 * e.g. Assumed that new port number is 78

su -c 'cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf_backup' su -c 'gedit /etc/httpd/httpd.conf'


 * Find this line

Listen 80


 * Replace with the following line

Listen 78


 * Save the edited file

/etc/init.d/httpd restart


 * http://localhost:78

How to SSH into remote Fedora machine

 * Read


 * e.g. Assumed that remote Fedora machine have installed SSH Server service and firewall allows to connect to it
 *   Remote Fedora machine: 192.168.0.1

ssh username@192.168.0.1

How to copy files/folders from remote Fedora machine into local machine (scp)

 * Read


 * e.g. Assumed that remote Fedora machine have installed SSH Server service and firewall allows to connect to it
 *   Remote Fedora machine: 192.168.0.1
 *   Remote files/folders location: /home/username/remotefile.txt
 *   Local machine save location: . (current directory)

scp username@192.168.0.1:/home/username/remotefile.txt.

How to copy files/folders from remote Fedora machine into local machine using Nautilus(scp)

 * Read


 * e.g. Assumed that remote Fedora machine have installed SSH Server service and firewall allows to connect to it
 *   Remote Fedora machine: 192.168.0.1
 *   Remote files/folders location: /home/username/remotefile.txt
 *   Local machine save location: . (current directory)


 * Open the following window Places -> Connect to Server


 * Add the following details when you have opened the window


 * Service Type:SSH
 * Server:192.168.0.1
 * Port:Leave blank
 * Folder:/home/username
 * Username:username
 * Name to use for connection:Remote Machine's Name


 * You will find the connection under the Places menu

How to copy files/folders from local machine into remote Fedora machine (scp)

 * Read


 * e.g. Assumed that remote Fedora machine have installed SSH Server service and firewall allows to connect to it
 *   Local files/folders location: localfile.txt
 *   Remote Fedora machine: 192.168.0.1
 *   Remote Fedora machine save location: /home/username/

scp localfile.txt username@192.168.0.1:/home/username/

If not specifying the remote directory, the home directory for that user will be used:

scp localfile.txt user@remotehost:

How to copy files/folders from remote Fedora machine into local machine (rsync)

 * Read


 * e.g. Assumed that remote Fedora machine have installed SSH Server service and firewall allows to connect to it
 *   Remote Fedora machine: 192.168.0.1
 *   Remote files/folders location: /home/username/remotefile.txt
 *   Local machine save location: . (current directory)

rsync -v -u -a --delete --rsh=ssh --stats username@192.168.0.1:/home/username/remotefile.txt.

How to copy files/folders from local machine into remote Fedora machine (rsync)

 * Read


 * e.g. Assumed that remote Fedora machine have installed SSH Server service and firewall allows to connect to it
 *   Local files/folders location: localfile.txt
 *   Remote Fedora machine: 192.168.0.1
 *   Remote Fedora machine save location: /home/username/

rsync -v -u -a --delete --rsh=ssh --stats localfile.txt username@192.168.0.1:/home/username/

How to SSH into remote Fedora machine via Windows machine

 * Read


 * e.g. Assumed that remote Fedora machine have installed SSH Server service and firewall allows to connect to it


 * Download PuTTY: Here

How to copy files/folders from/into remote Fedora machine via Windows machine

 * Read


 * e.g. Assumed that remote Fedora machine have installed SSH Server service and firewall allows to connect to it


 * Download WinSCP: Here

How to install FTP Server for File Transfer service

 * Read

su -c 'yum install proftpd' su -c '/etc/init.d/proftpd start'

How to configure FTP Server to allow anonymous FTP user to read only

 * Read
 * Read

su -c 'cp /etc/proftpd.conf /etc/proftpd.conf_backup' su -c 'gedit /etc/proftpd.conf'

 User           ftp Group           nogroup UserAlias         anonymous ftp DirFakeUser on ftp DirFakeGroup on ftp RequireValidShell     off MaxClients        10 DisplayLogin       welcome.msg DisplayFirstChdir     .message  <Limit WRITE> DenyAll </Limit> </Directory> </Anonymous>
 * Append the following lines at the end of file


 * Save the edited file

su -c '/etc/init.d/proftpd restart'

How to configure FTP Server to allow anonymous FTP user to read/write

 * Read
 * Read

su -c 'cp /etc/proftpd.conf /etc/proftpd.conf_backup' su -c 'gedit /etc/proftpd.conf'


 * Append the following lines at the end of file

<Anonymous ~ftp> User           ftp Group           nogroup UserAlias         anonymous ftp DirFakeUser on ftp DirFakeGroup on ftp RequireValidShell     off MaxClients        10 DisplayLogin       welcome.msg DisplayFirstChdir     .message </Anonymous>


 * Save the edited file

su -c '/etc/init.d/proftpd restart'

How to map anonymous FTP user to folders outside /home/ftp/

 * Read
 * Read

su -c 'cp /etc/proftpd.conf /etc/proftpd.conf_backup' su -c 'gedit /etc/proftpd.conf'


 * Append the following lines at the end of file

<Anonymous /location_of_folder/> User           ftp Group           nogroup UserAlias         anonymous ftp DirFakeUser on ftp DirFakeGroup on ftp RequireValidShell     off MaxClients        10 DisplayLogin       welcome.msg DisplayFirstChdir     .message  <Limit WRITE> DenyAll </Limit> </Directory> </Anonymous>


 * Save the edited file

su -c '/etc/init.d/proftpd restart'

How to change the default port number for FTP Server

 * Read
 * Read


 * e.g. Assumed that new port number is 77

su -c 'cp /etc/proftpd.conf /etc/proftpd.conf_backup' su -c 'gedit /etc/proftpd.conf'


 * Find this line

Port             21


 * Replace with the following line

Port             77


 * Save the edited file

su -c '/etc/init.d/proftpd restart'

How to ftp into remote Fedora machine via Windows machine

 * Read


 * e.g. Assumed that remote Fedora machine have installed FTP Server service
 *   Read 


 * Download FileZilla: Here

How to install FTP Server for File Transfer service (pure-ftpd)

 * Read

su -c 'yum install pure-ftpd' su -c '/etc/init.d/pure-ftpd start'

Automatically start

 * You need to be root
 * Read
 * Read

chkconfig pure-ftpd on

How to configure FTP Server to allow anonymous FTP user to read only

 * Read
 * Read

su -c 'cp /etc/pure-ftpd/pure-ftpd.conf /etc/pure-ftpd/pure-ftpd.conf_backup' su -c 'gedit /etc/pure-ftpd/pure-ftpd.conf'

NoAnonymous                no
 * Find the following line


 * Make sure it says no
 * Save the edited file
 * The directory of your Anonymous ftp users will be the same as your ftp user. Usually /var/ftp
 * If you do not have an ftp user you will need to create one.

su -c '/etc/init.d/pure-ftpd restart'

How to configure FTP Server to allow anonymous FTP user to read/write

 * Read
 * Read

su -c 'cp /etc/pure-ftpd/pure-ftpd.conf /etc/pure-ftpd/pure-ftpd.conf_backup' su -c 'gedit /etc/pure-ftpd/pure-ftpd.conf'


 * Change the following lines from

AnonymousCanCreateDirs     no AnonymousCantUpload         yes


 * To

AnonymousCanCreateDirs     yes AnonymousCantUpload        no


 * Save the edited file

su -c '/etc/init.d/pure-ftpd restart'

How to change the default port number for FTP Server

 * Read
 * Read


 * e.g. Assumed that new port number is 77

su -c 'cp /etc/pure-ftpd/pure-ftpd.conf /etc/pure-ftpd/pure-ftpd.conf_backup' su -c 'gedit /etc/pure-ftpd/pure-ftpd.conf'


 * Find this line


 * 1) Bind                      127.0.0.1,21


 * Replace with the following line

Bind                     77


 * Save the edited file

su -c '/etc/init.d/pure-ftpd restart'

How to ftp into remote Fedora machine via Windows machine

 * Read


 * e.g. Assumed that remote Fedora machine have installed FTP Server service
 *   Read 


 * Download FileZilla: Here

Virtual Private Network (VPN)

 * Read


 * For gnome

su -c 'yum install NetworkManager-vpnc'


 * For KDE

su -c 'yum install knetworkmanager-vpnc'


 * Configure your connection using network manager or Knetworkmanager

OR

su -c 'yum install pptp'


 * Configure your vpn as root

pptpconfig

Proxy Server (squid)

 * Read
 * Note this will create a transparent proxy. Associated changes will need to be made to your firewall to benefit.

su -c 'yum install squid'


 * Find the following lines and alter them to what is provided. The config line is very big so back it up.


 * Set the port and what type of proxy is required

http_port 3128 transparent


 * Allow cachemgr access

http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports
 * 1) Only allow cachemgr access from localhost
 * 1) Deny requests to unknown ports
 * 1) Deny CONNECT to other than SSL ports


 * Allow the network of 'localhost' and deny the rest

http_access allow localhost http_access deny all


 * Set the 'local_network' and allow it

acl local_network src 192.168.1.0/24 http_access allow local_network


 * You will need to redirect all outgoing port 80 traffic to be redirected through port 3128 to benefit from the proxy server an example line of my firewall script is listed below as an example.

iptables -t nat -A PREROUTING -p tcp --dport 80 -s 192.168.1.0/24 -d 192.168.1.0/24 -j REDIRECT --to 3128

Outgoing Mail server (sendmail)

 * Read


 * By default sendmail is installed however if you need to install sendmail

su -c 'yum install sendmail'


 * Edit the following lines changing it to your data

su -c 'gedit /etc/mail/sendmail.mc'


 * Set your local domain

LOCAL_DOMAIN(`mail.your.domain.com)dnl


 * All emails will have yourname@your.domain.com

MASQUERADE_AS(`your.domain.com')dnl


 * If you use procmail.

MAILER(smtp)dnl MAILER(procmail)dnl


 * Set the type of action sendmail will be

DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl


 * Edit the virtusertable

su -c 'gedit /etc/mail/virtusertable'


 * Add your usernames and email addresses at the bottom in that format.

name@your.domain.com    name


 * Close virtusertable down and sendmail.mc Compile the directory

make -C /etc/mail


 * Set up your aliases adjust the following lines at the bottom

su -c 'gedit /etc/aliases'

root:          youradminusername youradminusername:          youradminusername
 * 1) Person who should get root's mail


 * Close the file down and run the following command as root. Make sure it comes up on boot

newaliases chkconfig sendmail on


 * Restart sendmail

su -c '/etc/init.d/sendmail restart'

Mail server (dovecot)

 * Read

su -c 'yum install dovecot'


 * Make sure it comes up on boot (Run the command as root)

chkconfig dovecot on

POP/IMAP settings

 * Edit the dovecot.conf file

su -c 'gedit /etc/dovecot.conf'


 * Modify the following lines
 * What type of server do you want it will set the options for imap or pop3 If you want pop remove the imap and imaps.

protocols = imap imaps pop3 pop3s


 * Dovecot should listen on the standard ports

listen = [::]


 * Set the mail location. The example below creates in your home directory a mail folder called Maildir

maildir:~/Maildir
 * 1)   mail_location = maildir:~/Maildir
 * 2)   mail_location = mbox:~/mail:INBOX=/var/mail/%u
 * 3)   mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n

Server Intrusion Prevention (denyhosts)

 * Read

su -c 'yum install denyhosts'

How to secure your system

 * Read
 * Read


 * Backup your original config file

su -c 'cp /etc/denyhosts.conf /etc/denyhosts.conf_backup


 * To change the config to suit your system

su -c 'gedit /etc/denyhosts.conf'


 * Modify the following lines to match what is listed below. Remember to remove the '#' at the beginning of the lines

PURGE_DENY = 4w BLOCK_SERVICE = ALL DENY_THRESHOLD_INVALID = 5 DENY_THRESHOLD_VALID = 10 DENY_THRESHOLD_ROOT = 0 DENY_THRESHOLD_RESTRICTED = 1 SYSLOG_REPORT=YES AGE_RESET_VALID=5d AGE_RESET_ROOT=25d SYNC_SERVER = http://xmlrpc.denyhosts.net:9911 SYNC_INTERVAL = 1h SYNC_UPLOAD = yes SYNC_DOWNLOAD_RESILIENCY = 5h

Domain Name Service (bind)

 * Read

su -c 'yum install named'


 * Enable on boot. Run the command as root.

chkconfig named on


 * The easiest method is to follow the following howto from Redhat it is exactly the same as what I used.

How to set up a home DNS server

DHCP Server (dhcpd)

 * Read

su -c 'yum install dhcpd'


 * Enable on boot. Run this command as root

chkconfig dhcpd on


 * Edit the config file

su -c 'cp /etc/dhcpd.conf /etc/dhcpd.conf_backup' su -c 'gedit /etc/dhcpd.conf'

default-lease-time 600; max-lease-time 7200; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; allow bootp; ddns-update-style ad-hoc;
 * Adjust your config to have a range issued in between 192.168.1.100 -> 192.168.1.200
 * Note: Remember the curly braces {}
 * If you want to have an ip linked to a print-server named print-server you follow the host section listed below.

subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.100 192.168.1.200; host print-server { hardware ethernet 00:40:c8:04:03:db; #Your specific ethernet hardware fixed-address 192.168.1.20; #The ip that you want that print server to have always default-lease-time -1; #the lease time of the ip -1 is forever } }
 * A simple host section as an example

host strikeforce { hardware ethernet 00:0F:EA:3E:12:58; fixed-address 192.168.1.150; }

Internet Time Server (ntpd)

 * Read
 * It will have a default list of locations to update your clock on your machine.

su -c 'yum install ntpd'


 * Make sure you it is turned on when you boot. Run the command as root.

chkconfig ntpd on

Database Server (mysql)

 * Read
 * Use  Desktop -> System Settings -> Add/Remove Applications 
 * or

su -c 'yum install mysql' su -c 'yum install mysql-server' su -c 'yum install php-mysql' su -c 'yum install MySQL-python'

su -c '/etc/init.d/mysqld start' mysqladmin -u root password new_db_user_password

How to install MYSQL Control Center

 * Read
 * Read

su -c 'yum install mysql-administrator'


 * Applications -> System Tools -> MySQL Administrator

PHP on your Web Server

 * Read
 * Read

su -c 'yum install php' su -c 'yum install php-mysql' su -c '/etc/init.d/httpd restart'


 * Insert the following line into a new file

su -c "echo '<?php phpinfo; ?>' > /var/www/html/testphp.php"


 * http://localhost/testphp.php