March 11, 2010

Disable Firefox browser in Linux:

To Disable Firefox browser in Linux or Restricting web access using the Firefox browser: You can follow below commands:

For example, if we need to block Firefox for an user “rad” you can use the command below:

root@server# setfacl -m u:rad:x /usr/bin/firefox

To unblock it, you can use following command:

root@server# setfacl -x u:rad /usr/bin/firefox

Moving Mails from Windows Outlook Express to Thunderbird of Linux

Step # 1: Import mails from Outlook using Thunderbird in Windows.
* Download thunderbird for Windows XP from http://www.mozillamessaging.com/en-US/thunderbird/
* Install Thunderbird
* Start Mozilla Thunderbird
* Do not setup Thunderbird as your default email client.
* Since this is your first run, it will prompt you to import mail and other settings.
* At Import dialog box, select Mail > Next
* Select Outlook > Next
* Within few minutes it will migrate all emails from Outlook to Thunderbird. Click Finish and shutdown Thunderbird application.

Step # 2: Transfer Thunderbird mail to USB
First, you need to find out your profile folder under Thunderbird application (you can also use Windows Explore to find out Thunderbird profile folder):.
Click on Start > Run > Type the command “cmd”
And hit [Enter] key
Type the following commands to locate Profile folder:
C:> cd %APPDATA%\\Thunderbird
C:> cd Profiles
Now locate directory called "Local Folders". Again use CD command to go to Local Folders:
C:> cd "Local Folders"
Now Locate required directory and copy all files to USB pen or use network connection to copy files to your Linux home-directory (~/.mozilla-thunderbird)

Step #3: Import mail to Linux Thunderbird.
Copy all files from USB to mail directory of thunderbird, now you can open mail using Linux thunderbird client. You can find the mail directory in the server settings of particular mail account.

Installation of Mozilla thunderbird mail client in Linux:

Download Thunderbird from http://www.mozillamessaging.com/en-US/thunderbird/ to your Linux desktop

Let us say you would like to install thunderbird in your own home directory called /home/rad/

Copy your downloaded file to /home/rad/ and untar it:
$ cp /home/tom/Desktop/thunderbird-2.0.0.0.tar.gz .
$ tar -zxvf thunderbird-2.0.0.0.tar.gz
Now software was installed. To start Thunderbird mail client, enter:
$ cd thunderbird
$ ./thunderbird

To create thunderbird icon on desktop.

Right click on your Linux desktop
Select Create Launcher
Fill the details as follows:
* Set name to : Thunderbird
* Set command to : browse "thunderbird" inside the directory Thunderbird.
* Set comment to : My Email Client
* Hit OK to create an ICON

February 9, 2010

Redhat 5 Tweaking steps:

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables

http://www.thegeekstuff.com/2009/06/how-to-disable-selinux-redhat-fedora-debian-unix/

http://www.cyberciti.biz/faq/disable-linux-firewall-under-centos-rhel-fedora/

http://www.servepath.com/support/redhat-securitychecklist.php

http://linuxhelp.blogspot.com/2006/04/enabling-and-disabling-services-during_01.html#axzz0f2M0zEs0

February 3, 2010

Yum configuration with Dag RPM Repository

Please refer: http://dag.wieers.com/rpm/FAQ.php

Install Thunderbird in Linux

Please refer: http://www.cyberciti.biz/faq/install-thunderbird-2-in-linux/

Installing openoffice on Redhat 5

Installation Steps

1. Review the System Requirements
2. You can download the rpm from the url: http://download.openoffice.org/index.html
Unpack the downloaded image into a directory. For example, currently, the following command would unpack into the current directory:
3. tar xvzf OOo_3.0.0_LinuxIntel_install_xxxxxx.tar.gz
This will create a source directory with the OpenOffice.org installation. The directory will have a rather long name but be prefixed by "OOO3...".
4. su to root, if necessary, and navigate to OpenOffice.org installation directory, the OOO3... source directory.
Since the default packaging of OpenOffice.org for Linux is RPM, you will likely need to be root to run the rpm command.
5. cd into the RPMS subdirectory of the source directory.
You should see a lot of rpms here and one sub-directory called "desktop-integration".
6. Install this new version by typing rpm -Uvih *rpm.
By default, this will install OpenOffice in your /opt directory.
NOTE: See additional installation options and other useful information in the Setup Guide.
7. Finally, cd to desktop-integration. Depending on your package manager/system, install the appropriate desktop interface.