Saturday 31 December 2011

Creating Swap space in Linux / RHEL / CENTOS / Fedora

Creating Swap space

As mentioned before, a swap space can be a partition or a file with pre-allocated space.

Friday 30 December 2011

Swap Space in Linux / RHEL / CENTOS / Fedora

What is a Swap space?
  • Swap space is harddisk space that extends system RAM.
Swap space or virtual memory is hard disk space that acts as an extension of system RAM. Of course, due to the relative differential in data access on RAM versus hard disk, we prefer not to use swap space if it can be avoided. Nonetheless, it is vital to the proper functioning of a typical Linux system that some swap space  be made available.

Thursday 29 December 2011

Password protect GRUB / Lock Single User Mode In Linux / RHEL / CENTOS


The primary reasons for password protecting a Linux boot loader are as follows:
  1. Preventing Access to Single User Mode — If attackers can boot the system into single user mode, they are logged in automatically as root without being prompted for the root password.

Wednesday 28 December 2011

Rescue Linux Installation in RHEL / CENTOS / Fedora

Rescuing a Linux system is an easier task. There are several aspects of rescuing a Linux system.
 
Here we are going to see how to rescue an installed Linux system when the GRUB is deleted.

Tuesday 27 December 2011

Enter Single user mode in Linux / RHEL / CENTOS / Fedora


If you are using GRUB bootloader
  • Select the particular kernel to boot in (use up and down arrows in the GRUB splash screen)
  • Now you will find an option "press a to append..". So press the key "a".
  • Now press the space key to add at the bottom of that line.
  • Append the word the "s" or "single" to the end of the kernel line.
  • Press Enter

Change / Hack the Root password in Linux / RHEL / CENTOS / Fedora

Forgot root password

Suppose you want to get into a Linux system. You know nothing about the existing user's or their passwords. You have no idea about these things. Then what will you do??
The only thing you know that the user root exists. So we must find a way to get the root's password.

Thursday 22 December 2011

NTFS support in Linux (RHEL / CENTOS)

NTFS file system is not supported in RHEL 5 or 6. How do you I enable NTFS support?

To enable NTFS support we need to do a couple of things.

First of all enable the EPEL repo. Click here to learn How to enable the EPEL repo.
Then install the package "ntfs-3g" using yum.

Enabling EPEL repo in RHEL / CENTOS

EPEL - Extra Packages for Enterprise Linux.

What is Extra Packages for Enterprise Linux (or EPEL)?
Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL).
EPEL packages are usually based on their Fedora counterparts and will never conflict with or replace packages in the base Enterprise Linux distributions. EPEL uses much of the same infrastructure as Fedora, including buildsystem, bugzilla instance, updates manager, mirror manager and more.

Monday 19 December 2011

Install Windows 7 from USB drive using DISKPART

Windows 7 can be installed from a USB drive when the other installation methods are unavailable. We can choose between a memory card, hard drive which is USB compatible etc., and also several 3rd party tools are available for creating a USB bootable Windows 7 installation media, but I am using the "diskpart" command-line tool. Diskpart is a very good tool as it comes along with your install of Windows Vista, 7 and Server 2008.

RHCSA Exam

The RHCSA (RedHat Certified System Administrator) exam is a hands-on, practical exam that lasts 2.5 hours. The exam is performance-based, meaning that candidates must perform tasks on a live system, rather than answering multiple choice questions.

RHCE Exam

The RHCE (RedHat Certified Engineer) exam is a hands-on, practical exam that lasts 2.0 hours. Candidates are eligible to take the RHCE exam without first having passed the RHCSA exam, but RHCE will not be issued until both credentials are earned by a candidate.

Navigation by WebRing.