CentOS 6.6 system installation and configuration full illustrated tutorial
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 system
The following interface appears
Next
The selected language is: English (English ) #It is recommended to install the English version on the production server
Next
## Select the first item: Yes, ignore all data
Next
Set the host name. The default is enough. Modify it after the installation is complete.
Next
Time zone selection: Asia/Shanghai
“System clock user UTC” #Cancel the previous check mark and do not use UTC time
#
Select "Use Anyway" here
Production environment must set strong and complex passwords
Next
## 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 Create
File system type: swap
Select the standard partition Standard Partition and click Create
## Mount point: /
File system type: ext4
After creating the partition, as shown in the picture above, then click Next
Click "Format" to format it
Select “Write changes to disk” to write changes to disk
Default
Next
Start installation
Installation completed
Click "Reboot" to reboot, the system will automatically restart
After restarting, the following login interface appears
## 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!

Learning Linux is not difficult. 1.Linux is an open source operating system based on Unix and is widely used in servers, embedded systems and personal computers. 2. Understanding file system and permission management is the key. The file system is hierarchical, and permissions include reading, writing and execution. 3. Package management systems such as apt and dnf make software management convenient. 4. Process management is implemented through ps and top commands. 5. Start learning from basic commands such as mkdir, cd, touch and nano, and then try advanced usage such as shell scripts and text processing. 6. Common errors such as permission problems can be solved through sudo and chmod. 7. Performance optimization suggestions include using htop to monitor resources, cleaning unnecessary files, and using sy

The average annual salary of Linux administrators is $75,000 to $95,000 in the United States and €40,000 to €60,000 in Europe. To increase salary, you can: 1. Continuously learn new technologies, such as cloud computing and container technology; 2. Accumulate project experience and establish Portfolio; 3. Establish a professional network and expand your network.

The main uses of Linux include: 1. Server operating system, 2. Embedded system, 3. Desktop operating system, 4. Development and testing environment. Linux excels in these areas, providing stability, security and efficient development tools.

The Internet does not rely on a single operating system, but Linux plays an important role in it. Linux is widely used in servers and network devices and is popular for its stability, security and scalability.

The core of the Linux operating system is its command line interface, which can perform various operations through the command line. 1. File and directory operations use ls, cd, mkdir, rm and other commands to manage files and directories. 2. User and permission management ensures system security and resource allocation through useradd, passwd, chmod and other commands. 3. Process management uses ps, kill and other commands to monitor and control system processes. 4. Network operations include ping, ifconfig, ssh and other commands to configure and manage network connections. 5. System monitoring and maintenance use commands such as top, df, du to understand the system's operating status and resource usage.

Introduction Linux is a powerful operating system favored by developers, system administrators, and power users due to its flexibility and efficiency. However, frequently using long and complex commands can be tedious and er

Linux is suitable for servers, development environments, and embedded systems. 1. As a server operating system, Linux is stable and efficient, and is often used to deploy high-concurrency applications. 2. As a development environment, Linux provides efficient command line tools and package management systems to improve development efficiency. 3. In embedded systems, Linux is lightweight and customizable, suitable for environments with limited resources.

Introduction: Securing the Digital Frontier with Linux-Based Ethical Hacking In our increasingly interconnected world, cybersecurity is paramount. Ethical hacking and penetration testing are vital for proactively identifying and mitigating vulnerabi


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use