Linux Learning: Installing CentOS 6.7 and CentOS 7.1

Source: Internet
Author: User

Install the CentOS Linux platform with VMware Workstation 11 virtual software to achieve basic lab requirements.

    1. Set up a directory to store the CentOS guest system;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/25/wkiol1xdt7mi-smoaacqud88vpg385.jpg "height=" 144 "/>

2. After opening the VMware Workstation 11, click the "File" option, "New virtual machine", the wizard program appears;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/25/wkiol1xdt7qidslcaad2wxxrh8g942.jpg "height=" 297 "/>

3. After selecting "Custom (Advanced)", click Next;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/29/wkiom1xdtatt9zadaagpcja56o0909.jpg "height=" 431 "/>

4. In view of the VMware Workstation Hardware compatibility version, you can adjust the appropriate version for your use in the Select Virtual Machine Hardware Compatibility window.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/29/wkiom1xdtathfexiaafkk-yq9qq501.jpg "height=" 428 "/>

5. Install the guest system, we select "Install the operating system later";

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/29/wkiom1xdtawboyioaafmjhve8_e972.jpg "height=" 430 "/>

6. Set the corresponding operating platform how many bits of the version, this must not be mistaken Oh, otherwise the guest system can not install or start; (PS: We install the Linux distribution CentOS 64-bit platform, so we choose the customer OS "Linux", and the version can choose " CentOS 64-bit "or" RedHat Enterprise Linux 5 64-bit ");

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/25/wkiol1xdt77wd52baahrldrbdne212.jpg "height=" 567 "/>

7. Identify the "virtual machine name", which can be defined according to your own requirements. Remember that it is convenient to use easy-to-identify names for memory. "Location" Changes to the previously created folder;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/25/wkiol1xdt7_awpjiaaeplvbntlw114.jpg "height=" 431 "/>

8. Set the "number of CPUs and the number of cores per CPU", please do not exceed the actual computer hardware indicators;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/29/wkiom1xdtavwbw-haadzazuj0ie630.jpg "height=" 432 "/>

9. Set "Virtual machine memory" (generally by default), please do not exceed the actual computer hardware indicators;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/25/wkiol1xdt8pgyu_waaffoaz32ik565.jpg "height=" 432 "/>

10. Set the "network type", according to the actual needs and virtual Machine network configuration feature selection, here we choose "Bridge mode";

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/25/wkiol1xdt8sriaeoaaf5qmj9g24224.jpg "height=" 427 "/>

11. Set the "I/O Controller Type" (General selection default);

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/25/wkiol1xdt8wxxij_aaeikbfzsqw462.jpg "height=" 430 "/>

12. Set the "Virtual Disk type" (Recommended for general selection);

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/29/wkiom1xdta7xa9fgaadazul7ccw225.jpg "height=" 427 "/>

13. Select "Which disk to use" is "create new virtual hard disk" or "Existing virtual hard disk", you can also select "Use host's hard disk" (can improve the speed of reading and writing data), here we choose the default;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/25/wkiol1xdt8bcn12naaf1auxtegw747.jpg "height=" 430 "/>

14. Set "Disk Size", adopt the recommended value or custom, as for the following "Allocate all disk space immediately" (its role is to help you immediately put the set of disk space for the virtual machine to use, how big, of course, if you disk large enough OK), if not checked, That is, the disk space will increase with the increment of data;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/29/wkiom1xdta_wksy9aagivhp_8qi947.jpg "height=" 430 "/>

15. Check the file name and file type of the virtual machine disk;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/25/wkiol1xdt8ir-k6yaaeoindjt68347.jpg "height=" 433 "/>

16. Finally display the complete "Create Virtual machine configuration List", of course, you can now choose "Custom Hardware" or in the VMware Workstation Virtual machine page to increase or decrease some of the hardware devices to meet your needs to build the environment;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/25/wkiol1xdt8iydhciaafpyblyzam989.jpg "height=" 430 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/25/wkiol1xdt8njpqkyaae8sjfavje639.jpg "height=" 479 "/>

17. Do you remember when we installed the guest system in the New Virtual Machine wizard, the installation disk was not loaded, which means that the virtual machine does not yet have an operating system. We can load the operating system ISO image file by clicking the "CD/DVD (IDE)" setting in "Edit Virtual machine settings" or directly using the host optical drive installation system (generally recommended to load the ISO system image file) pay special attention to "connection at startup" in the "Device status" check;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/29/wkiom1xdtbpsh4_taae5dgugrh0365.jpg "height=" 505 "/>

18. In general, before installing the system, you need to adjust the computer BIOS settings, such as disable some irrelevant, change the boot sequence. There are two ways to enter the virtual machine bios;

    • Click on the menu "virtual machine", "Power", "enter the firmware when power is turned on"

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/25/wkiol1xdt8zwi67uaaggfwxtxm8286.jpg "height=" 297 "/>

    • After starting the virtual machine, press "F2" to enter the BIOS

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/29/wkiom1xdtbxxb95yaacfagf7etc592.jpg "height=" 417 "/>

19. Adjust the BIOS configuration;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/29/wkiom1xdtbaxoyadaah2xub2fig468.jpg "height=" 418 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/29/wkiom1xdtbfxhkaqaagwlk6pbry241.jpg "height=" 416 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/25/wkiol1xdt9cjlrm2aah41305vom557.jpg "height=" 417 "/>

OK, configuration completed can install CentOS 7.x, how simple Start screen, we choose the first "install CentOS 7" Start to enter the installation interface;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/25/wkiol1xdt9hhhq2paackcejc8u0191.jpg "height=" 351 "/>

21. Select the language used in the installation process, we select "Chinese Simplified" to continue;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/25/wkiol1xdt9kqwkcfaae3-mbjyp4164.jpg "height=" 421 "/>

22. The following "Installation information summary", including date and time source, keyboard and language, installation source, software selection, installation location, Network&hostname and so on settings, the CentOS 7.x Installation wizard interface structure is significantly different from CentOS 6.x, It seems that the interface is centralized and user-friendly changes;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/29/wkiom1xdtbzcsxiiaaetnhktraq205.jpg "height=" 419 "/>

23. According to your own requirements, appropriate changes. First, we click on the "Installation location", after entering the disk partition interface, the virtual disk is divided, set up a number of mount points, such as/root directory, boot file directory used by the/boot system,/home Other user folders,/var store frequently changed folders, swap swap partition;

Before partitioning the disk, you should plan ahead, as follows

/boot 200MB

Swap 2GB is preferably between 1.5 and twice times the physical memory

/Home 10GB

/20GB

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/29/wkiom1xdtb2qlc3raafmukepn6s560.jpg "height=" 420 "/>

24. At this point, select "Other Storage Options", "Partition", "I want to configure the partition", click on the top left corner of "done" to enter the following interface;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/29/wkiom1xdtb6h0j0baafzrziccgq684.jpg "height=" 421 "/>

25. Start the new partition;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/25/wkiol1xdt9fhgf6oaad7jof9dz0331.jpg "height=" 421 "/>

26. Set "Software Selection" (default is the minimum installation), we select the "server with GUI" environment, and the right "additional options" all selected;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/25/wkiol1xdt9mbnmhtaaitleyb6vs394.jpg "height=" 420 "/>

27. Set "Network&host name" to change "HOST name" to the name you need;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/25/wkiol1xdt9rjov81aad5xawsxfu948.jpg "height=" 419 "/>

28. After the final setup is complete, click "Start Installation";

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/29/wkiom1xdtcpt1gonaae1cg-crx0842.jpg "height=" 418 "/>

29. Go to the next screen and select "User Settings" to set the root super user password to enhance the security level;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/29/wkiom1xdtctxkqy5aafmlltd1as175.jpg "height=" 419 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/29/wkiom1xdtcxiqjvhaadaij8cv70969.jpg "height=" 422 "/>

30. Go back to the previous interface, select "User Settings" settings to create users, to control the rights;

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/25/wkiol1xdt97dpgdkaaely5ql9m4889.jpg "height=" 419 "/>

31. After clicking "Finish", return to the previous interface again, a total of 1837 packages need to be installed to complete.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/25/wkiol1xdt-dx9byuaaezaq4scis350.jpg "height=" 421 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/25/wkiol1xdt-gg7pcfaadzygs92n8029.jpg "height=" 412 "/>

This article is from the "Craft Life" blog, so be sure to keep this source http://allenh.blog.51cto.com/481430/1688605

Linux Learning: Installing CentOS 6.7 and CentOS 7.1

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.