Home > System Tutorial > LINUX > CentOS 6.6 system installation and configuration full illustrated tutorial

CentOS 6.6 system installation and configuration full illustrated tutorial

WBOY
Release: 2024-01-12 16:27:06
forward
1708 people have browsed it

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

The server related settings are as follows:

Operating system: CentOS 6.6 64-bit

IP address: 192.168.21.129

Gateway: 192.168.21.2

DNS: 8.8.8.8 8.8.4.4

Note:

CentOS 6.6 system image has two versions, 32-bit and 64-bit, and there are also special versions for Server-optimized minimal version

 If the production server has a large memory (4G

 1. The computer memory on which CentOS 6.6 system is installed must be equal to or greater than 628M (minimum memory 628M) before graphical installation can be enabled Mode;

2. CentOS 6.6 system installation mode is divided into: graphical installation mode and text installation mode;

3. CentOS 6.6 text installation mode does not support custom partitions, and it is recommended to use graphical installation Mode installation;

5. CentOS 6.6 system operation mode is divided into: graphical mode with graphical interface, which can be operated with the mouse; and text mode without graphical interface, which can be operated directly by command line (CentOS minimal version defaults It runs in text mode, and there is no customization option for the system running mode during the system installation process);

## Interface description:

Install or upgrade an existing system Install or upgrade an existing systemCentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

install system with basic video driver Install The basic graphics card driver is used in the process

 Rescue installed system Enter the system repair mode

 Boot from local drive Exit the installation and boot from the hard disk

 Memory test Memory test

 Select the first option here, install or upgrade the existing system, and press Enter.

 A question will appear whether to test the CD media, select "Skip" here to skip the test.

  The following interface appears

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

  Next

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

  The selected language is: English (English ) #It is recommended to install the English version on the production server

 NextCentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

## The keyboard selection is: U.S.English

 Next

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

 Select the first item, basic storage device

 Next

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

##  Select the first item: Yes, ignore all data

Next

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

Set the host name. The default is enough. Modify it after the installation is complete.

Next

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

Time zone selection: Asia/Shanghai

 “System clock user UTC” #Cancel the previous check mark and do not use UTC time

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程# 

## Settings root password

 Next

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

 Note: If the password you use is too simple, the system will automatically prompt: Your password is not secure enough and is too simple/system change

Select "Use Anyway" here

Production environment must set strong and complex passwords

Next

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

## Select The last item is Create Custom Layout. Create a custom partition

 Next

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程## You can see the capacity of the hard drive. What I show here is 20G. Now customize it Partition.

NOTE: Before partitioning, you must first plan how to partition

My partitions are as follows:

## PHhi The total hard disk is 20G

HIswap #2048M, Generally set to 2 times the memory

 / #All remaining space

Special note:

 For servers used in formal production, remember that the data disk must be partitioned separately to prevent system failure Ensure data integrity when problems arise. For example, you can divide another

 /data specifically to store data.

 Select the free partition Free and click CreateCentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

 Select the standard partition Standard Partition and click Create

 File system type: swapCentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

 Size: 2048

 Other options can be defaulted

 Confirm OK

##   Continue to select the free partition Free and click Create

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程   Select the standard partition Standard Partition and click Create

##   Mount point: /

 File system type: ext4CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

 Check "Use all available space"

 Other options can be defaulted

 OK

 After creating the partition, as shown in the picture above, then click Next

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

 Click "Format" to format it

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

 Select “Write changes to disk” to write changes to disk

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

 Default

 NextCentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

 Start installation

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

 Installation completed

 Click "Reboot" to reboot, the system will automatically restartCentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

After restarting, the following login interface appears

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程

## Enter the account root and password, and successfully log in to the system, as shown in the figure below:

CentOS 6.6系统怎么安装?CentOS Linux系统安装配置图解教程##  System installation completed

  2. Set IP address, gateway, DNS

 Agreement:

 The first network card is the external network

 The second network card is the internal network (machines without external networks must also configure the internal network on the second network card)

NOTE: CentOS 6.6 does not automatically open the network connection after it is installed by default!

Enter the account root

and then enter the password set during the installation process to log in to the system

vi /etc/sysconfig/network-scripts/ifcfg-eth0 #Edit configuration file , add and modify the following content

ˈBOOTPROTO=static #Enable static IP address

ˆONBOOT=yes #Turn on automatic network connection

ˆIPADDR=192.168.21.129 #Set IP address

##  NETMASK=255.255.255.0 #Set subnet mask

GATEWAY=192.168.21.2 #Set gateway

DNS1=8.8.8.8 #Set primary DNS

 DNS2=8.8.4.4 #Set DNS

 IPV6INIT=no #forbid IPV6

 :wq! #Save and exit

hilservice ip6tables stop #Stop IPV6 service

# chkconfig yum-updatesd off #Disable startup

service network restart #Restart network connection

ifconfig #View IP address

 3. Set the host name

 Convention:

 Host name naming convention: Business. engine room. Main and backup. Domain name

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

∣ 1. Hostname “bbs.hz.m.osyunwei.com”

∣ # Settings The host name is bbs.hz.m.osyunwei.com

2. vi /etc/sysconfig/network #Edit configuration file

HOSTNAME= bbs.hz.m.osyunwei.com

  #Modify localhost.localdomain to bbs.hz.m.osyunwei.com

  :wq! #Save and exit

  3. vi /etc/hosts #Edit configuration file

  127.0.0.1 bbs.hz.m.osyunwei.com localhost

   #Modify localhost.localdomain For bbs.hz.m.osyunwei.com

  :wq! #Save and exit

shutdown -r now #Restart the system

At this point, the installation and configuration of the CentOS 6.6 system is completed

The above is an introduction to the installation and configuration steps of the CentOS 6.6 system. This article I only introduce the installation and configuration of the CentOS 6.6 system using a CD. I hope it will be helpful to everyone. Please continue to pay attention to this site for more information.

Recommended reading:

CentOS 6.6 system installation and configuration graphic tutorial

How to set the desktop font of CentOS 6.6 system?

The above is the detailed content of CentOS 6.6 system installation and configuration full illustrated tutorial. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template