Learn Android Development, if you do not learn the basic use of Linux, always feel guilty, because after all, Android is installed on the basis of Linux. Therefore, learning the basic operation of a Linux system is very useful for our future study.
First of all, the Linux system is a branch of the UNIX system, a subclass of Unix, Linux system software can basically be implemented under the UNIX compatibility. Linux has now appeared a lot of versions, more common Red Hat, Ubuntu, CentOS and so on, these knowledge can be searched, or very interesting.
Today's article focuses on how to install a Linux learning environment with VMware virtual machines. The version I chose here is the CentOS 5.5 version, which can be downloaded online. It's still quite handy to learn about Linux with virtual machines. Now the computer configuration is very good, take out 1G of memory running a Linux virtual machine is still completely no problem. In addition, the characteristics of the virtual machine can be backed up, we can be more confident to do some testing, if the Linux environment problems, we just need to use the backup files, so for beginners like me, the students of Linux, It is also quite recommended to use VMware to configure virtual machines for learning.
Okay, nonsense, let's start learning how to install a CentOS system in a VMware environment.
First, let me introduce the software environment in which I am installing tests. The system uses Win7 64 bits, and VMware uses the 5.5 version of the 7.0 Workstation,centos. These software can be easily downloaded to the Internet, that is, it may be larger, longer download time.
Below, we begin to formally explain how to install the CentOS installation configuration.
1. First, select the Create Virtual Machine Wizard, because we are new, so choose typical.
2 We select the disc image file, which is where we downloaded the CentOS system.
3. Fill in the user name and password, here the password is both the current user's password and root (root account) user's password, so do not forget
4. Fill in the name of the virtual machine, which will be displayed in the VMware virtual machines list. Location is to say our virtual machine installation location, it is best to choose non-C location, here was negligent. In addition, this file is the VMware virtual machine to load the files needed, after the complete installation, exit the virtual machine, we can put this directory of files back up, when our virtual machine can not fix the problem, we could directly use the backup of the virtual machine files, It is not necessary to configure the virtual machine once again, so it is very convenient for beginners.
5. Set the disk size, the default 20G is more appropriate, you can modify it yourself. This file will not be created to account for 20G, is the dynamic increase or decrease
6. Click Next to reach this interface, which is the information we previously configured, which can be modified later. After the creation of the following is removed, we also need to do some other things, do not start the virtual machine directly, although this can be installed successfully.
7. Click Edit virtual machine settings, and in the CD/DVD (IDE) option, replace the default Autoinst.iso with the location of our installed ISO file. If you use the default Autoinst.iso file, then we do not need to manually configure the virtual machine to use the default configuration scheme to configure the VM to run, although simple, but not as appropriate for our own. And, we are in the learning phase, we still need to understand some of the configuration details, so that when we need to modify, we also know how to modify. Once configured, click OK, then turn on the virtual machine.
8. After running, the system will stay in this interface. If we go directly to the car, we will install the GUI, if we enter Linux text and then return, the installation is no interface version, is the pure command line version. Because we are beginners, we first select the default graphical user interface, click Enter.
9. After some of the system loading, we arrived at this interface, asked if we test the CD, we click the TAB key, select Skip, select Skip, and then enter. Note that the white background represents the selected.
10. After arriving at this step, we have successfully reached the installation of the CentOS system, click Next.
11. Choose our locale during the installation process, here at random.
12. Choose the format of our keyboard and choose the default
13. This interface appears, select the format of the hard disk can be
15. In this step, we choose a custom partition structure, which we partition by ourselves
16. Go to this interface and prepare to divide the partition
17. First, we must establish a root partition, i.e. "/" on behalf of the root partition, file system selection ext3, size we set here to 10000 (for reference only)
18. In addition to the root partition must have, we must also have a memory exchange partition, we in the file system type, select Swap, the size is generally set to 1.5-twice times the memory, because the virtual machine is divided into 1G of memory, so, here I chose 2000M.
19. In addition to I, we can also create our own partition structure, for example, I created a/test partition for some testing and learning
20. Then I created a/WWW partition for the configuration and use of some Web applications. This creation is entirely self-determined
21. After the creation, all the partition information is as follows, although the remaining 2474M of the hard drive is not used, we can then have the need to partition
22. We select the default grub boot loader, boot, next
23. Here we choose the default network configuration, if you need to specify the IP address and other information, you can click Edit, configure, click Next
24. Select the time zone by default
25. Re-set root user, root user login password
26. Select the software we need to install, here we choose the following four, GNOME and KDE belong to Xwindow desktop software, we can make a choice when we log in
27, click Next to start the installation
28. The installation is complete, click Reboot to
29. After rebooting, we arrive at the basic Configuration page of the system for the first time.
30. Set what protocol and service the firewall detects, because we are the test environment, so we temporarily shut down the firewall to prevent some other problems in learning
31. Using the default SELinux settings, the next step
32. Default, Next
33. Select the time and date, we can use the network time, next
34. Re-create the user, this user is a non-root user, the user is the creation of our login after the user is not a root permission, there were several times to create a user, a bit of a mask.
35. The sound card is not detected, is not used to listen to music, play games, the next
36. Click Finish, you can finally log in
37. Enter the account number and password we created in 34 steps to login
38. Finally installed, completely in.
Typing good tired ah, what's the problem, let's leave a message
Create a CentOS version of the Linux learning environment with VMware virtual machines (each step is explained)