Linix CentOS6.5 Download Installation diagram

Source: Internet
Author: User

CentOS 6.5 System Image has 32-bit and 64-bit two versions, production server if large memory (4G or more memory)

We recommend installing the 64-bit version Centos-6.5-x86_64-bin-dvd1.iso

Attached: CentOS 6.5

32-bit:

Http://mirror.centos.org/centos/6.5/isos/i386/CentOS-6.5-i386-bin-DVD1to2.torrent

64-bit:

Http://mirror.centos.org/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-bin-DVD1to2.torrent

1, the CentOS 6.5 system image has two, the installation system only uses the first mirror, namely Centos-6.5-i386-bin-dvd1.iso (32 bit) or Centos-6.5-x86_64-bin-dvd1.iso (64 bit), The second image is the system comes with a software installation package;

2, the installation of the CentOS 6.5 system computer memory must be equal to or greater than 628M (minimum memory 628M) to enable the graphics installation mode;

3, CentOS 6.5 text installation mode does not support custom partitions, we recommend the use of graphical installation mode installation;

4, CentOS 6.5 system installation method is divided into: Graphics installation mode and text installation mode;

5, CentOS 6.5 system operation mode is divided into: with a graphical interface, you can use the mouse to manipulate the graphical way and without a graphical interface, directly with the command line operation of the text mode (specific system operating mode, you can customize the process of the system installation);

First, install CentOS 6.5

To successfully boot the system with the CD, the following interface will appear

Interface Description:

Install or upgrade an existing system installation or upgrade of existing systems

Install the system with basic video driver during installation with the base graphics driver

Rescue installed system to enter the repair mode

Boot from local drive exits installation from hard disk boot

Memory Test RAM Test

Select the first item here, install or upgrade the existing system, enter.

If there is a question about whether to test the CD media, select "Skip" to skip the test.

The following interface appears

Next

Select language: Chinese (中文版) #生产服务器建议安装英文版本

Next

Keyboard selected as: U.s.english

Next

Select the first item, basic storage device

Next

Select the first item: Yes, ignoring all data

Next

Set the hostname, here default, and then modify after the installation is complete

Next

Time zone selection: etc/gmt +8 Beijing time Zone

Tick in front of "System clock user UTC", using UTC time

Set Root password

Next

Note: If you use a password that is too simple, the system will automatically prompt you: Your password is not secure, too simplistic/systematized

Choose "Use anyway" here anyway

Production environments must have strong, complex passwords

Next

Select the last item, create custom Layout, creating a customized partition

Next

Can see the capacity of the hard disk, I show here is 25G, now custom partition.

Note: Before partitioning, you should plan well, how to partition

My partition here is as follows:

HDD Total 25G

/boot #128M

/#剩余所有空间

Special Note:

For the official production of the server, remember that the data disk must be partitioned separately, to prevent problems in the system to ensure the integrity of the data. For example, you can divide a

/data is dedicated to storing data.

The swap partition is not partitioned, and for large memory servers, the swap partition may not be set, or after determining the amount of memory the system needs to use,

Add swap again

With free partition selected, click Create

Select Standard Partition Partition, click Create

mount point:/boot

File system type: ext3

Size size:128

Other options default to

Ok OK

Keep the free partition selected, click Create

Select Standard Partition Partition, click Create

mount point:/

File system type: EXT4

Check "Use all available space"

Other options default to

Ok OK

After creating the partition, as shown, then click Next

Default Yes #提示没有创建swap分区, followed by create

Point "format" formatting

Select ' Write changes to disk ' to write modifications to disk

Default

Next

The default is: First, desktop desktops

Choose here: Minimal min

Next

Note: You can click Customize now, select the SDK software to install

You can also install packages by using Yum Source, RPM, or compile when needed.

Start installation

Installation Complete

Point "Reboot" reboot, automatic system restart

After restarting, the following login screen appears

System Installation Complete

Second, set the IP address, gateway, DNS

Conventions:

The first network card is the external network

The second network card for the intranet (no external network of the machine will also be configured in the network on the second NIC)

Description: CentOS 6.5 is installed by default and does not automatically open the network connection!

Enter account root

Then enter the password set during installation and log in to the system

Vi/etc/sysconfig/network-scripts/ifcfg-eth0 #编辑配置文件, add modify the following content

Bootproto=static #启用静态IP地址

Onboot=yes #开启自动启用网络连接

ipaddr=192.168.21.129 #设置IP地址

netmask=255.255.255.0 #设置子网掩码

gateway=192.168.21.2 #设置网关

dns1=8.8.8.8 #设置主DNS

dns2=8.8.4.4 #设置备DNS

Ipv6init=no #禁止IPV6

: wq! #保存退出

Service Ip6tables Stop #停止IPV6服务

Chkconfig ip6tables off #禁止IPV6开机启动

Service YUM-UPDATESD Stop #关闭系统自动更新

Chkconfig yum-updatesd off #禁止开启启动

Service Network Restart #重启网络连接

Ifconfig #查看IP地址

Third, set the host name

Conventions:

Hostname naming specification: Business-Computer room-Master Preparation-domain name

The host name is set here: bbs.hz.m.osyunwei.com

1, hostname "bbs.hz.m.osyunwei.com"

#设置主机名为bbs. hz.m.osyunwei.com

2, Vi/etc/sysconfig/network #编辑配置文件

Hostname= bbs.hz.m.osyunwei.com

#修改localhost. Localdomain to Bbs.hz.m.osyunwei.com

: wq! #保存退出

3, Vi/etc/hosts #编辑配置文件

127.0.0.1 bbs.hz.m.osyunwei.com localhost

#修改localhost. Localdomain to Bbs.hz.m.osyunwei.com

: wq! #保存退出

Shutdown-r now #重启系统

Iv. increasing the Swap partition

You need to add 1024M of swap space after determining the memory that the server needs to use

Specific operation:

1, DD If=/dev/zero of=/tmp/swap bs=1m count=1024m #创建1024M的文件块

2, Mkswap/tmp/swap #创建swap文件

3, Swapon/tmp/swap #激活swap文件

4, Swapon-s #查看swap

5, modify the/etc/fstab file, add the following content, so that the system boot automatically start

Vi/etc/fstab #在最后添加下面代码

/tmp/swap Swap swap default 0 0

: wq! #保存退出

At this point, the CentOS 6.5 system installation configuration is complete

Linix CentOS6.5 Download installation diagram (RPM)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.