How to Install CentOS on Server

Step 1:

ins1

Step 2:

ins2

Step 3:

ins3

Step 4:

ins4

Step 5:

ins5

Step 6:

ins6

Step 7:

ins7

Step 8:

ins8

Step 9:

ins9

Step 10:

ins10

Step 11:

ins11

Step 12:

ins12

How to Change Hostname in Linux

Method 1: Command Line

Step 1: Edit in /etc/sysconfig/network File

In order to change the hostname edit the following file:

# sudo nano /etc/sysconfig/network
HOSTNAME=server.tecdistro.com

Step 2: Modify /etc/hosts File

Edit /etc/hosts File and enter the hostname along with IP Address of server for local use.

# vi /etc/hosts
127.0.0.1 tecdistro.com localhost.localdomain localhost
159.8.18.70 tecdistro.com tecdistro.com

Step 3: Modify the Hostname

# hostname tecdistro.com
# hostname
tecdistro.com

Step 4: Restart Network

Now restart the network:

/etc/init.d/network restart

Method 2: GUI Environment

Step 1: Execute setup Command

# setup

Select Network Configuration Tab
setup1

Step 2: Select DNS Configuration

setup5

Step 3: Modify the Hostname

setup6
Once the changes have made, Select SAVE & QUIT and press ENTER key from keyboard.

How to Download Linux CentOS

VersionMinor releaseCD and DVD ISO Images
CentOS-77.0.1406For 32-bit & 64-bit http://mirrors.nayatel.com/centos/7/isos/x86_64/
CentOS-66.6For 32-bit   http://mirrors.nayatel.com/centos/6.6/isos/i386/
For 64-bit   http://mirrors.nayatel.com/centos/6.6/isos/x86_64/
CentOS-55.1For 32-bit   http://mirrors.nayatel.com/centos/5.11/isos/i386/
For 64-bit   http://mirrors.nayatel.com/centos/5.11/isos/x86_64/