Know Linux, create virtual machines, install CentOS 7

Source: Internet
Author: User

1. Understanding Linux


#linux是一个操作系统平台

#在没有linux前是Unix的天下, Unix is not free, need authorization, the average person can not afford it.

#1983年, the computer community, Richard Stallman, has launched a plan to build a completely free and free operating system for everyone to learn, and this is the famous GNU program. (The so-called freedom is the software that joins the GNU program must be free to use, freely change, free to publish.) In order to restrict everyone's freedom to use this set of rules is the famous GPL agreement)

#GNU计划发起后, there have been great software such as VI, Emacs, GCC and so on, until 1991, Finnish university student Linus-Benner-Torvalds (Linus Benedict Torvalds) developed a UNIX-like operating system based on interest, After the release of a lot of people after the stick, the system is linux,1994 Linux to join the GNU program and released under the GPL, since the Gnu\linux really realized the idea of building a completely free operating system.

#比较出名的版本有Debian (1993) and Slackware (1993), Red Hat (1994) was born, Ubuntu (2004) out of the relatively late Debian based on the development of the Debian Branch, Slackware also has a more famous branch of SuSE (1994)

#Android系统也是一种Linux的发行版本, Red Hat is a very famous Linux branch, a Linux distribution in China Red Flag (1999) is based on Red hatn distribution, but this version of the people are not much, not popular. 2002 Red Hat launched a new release for Enterprise Red Hat Enterprise (RHEL), and the previous Red Hat was no longer released and was continued by another release, which is known as Fedora (beta, stable), All of the new technologies released in Rhel have to be tested on fedora before being ported to Rhel.

#Centos诞生于2003年, since Red Hat is based on GNU, it has to follow the GPL, and after Rhel releases all of its source code, CentOS was compiled with Rhel source, and in February 2014, CentOS was in Red Hat's pocket, The reason for this is that the CentOS distribution has been widely popular, with Red Hat officially attached to it.

2. Create a virtual machine


Note: Download VM virtual machine (please download VMware workstation The latest version of virtual machine installed by yourself.)


Open VM Virtual machine, click Create New virtual machine

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/A7/4A/wKioL1nkkLmADeKCAACqRCS4sg0187.jpg-wh_500x0-wm_ 3-wmp_4-s_2130432033.jpg "title=" 1.jpg "alt=" Wkiol1nkklmadekcaacqrcs4sg0187.jpg-wh_50 "/>

The default selection is typical and the next option is to install the operating system later.

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/08/9B/wKiom1nkk5vTYLSRAAB2AmeUako666.jpg-wh_500x0-wm_ 3-wmp_4-s_343230260.jpg "style=" Float:none; "title=" 2.jpg "alt=" Wkiom1nkk5vtylsraab2ameuako666.jpg-wh_50 "/>

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/08/9B/wKiom1nkk5vCd_fzAABzsdk17I0063.jpg-wh_500x0-wm_ 3-wmp_4-s_934201380.jpg "style=" Float:none; "title=" 3.jpg "alt=" Wkiom1nkk5vcd_fzaabzsdk17i0063.jpg-wh_50 "/>

Next, the system chooses Linux, version select CentOS 64-bit

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/08/9B/wKiom1nkk-Xg-QgxAABwCawIy1M020.jpg-wh_500x0-wm_ 3-wmp_4-s_1724338380.jpg "title=" 4.jpg "alt=" Wkiom1nkk-xg-qgxaabwcawiy1m020.jpg-wh_50 "/>

Next, the virtual machine name can be renamed itself, if not required to remain the default, the location of the virtual machine can be changed.

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/A7/4A/wKioL1nkkeijEBMqAABXOY4EQu8411.jpg-wh_500x0-wm_ 3-wmp_4-s_1447337808.jpg "title=" 5.jpg "alt=" Wkiol1nkkeijebmqaabxoy4equ8411.jpg-wh_50 "/>

Next, disk space can be based on their own needs to freely allocate space, virtual disk storage files are single or multiple to see their own needs to choose, my side choose the default.

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/A7/4A/wKioL1nkkmjgg3DIAACQZUqqAPQ554.jpg-wh_500x0-wm_ 3-wmp_4-s_3673184910.jpg "title=" 6.jpg "alt=" Wkiol1nkkmjgg3diaacqzuqqapq554.jpg-wh_50 "/>

Next, the custom hardware memory and CPU can choose the operation according to their own needs, general test using 1G of memory 1 CPU is enough to use, network card mode configuration according to their own network environment choice, if you do the experiment using the recommended choice NAT mode.

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/A7/4A/wKioL1nkkuGihVouAADa4MshI7A652.jpg-wh_500x0-wm_ 3-wmp_4-s_1024294556.jpg "title=" 7.jpg "alt=" Wkiol1nkkugihvouaada4mshi7a652.jpg-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/A7/4A/wKioL1nkk8KgH7hjAADHXhgpWVs823.jpg-wh_500x0-wm_ 3-wmp_4-s_64694944.jpg "title=" 8.jpg "alt=" Wkiol1nkk8kgh7hjaadhxhgpwvs823.jpg-wh_50 "/>

3, Installation Centos7

After the creation of the virtual machine, we put the ISO file on the CD (Centos7.0 system Baidu own download), select boot Start, the completion of the confirmation, click to open the virtual machine.

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/08/9B/wKiom1nkm-yw4u5mAACrV5XXs14881.jpg-wh_500x0-wm_ 3-wmp_4-s_440685898.jpg "title=" 9.jpg "alt=" Wkiom1nkm-yw4u5maacrv5xxs14881.jpg-wh_50 "/>

The CentOS 7 installation screen will appear after the boot, select the first line to enter the quick start, and then wait for the system to run.

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/08/9B/wKiom1nknOOxM5uyAAAqPyvuU0I382.jpg-wh_500x0-wm_ 3-wmp_4-s_2693799848.jpg "title=" 10.jpg "alt=" Wkiom1nknooxm5uyaaaqpyvuu0i382.jpg-wh_50 "/>

The following interface can be used to choose the language according to their own habits, choose Chinese here, continue.

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/A7/4B/wKioL1nkmnSR2zSrAACdw3-j3K0344.jpg-wh_500x0-wm_ 3-wmp_4-s_346709867.jpg "title=" 11.jpg "alt=" Wkiol1nkmnsr2zsraacdw3-j3k0344.jpg-wh_50 "/>

For example, need to configure where there are installation source and software selection of the two can be based on their own needs to choose, do not need to keep the default, where the need to change the installation location, mouse click in, the hard disk has been selected by default, in the storage options select "I want to configure the partition", others remain the default, click Finish.

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/A7/4C/wKioL1nkqTbSDGcFAACaLDBS-p4068.jpg-wh_500x0-wm_ 3-wmp_4-s_2049971082.jpg "title=" 13.jpg "alt=" Wkiol1nkqtbsdgcfaacaldbs-p4068.jpg-wh_50 "/>

Select "Standard Partition", press/boot sub 200M, swap (memory is less than 8G by memory twice times, memory is greater than 8G, then press 16G to divide),/root directory (all the remaining space to the root directory).

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/A7/4C/wKioL1nkqoCBepyeAACHcJ16qJU843.jpg-wh_500x0-wm_ 3-wmp_4-s_2223305588.jpg "title=" 14.jpg "alt=" Wkiol1nkqocbepyeaachcj16qju843.jpg-wh_50 "/>

Click Finish to enter the installation screen, change the root password, continue to complete the installation.

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/A7/4D/wKioL1nkq9-x_B5tAACjlMjIKOk916.jpg-wh_500x0-wm_ 3-wmp_4-s_889508637.jpg "style=" Float:none; "title=" 16.jpg "alt=" Wkiol1nkq9-x_b5taacjlmjikok916.jpg-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/A7/4D/wKioL1nkq9-xxtX9AABq8mYn-wA875.jpg-wh_500x0-wm_ 3-wmp_4-s_2518566170.jpg "style=" Float:none; "title=" 17.jpg "alt=" Wkiol1nkq9-xxtx9aabq8myn-wa875.jpg-wh_50 "/>

Wait for the installation and click Restart when the installation is complete.

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/A7/4D/wKioL1nkrq7igDcJAABsTPhed9I537.jpg-wh_500x0-wm_ 3-wmp_4-s_2599935534.jpg "title=" 18.jpg "alt=" Wkiol1nkrq7igdcjaabstphed9i537.jpg-wh_50 "/>

After reboot, enter the system so that the CENTOS7 installation is completed.

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/08/9D/wKiom1nksejDCFJrAAAqXkGUcM8969.jpg-wh_500x0-wm_ 3-wmp_4-s_461214056.jpg "title=" 19.jpg "alt=" Wkiom1nksejdcfjraaaqxkgucm8969.jpg-wh_50 "/>

This article from "Gary Blog" blog, declined reprint!

Know Linux, create virtual machines, install CentOS 7

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.