Detailed steps to install red hat centos -6, including open network cards, build private yum warehouse
1. Create a new virtual machine, choose a custom installation, the next step
2. vmware virtual machine hardware compatibility with the installed prevail, do not know the default, and then click Next
3. Choose to install the system later, then the next step
4. The operating system linux, version find red hat linux 6 64 bit choose a good click Next
5. Virtual machine name from themselves, according to their own habits to set
Location Do not install in c drive, solid-state safety in the solid state, to re-create a folder to specify the installation location, to facilitate future management, namely delete a virtual machine, move, copy; choosing the next step
6. do not give too good, standard configuration can be
7. The default option, the next step
8.NAT, the card can be networked mode, there can also be freely configured after installation, no need to be too concerned about, click Next
9. recommended to click Next
10. The recommendation, scsi server dedicated disk interface, click Next
11. Create a new disk, click Next
12. The maximum disk size was adjusted to 40, the virtual disk storage into multiple files , click Next
13. Under the disk location on the new folder, click Next
14. custom hardware, optimize, optimize completed click the Finish
Optimization, do not have access to remove the hardware, sound cards and printers,
In the CD / DVD image files added to it in the
Well, after the Click Close, then click Finish, the virtual machine configuration is finished
15. The virtual machine is turned on, start the installation system
16. Select the first, install installation
读条 in
16. The left and right keys to select the skip, Enter
Click OK
17. Click Next
18. Install Chinese Simplified
US English keyboard type selection
19. Select the basic storage device
20. yes, ignore all data
21. The host name can be changed, the default may be fixed; the network configuration do not move
22. Time Shanghai
23. The password is the root password set here, can be simply, easy to remember, the system may be installed and then change
Tip password is too simple, do not care, anyway use
24. Specify the partition own
Click Create to generate memory interface appears, first select the partition to create standard
Partition finished, click Next
25. Format
26. The write changes to disk
27. In the default, click Next
28. install the desktop, all the following check, and then click Next
29. The installation starts to read the article, reboot after installation
30. After read the article, click Forward
31. Click consent, forward
32. Install the software experience more, know everything, do not update, can not be registered not registered
33. Create a user, here is the ordinary user to create, you can skip
34. The time and date manually configure
35.Kdump, disaster recovery, personal preference, and whether there are extra memory, I is not enabled
36. Restart, click OK
读条 in
37. enter the login screen, click on the other, use root landing
Do not control, confirm on the line
38. The system interface, when the system has been installed
NIC optimization
1.ifconfig, eth0 no ip address, upper right corner of the display also not networked, before the virtual machine is set to select NAT, it can be networked
2. Here go eth0 configuration file, make changes
ifcfg-eth0 is the network card configuration file
3.vim ifcfg-eth0, modify the configuration, no change yes, then esc, enter: wq command to save and exit
4. The network can be found in the upper right corner has been shown
5. Open the browser Baidu, verify that there is network
6. do not worry you can restart the card service network restart
Yum private warehouse building
1.yum list, view the public yum repository
2. If not available, began to build private warehouse
-
1. Switch to the configuration file directory yum, / etc / yum.repos.d /
-
2. Existing yum configuration file before closing up into bak backup directory
- 3. Re-create the configuration file, enter
- [Abc] # description
- name = test # name
- baseurl = file /// yumcangku # base address
- enable = 1 # open
- gpgcheck = 0 # no public inspection
The CD / DVD check is connected, and then click OK
- 4. Create a mount point / yumcangku, the CD / DVD mount / yumcangku, switch to the mount point / yumcangku to see if Mount success
- 5.yum clean all empty the cache yum
- 6.yum list reload
yum private warehouse to mount a successful working properly