Core installation and configuration of CentOS-7.0

Source: Internet
Author: User

I saw a variety of errors in installing CentOS-7.0 in the post bar before, I will write this centos 7 installation tutorial for beginners to refer.

We have two ways to install centos: boot through a CD and boot through a USB flash disk.

If you need to set the CD-ROM drive to the highest priority with a CD,

The USB flash drive sets the removable devices priority to the highest.

Note: After installation, remember to set hard drive to the maximum. If you still choose to enable the system to read the mobile device first, the system will read the device first when you connect to the mobile hard disk or the USB flash disk to restart the machine, causing the computer to fail to start normally.

I have installed windows before.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/47/1C/wKioL1P21KSQlBLoAAGu_eM4koE895.jpg "style =" float: none; "Title =" centos1.jpg "alt =" wkiol1p21ksqlbloaagu_em4koe895.jpg "/>

Centos 7 Interface

Select Option 1: Install

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/47/1A/wKiom1P204yyeOCzAACgalpOIYo163.jpg "style =" float: none; "Title =" centos2.jpg "alt =" wkiom1p204yyeoczaacgalpoiyo163.jpg "/>

This is the language used in the installation process. By default, I use the US English language.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/47/1C/wKioL1P21KWAEoRvAAFfled1180800.jpg "style =" float: none; "Title =" centos3.jpg "alt =" wkiol1p21kwaeorvaaffled1180800.jpg "/>

This interface

For the first (Date & time) time zone, we need to adjust it to our zone, which is generally Asia-China-Shanghai.

The second (keyboard) keyboard language is generally the default

The third operating language (Language Support) is generally the default English language.

The fourth (installation source) is the installation resource. Select the default value.

The fifth (software selection) software selection. By default, the installation is minimized and can be adjusted as needed. However, the installation is usually minimized by default. Then we can install the software as needed.

The sixth installation path (installation destination) must be set by yourself. Otherwise, you cannot enter the begin install

Network & hostname

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/47/1C/wKioL1P21KiBJV6oAAFcpN1-o1o521.jpg "style =" float: none; "Title =" centos4.jpg "alt =" wKioL1P21KiBJV6oAAFcpN1-o1o521.jpg "/>

Click installation destination to go to the page and click as shown in the figure.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/47/1A/wKiom1P205Dzt0plAAFC_ZmPXTo954.jpg "style =" float: none; "Title =" centos5.jpg "alt =" wkiom1p205dzt0plaafc_zmpxto954.jpg "/>

In this interface, we need to set the partition to standard partition and then add three mount points swap,/data ,/, the size is 2048 (SWAp is generally set to twice the memory size), 2048 (this data is set by yourself), and the remaining size is left to the root. For more information, see

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/47/1C/wKioL1P21KvCg8KHAAFdd8dSqqU136.jpg "style =" float: none; "Title =" centos6.jpg "alt =" wkiol1p21kvcg8khaafdd8dsqqu136.jpg "/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/47/1A/wKiom1P205TwCmuFAACc6hK2CEk592.jpg "style =" float: none; "Title =" centos7.jpg "alt =" wkiom1p205twcmufaacc6hk2cek592.jpg "/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/47/1A/wKiom1P205SRIKorAACeoltWs7c365.jpg "style =" float: none; "Title =" centos8.jpg "alt =" wkiom1p205srikoraaceoltws7c365.jpg "/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/47/1C/wKioL1P21KzQ1J23AACQnFgkAQM993.jpg "style =" float: none; "Title =" centos9.jpg "alt =" wkiol1p21kzq1j23aacqnfgkaqm993.jpg "/>

Click Done after setting.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/47/1A/wKiom1P205SA8y1JAAFStFs4PY4019.jpg "style =" float: none; "Title =" centos10.jpg "alt =" wkiom1p205sa8y1jaafstfs4py4019.jpg "/>

Select accept changes

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/47/1C/wKioL1P21K2C4YsAAAEI5JYc0ec667.jpg "style =" float: none; "Title =" centos11.jpg "alt =" wkiol1p21k2c4ysaaaei5jyc0ec667.jpg "/>

In this interface, we need to set the user name and password.

For example, user: Root Password: 123456

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/47/1A/wKiom1P205XBJrJPAAE5oOPxX14215.jpg "style =" float: none; "Title =" centos13.jpg "alt =" wkiom1p205xbj?paae5oopxx14215.jpg "/>

After installation, restart.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/47/1A/wKiom1P205izNEd-AACqHTPJtFQ686.jpg "style =" float: none; "Title =" centos14.jpg "alt =" wKiom1P205izNEd-AACqHTPJtFQ686.jpg "/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/47/1C/wKioL1P21LCyrwbGAABqtbQEv6I164.jpg "style =" float: none; "Title =" centos15.jpg "alt =" wkiol1p21lcyrwbgaabqtbqev6i164.jpg "/>

Host Name and IP configuration

Enter

VI/etc/hostname # change the host name onepiece # change the Host Name

Enter

cd /etc/sysconfig/network-scriptslltotal 212-rw-r--r--. 1 root root   362 Aug 21 15:19 ifcfg-eno16777736-rw-r--r--. 1 root root   254 Apr  2 11:30 ifcfg-lolrwxrwxrwx. 1 root root    24 Aug 21 09:57 ifdown -> ../../../usr/sbin/ifdown-rwxr-xr-x. 1 root root   627 Apr  2 11:30 ifdown-bnep-rwxr-xr-x. 1 root root  5553 Apr  2 11:30 ifdown-eth-rwxr-xr-x. 1 root root   781 Apr  2 11:30 ifdown-ippp

Ifcfg-eno16777736 when intercepting part of the file we need to modify

VI ifcfg-eno16777736HWADDR = 00: 0C: 29: B4: 96: fdtype = ethernetbootproto = static # Set to static ipdefroute = yespeerdns = yespeerroutes = route = notes6init = yesipv6_autoconf = Signature = noname = Signature = yes # enable auto-enable network Connection ipaddr = 192.168.188.31 # set IP address netmask = 255.255.255.0 # Set subnet mask gateway = 192.168.188.2 # Set the Gateway: WQ! # Save and exit the service network restart # restart the Network Shutdown-R now # restart the system

We Log On Through securecrt

We can see that the host name and IP address have all changed to the one we set.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/47/1B/wKiom1P22rrip8tIAAI0kGpoOUU722.jpg "Title =" centos16.jpg "alt =" wkiom1p22rrip8tiaai0kgpoouu722.jpg "/>

Now the installation and basic configuration of centos 7 are complete.

This article is only for cainiao who are new to Linux. I hope you will have some gains after reading this article.

This article is from the "Zhang Fan-it's fantasy drifting" blog, please be sure to keep this source http://chawan.blog.51cto.com/9179874/1543479

Core installation and configuration of CentOS-7.0

Related Article

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.