RHEL 6, CENTOS6

Showing posts with label Centos6. Show all posts
Showing posts with label Centos6. Show all posts

Install centos6 from internet (netinstall)

Installing Centos6 / Rhel 6 From Network (Internet) :

We need ISO image from this links :  image size is only 170 MB. 

32 bit: http://linux.mirrors.es.net/centos/6.0/isos/i386/CentOS-6.0-i386-netinstall.iso
64 bit: http://linux.mirrors.es.net/centos/6.0/isos/x86_64/CentOS-6.0-x86_64-netinstall.iso

Burn Iso image to cd by your favorite image burner..


boot from cdrom and follow the instructions.

At Installation method menu select URL

configure ip address to access internet.

input this url  for netinstall :

http://mirror.centos.org/centos/6/os/i386 

Now install as normal installation.


CentOS 6 Download Link

CentOS is a Fork / Clone of RHEL ( RedHat Enterprise Linux), Basically RHEL is a Linux Distribution Under GNU GPL License but not free. So CentOS is a project to provide Enterprise Linux Free of cost. There is no more technical difference between RHEL and CentOS. If you want to install RHEL, you must create account to download RHEL ISO file and it is evolution version so we highly recomend that you first try CentOS which is free and opensource..


These are the links for to download CENTOS 6 ISO File, Download it and Burn it on CD / DVD with your favourite Burning program.

CentOS 32 bit DVD ISO File 

CentOS 32 bit Live CD  ISO File

CentOS 32 bit Live DVD ISO File

CentOS 64 bit DVD -1  ISO File

CentOS 64 bit DVD -2  ISO File

CentOS 64 bit Live CD ISO File

CentOS 64 bit Live DVD ISO File 

How-to-Configure Network in RHEL6 Centos6

In RHEL6 and CentOS6 there is not System-Config-Network Script available which was very handy and useful.. Its good thing that now your require Basic Knowledge of Linux config File.. which is a best practice for Real  Unix / Linux Admins.

Basically /etc contains Config files for system.
for network there is a directory called /etc/sysconfig/network-script/  

There are ifcfg-eth(number)  file for every Ethernet interface  e.g ifcfg-eth0 for Ethernet 0, ifcfg-eth1 for Ethernet 1

Now create a file or Edit a file called /etc/sysconfig/network-script/ifcfg-eth0

------------------------------------------------------------------------------------------------------------

DEVICE=eth0

           IPADDR=192.168.0.1
           NETMASK=255.255.255.0
           NETWORK=192.168.0.0
           BROADCAST=192.168.0.255
           ONBOOT=yes
           BOOTPROTO=none
           USERCTL=no

------------------------------------------------------------------------------------------------------------


These are the values which you can configure in config file :



 DEVICE=devicename, where devicename is the name of the physical network device.


 IPADDR=ipaddr, where ipaddr is the IP address.


 NETMASK=netmask, where netmask is the netmask IP value.


 NETWORK=network, where network is the network IP address.


 BROADCAST=broadcast, where broadcast is the broadcast IP address.


 ONBOOT=answer, where answer is yes or no. Do the interface need to be active or inactive at boot time.


 BOOTPROTO=proto, where proto is one of the following :


 none - No boot-time protocol should be used.


 bootp - The bootp now pump protocol should be used.


 dhcp - The dhcp protocol should be used.


 USERCTL=answer, where answer is one of the following:


 yes - Non-root users are allowed to control this device.


 no - Only the super-user root is allowed to control this device.






no system-config-network in rhel6 centos6

Terminal Based Gui utility System-config-network for configuring ip address, subnet mask, gateway, DNS for each Network Connection is no longer supported in RHEL6.

There are so many changes in RHEL6 and its variants like CentOS6 and other.

It was really a very user friendly utility specially for newbies and Linux begginers...

Please Read our next post for configuring network interfaces in old classic Unix / Linux style... directly modifying config file.  





CEntOS6 will release soon

There are only 2-3 dys remaining for Official CentOS version 6 release.. QA and all process are Tested now the will put Centos6 ISO file within some days.. We will update download link as soon as possible

Mount NTFS Hdd in CetnOS/ RHEL

CEntOS - 5 and RHEL-5 is not supporting mounting of NTFS partition, fix harddisk, removable usb harddisk with NTFS partition

some packages need to be installed on it to make NTFS mountable

which are fuse  and fuse-ntfs-3g

first of all apply this command to install these packages :

# yum install fuse fuse-ntfs-3g

after installing get the device name of connected hdd which we are going to mount

fdisk -l

in this example external hdd with ntfs partition is sdb2

make a directory / folder to mount hdd

# mkdir /media/hdd

mount sdb2 by this command

mount /dev/sdb2 /media/hdd

and you are doneeeeeeeee......

now you can access the data from ntfs mounted partition

how to make a iso image from cdrom under CentOS/RHEL

In Virtualization everything is virtual, so if you are planning for a virtual machine installation. it will be easy for you to make a iso image from cd/dvd and mount it as a virtual cdrom..

in linux dd command can do this things ..

This is an Example :

[root@vps ~]# dd if=/dev/cdrom of=xp.iso

dd command will make a xp.iso image file from physical cdrom..

Adding static route to RHEL-CENTOS-FEDORA

In RHEL/CENTOS/FEDORA you can add static route by applying route add command as other linux distributions, but if you want static permanaent route you can do it by modifying route-eth files..


path of file : /etc/sysconfig/network-scripts

modify route-eth0 or route-eth1 file on which ehternet interface you want to add route,

if file is not present create a file

# vi /etc/sysconfig/network-scripts/route-eth0

add following lines :

ADDRESS0=X.X.X.X
NETMASK0=X.X.X.X
GATEWAY0=X.X.X.X
example : 
ADDRESS0=192.168.1.0
NETMASK0=255.255.255.0
GATEWAY0=192.168.2.1
IF YOU WANT MORE ROUTES TO BE ADDED, APPLY 1,2,3, ETC. INSTEAD OF 0