Linux Learning First step _centos system installation

Source: Internet
Author: User

Suddenly interested in Linux, he installed a CentOS6.0 system on its own virtual machine environment, and began to prepare to learn Linux
Maybe writing a Linux deployment will make people feel very good, but the habit of blogging is fine.
Write my steps, one, enhance the memory, two, the gods if you see where there are errors, pointing out

===vmware Workstation creating a virtual machine

1) Select Typical (recommended), virtual machine version will inherit VMware Workstation version, if you want to customize SCSI controller type \ virtual disk type \ virtual machine version and other information select Custom (Advanced)

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/85/3D/wKiom1ed3omD2fvCAACTW88bHbE933.png "title=" 2016-07-31_183550.png "alt=" Wkiom1ed3omd2fvcaactw88bhbe933.png "/>


2) Temporarily do not select the disc image files, these are configured after the virtual machine can be set

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/85/3D/wKioL1ed39-yTsqKAAAi2KKdk5c267.png "title=" 2016-07-31_183604.png "alt=" Wkiol1ed39-ytsqkaaai2kkdk5c267.png "/>


3) Select the system you want to install, here I install CentOS

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/85/3D/wKioL1ed4BPhNMLHAAAdeAdOg7s495.png "title=" 2016-07-31_183613.png "alt=" Wkiol1ed4bphnmlhaaadeadog7s495.png "/>


4) Enter the name of the virtual machine and select the folder where the virtual machine resides

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/85/3D/wKiom1ed4GPQc6L5AAAT-R3VyGE371.png "title=" 2016-07-31_183656.png "alt=" Wkiom1ed4gpqc6l5aaat-r3vyge371.png "/>


5) Size yourself, because it is not immediately allocated space, the space used by the system will grow in the physical disk

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/85/3D/wKiom1ed4L2wo6Y6AAAi9XtgAhk095.png "title=" 2016-07-31_183715.png "alt=" Wkiom1ed4l2wo6y6aaai9xtgahk095.png "/>


6) Click on custom hardware to make some simple configuration

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/85/3D/wKiom1ed4WOC-bPBAAAdcWdkKZY242.png "title=" 2016-07-31_183727.png "alt=" Wkiom1ed4woc-bpbaaadcwdkkzy242.png "/>


7) Set the NIC to bridge mode to use the physical machine SSH Linux host through bridging

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/85/3D/wKioL1ed4ZTiKbtuAABNMy4C3hY416.png "title=" 2016-07-31_183759.png "alt=" Wkiol1ed4ztikbtuaabnmy4c3hy416.png "/>


8) Browse to find your image file, no, the following is the CentOS

Http://mirrors.aliyun.com

Http://mirrors.163.com

http://mirrors.sohu.com

You can remove some unnecessary devices, CD/DVD (IDE) device status Be sure to select Connect at startup

Click OK in the lower right corner and launch the virtual machine to start the CentOS installation

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/85/3D/wKioL1ed4h2idyNVAAA6YRlkJB0903.png "title=" 2016-07-31_183837.png "alt=" Wkiol1ed4h2idynvaaa6yrlkjb0903.png "/>


===centos Installation

Virtual machine disk If the system is not installed, the default will be automatic ISO image installation program

1) Install the Welcome screen, select the first installation or update system

    • Install or update the system

    • Mounting system and display card drivers

    • System repair

    • Booting from hard disk

    • Memory test

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/85/3D/wKioL1ed46KB84fvAAcP8Y-bvp0341.png "title=" Qq20160731184032.png "alt=" Wkiol1ed46kb84fvaacp8y-bvp0341.png "/>


2) do not detect the disc, select Skip Skip Detection

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/85/3D/wKiom1ed5TDwEWZdAAAWp4T7oVA729.png "title=" Qq20160731184103.png "alt=" Wkiom1ed5tdwewzdaaawp4t7ova729.png "/>


Formally start the installation of the system ...

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/85/3D/wKioL1ed5XOjIEzqAAKR7wHENAQ145.png "title=" Qq20160731184149.png "alt=" Wkiol1ed5xojiezqaakr7whenaq145.png "/>


3) Beginners like me, the proposed choice of Chinese Simplified, you can better read the installation tips, late also can change the language

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/85/3D/wKiom1ed5ZSi7ZnbAADoMT38Kqo784.png "style=" float: none; "title=" Qq20160731184217.png "alt=" Wkiom1ed5zsi7znbaadomt38kqo784.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/85/3D/wKiom1ed5ZWAMhh0AADBepvBR28511.png "style=" float: none; "title=" Qq20160731184243.png "alt=" Wkiom1ed5zwamhh0aadbepvbr28511.png "/>


4) No storage settings, so select the base storage device, which is the local disk

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/85/3D/wKioL1ed5eezIllDAAC6DiokADc917.png "title=" Qq20160731184317.png "alt=" Wkiol1ed5eezilldaac6diokadc917.png "/>


5) because it is a new installation, the disk has not done any action, the need to format

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/85/3D/wKiom1ed5hujcVtRAADisWIdN5o545.png "title=" Qq20160731184411.png "alt=" Wkiom1ed5hujcvtraadiswidn5o545.png "/>


6) As with Windows, set a host name for the computer

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/85/3D/wKiom1ed5lqC5AWGAACIcKKX2yI075.png "title=" Qq20160731184432.png "alt=" Wkiom1ed5lqc5awgaacickkx2yi075.png "/>


7) Select time Zone

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/85/3D/wKioL1ed5nuRwDMNAAI5NeM5Wc4370.png "title=" Qq20160731184451.png "alt=" Wkiol1ed5nurwdmnaai5nem5wc4370.png "/>


8) Specify the password for the root account

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/85/3D/wKioL1ed5prCUAPzAACJYL9LdTg896.png "style=" float: none; "title=" Qq20160731184510.png "alt=" Wkiol1ed5prcuapzaacjyl9ldtg896.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/85/3D/wKiom1ed5puhOPYNAADCpmFHkn4982.png "style=" float: none; "title=" Qq20160731184525.png "alt=" Wkiom1ed5puhopynaadcpmfhkn4982.png "/>


9) Do not recommend the use of the first installation, choose to create a custom layout, because the disk partitioning step is more, write a separate classification out 650) this.width=650; "Src=" http://s4.51cto.com/wyfs02/M02 /85/3d/wkiol1ed5sewlhwdaafzwbw4jwc757.png "title=" Qq20160731184552.png "alt=" Wkiol1ed5sewlhwdaafzwbw4jwc757.png " />


= = = Disk Partition

1) Figure shows the disk size is 80G, click Create to Partition 650) this.width=650; "Src=" http://s1.51cto.com/wyfs02/M01/85/3D/ Wkiom1ed5zjryxl0aacyi-fzkd8870.png "title=" Qq20160731184615.png "alt=" Wkiom1ed5zjryxl0aacyi-fzkd8870.png "/>


2) The partitions that are created next are standard partitions

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/85/3D/wKioL1ed52SzCKVVAAEl7E7szVk386.png "title=" Qq20160731184635.png "alt=" Wkiol1ed52szckvvaael7e7szvk386.png "/>


3) Create the root partition, the basic space will be assigned to it

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/85/3D/wKioL1ed572xuJaaAAEQVlUeFmo926.png "title=" Qq20160731184729.png "alt=" Wkiol1ed572xujaaaaeqvluefmo926.png "/>


4) Create a home partition that holds the default for all ordinary users (all users except root)

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/85/3D/wKioL1ed6EiAdDrAAAET1htaNs4172.png "title=" Qq20160731185016.png "alt=" Wkiol1ed6eiaddraaaet1htans4172.png "/>


5) Create the boot partition and store the files necessary to start the Linux system, 200MB

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/85/3E/wKiom1ed7Vrh844FAAEVyFHaZ08426.png "title=" Qq20160731185055.png "alt=" Wkiom1ed7vrh844faaevyfhaz08426.png "/>


6) Swap memory swap partition, the general swap partition size of physical memory between 1.5 to twice times, it can avoid the lack of physical memory caused by low system performance problems, if the memory is more than 4GB, you can not set the swap partition

I am not too short of memory, give swap a g of space, in fact, can not set, in order to better learn

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/85/3E/wKioL1ed7mWyUkp6AAEjl1uGfAs428.png "title=" Qq20160731185518.png "alt=" Wkiol1ed7mwyukp6aaejl1ugfas428.png "/>


In the red box is the system partition, the basket box is the extension partition, creates the var,usr,tmp and so on the partition is also the extension partition

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/85/3E/wKiom1ed7snAz1PWAADd2vvpZbs632.png "title=" Qq20160731185630.png "alt=" Wkiom1ed7snaz1pwaadd2vvpzbs632.png "/>


7) TMP partition, store some temporary files during the operation of the system, I will allocate the remaining space to it

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/85/3E/wKiom1ed70WSy6wtAAElH8YBtBk293.png "title=" Qq20160731185744.png "alt=" Wkiom1ed70wsy6wtaaelh8ybtbk293.png "/>


8) After the partition is created, format the disk

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/85/3E/wKiom1ed7_GSpbhmAADqauTJQXk726.png "style=" float: none; "title=" Qq20160731185846.png "alt=" Wkiom1ed7_gspbhmaadqautjqxk726.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/85/3E/wKioL1ed7_HB9Y3uAADZPw_fdbc373.png "style=" float: none; "title=" Qq20160731185911.png "alt=" Wkiol1ed7_hb9y3uaadzpw_fdbc373.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/85/3E/wKiom1ed7_KhYf_NAAC8f9u7WfI864.png "style=" float: none; "title=" Qq20160731190558.png "alt=" Wkiom1ed7_khyf_naac8f9u7wfi864.png "/>


9) default is the minimum installation, some other services can be installed later, the minimum installation will not include the graphical interface

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/85/3E/wKioL1ed7_LDNyFGAADo2S3B11c709.png "style=" float: none; "title=" Qq20160731190630.png "alt=" Wkiol1ed7_ldnyfgaado2s3b11c709.png "/>


10) System installation complete, reboot

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/85/3E/wKioL1ed7_OQiHptAADsTJavLAk659.png "style=" float: none; "title=" Qq20160731191755.png "alt=" Wkiol1ed7_oqihptaadstjavlak659.png "/>







= = = Command Line interface

The system is installed, the IP address is not configured, and so on after I configured to continue to write

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/85/3E/wKioL1ed8YfyYrlAAAAlmd9rnBI221.png "title=" Qq20160731203542.png "alt=" Wkiol1ed8yfyyrlaaaalmd9rnbi221.png "/>

This article from "Sameold" blog, declined reprint!

Linux Learning First step _centos system installation

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.