CentOS (1)-CentOS6.4 environment for Linux Learning

Source: Internet
Author: User

I. Preface

As a programmer who wants to engage in j2ee Background Development, how can a linux system not learn? Therefore, I have to learn about the linux operating system these days. Let's get straight to the topic.

To learn linux development, you must first install the linux system. I am confused before I choose it, because there are too many options for the linux system, for example, the most famous RedHat, the Chinese-developed red-flag Linux, Ubuntu, Fedora, and CentOS. Finally, after consulting our predecessors, we chose to install the CentOS system.

II. Introduction to CentOS

CentOS (Community ENTerprise Operating System) is one of the Linux releases. It is compiled from the source code that Red Hat Enterprise Linux releases according to open source code regulations. Because of the same source code, some servers that require high stability use CentOS instead of the commercial version of Red Hat Enterprise Linux. The difference between the two lies in that CentOS does not contain closed source code software.

Changes to some important software packages in RHEL 6.4: 1. Haproxy.2. introduce Samba4 as a technology preview and upgrade samba. 3. Added Keepalived (you do not need to find it in EPEL ). 4. Upgrade SystemTap to 1.8. 5. Added lscpu and chcpu for CPU operations. 6. Add SciPy 7. Upgrade Valgrind to embed gdbserver.8. add libjpeg-turbo and redhat-lsb-core to upgrade createrepo. (At present, I don't know how big these are)

Now that the latest version is available, I downloaded the latest CentOS6.4 64-bit system.

As follows:

32-bit: http://isoredirect.centos.org/centos/6/isos/i386/

64-bit: isoredirect.centos.org/centos/6/isos/x86_64/

Iii. CentOS Installation

I chose to install it on a virtual machine. The virtual machine version is VMware Workstation7.1, and the operating system is sp1.

After downloading, we will get two iso image files. One is the CentOS-6.4-x86_64-bin-DVD1.iso (this is the CentOS image file we need to install), the other is the CentOS-6.4-x86_64-bin-DVD2.iso (this is some of the CentOS software packages, a lot of commonly used software, plug-ins are inside ).

Open the Installed VMware and select File-New-Virtual Machine,

Select Custom and Next here:

Select Workstation6.5-7.x, Next:

Select the third item here,Later installation for easy configuration. Select I will install the operating system later, Next:

Choose Linux here, select CentOS in Version, because it is 64-bit, so do not select CentOS-32bit, next:

Select the storage path of the image file. Enter the Virtual Machine name and installation path (because a CentOS64-bit file has just been installed, the name is displayed as (2, you can change the name by yourself), Next:

Select the number of cpu cores allocated to the virtual machine. If the number of cpu cores selected for the Virtual Machine exceeds the actual number of CPUs of the Local Machine, VMware will give a warning. Next:

Virtual Memory Allocation. Generally, the default value is mb. Next:

Here is the network type allocation, which can be divided into three types: Bridge, NAT, and Host-Only. The approximate difference is

1 BRIDGE: equivalent to connecting the host and virtual machine to the same hub. The virtual machine and the host must be configured on the same network segment.

2 NAT: Use vmnet8 to enable necessary VMware services on the host, such as vmvare dhcp. Set the VM to dhcp. Of course, you can also manually set it to the same network segment of vmnet1.

3 HOST-ONLY: Use vmnet1 to directly communicate with the HOST. You can use ifconfig to view the configuration.

Select NAT here and Next:

Select the io controller type and select the default one. Next:

Select the virtual hard disk type. Here, create one. Next:

Select the type of the disk to be created, and select the default type. Next:

Select the disk space size, which can be changed by default based on your computer.

Set the virtual image file name. Default Value: Next:

After the VM is created, confirm the VM information and click finish.

Next, right-click the virtual machine created on VMware and choose Settings

Click "CD/DVD (IDE)" to open the vm cd settings page, click "Use ISO image file", click "Browse", and select the ISO file of the image to be installed. Is the CentOS-6.4-x86_64-bin-DVD1.iso file you just downloaded

Click "Power on this virtual machine" to start the virtual machine.

Select the second item for installation (Press ENTER), Meaning:

  1. Install or upgrade an existing system
  2. Install the system with a basic graphics card driver
  3. Enter System Repair Mode
  4. Hard Disk boot

Select the second one, and press enter to start installation.

Check the DISC and select SKIP.

Select the installation language. Here, select Simplified Chinese.

Select the keyboard, select the United States, and Next

Select default. Next Step

This is to format the virtual disk you just set. You can choose "reinitialize all" with no other files lost.

Select the time zone. The default value is enough.

Enter the password. Next step:

Then

Select "Desktop" here, and the Desktop version will be installed. After installation, there will be a graphical interface. If "Minimal" is selected, the Minimal installation option will be customized now., Add some necessary components. Note that if you select Custom components later, the virtual machine may fail to access the network due to the lack of components. Although it can be set later, for cainiao like me, it is a bit difficult to configure, so select Custom here and add some necessary components.

Perl is required. Otherwise, you cannot install VMware Tools, system managerment tools, and network tools. Otherwise, you cannot access the Internet... By default, it is fully installed...

Last... Finally, we are done !!!

The entire CentOS6.4 installation process is like this !!!!

 

 

 

 

 

 

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.