Install CentOS 6.4 in Text Mode

CentOS ("Community Enterprise Operating System") is a Linux distribution which attempts to provide a free enterprise class computing platform which has 100% binary compatibility with its upstream source, Red Hat Enterprise Linux (RHEL). As of version 6.4, it officially supports x86 and x86-64 architecture with Physical Address Extension, while a beta is expected to be available for PowerPC.

The first CentOS was based upon RHEL version 2.1AS, and was numbered as CentOS version 2.

Official Website www.centos.org
Installation Process

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install CentOS 6.4 in Text Mode

Install VMware Tools

If you install CentOS in a VMware virtual machine.

$ su
# mount /dev/cdrom /mnt/
# cp /mnt/VMwareTools-9.6.1-1378637.tar.gz /tmp/
# cd /tmp/
# tar -xvzf VMwareTools-9.6.1-1378637.tar.gz
# cd vmware-tools-distrib/
# chmod 777 vmware-install.pl
# ./vmware-install.pl

Afer install

# umount /dev/cdrom /mnt/

Issues

If got error: .vmware-install.pl: /usr/bin/perl: bad interpreter: No such file or directory, it's complaining it can't find /usr/bin/perl. You need to run:

# yum install perl

If got error: Setup is unable to find the "ifconfig" program on your machine. Please make sure it is installed. Do you want to specify the location of this program by hand?[yes], run the following command to install the ifconfig program:

# yum install net-tools

Login with root account, and reate a new user.

# useradd username
# passwd username
# echo 'username ALL=(ALL) ALL' >> /etc/sudoers

Open SSH Service

# /etc/init.d/sshd start

If you want to allow external network connected to the server, please close the iptables

# /etc/init.d/iptables stop

Check SSH whether the run level is set to boot

$ sudo chkconfig --list sshd
$ sudo chkconfig --level 2345 sshd on
$ sudo service sshd restart

Update

$ sudo yum update

Setup network on CentOS 7

$ sudo vi /etc/sysconfig/network-scripts/ifcfg-eno16777984

Edit file:

TYPE=Ethernet
BOOTPROTO=static                            # Default: none
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eno16777984
UUID=7f1aff2d-48fa-4436-9497-34d38ebc9360
DEVICE=eno16777984
ONBOOT=no                                   # Default: none
IPADDR=192.168.1.100                        # Added
NETMASK=255.255.255.0                       # Added
GATEWAY=192.168.1.1                         # Added
DNS1=8.8.8.8                                # Added
DNS2=8.8.4.4                                # Added
HOSTNAME=centos                             # Added

Restart network:

$ sudo service network restart

Check network status:

$ ip address
0.00 avg. rating (0% score) - 0 votes