Experiment: install centos-6, open the card, build private yum warehouse

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

Experiment: install centos-6, open the card, build private yum warehouse

2. vmware virtual machine hardware compatibility with the installed prevail, do not know the default, and then click Next

Experiment: install centos-6, open the card, build private yum warehouse

3. Choose to install the system later, then the next step

Experiment: install centos-6, open the card, build private yum warehouse

4. The operating system linux, version find red hat linux 6 64 bit choose a good click Next

Experiment: install centos-6, open the card, build private yum warehouse

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

Experiment: install centos-6, open the card, build private yum warehouse

6. do not give too good, standard configuration can be

Experiment: install centos-6, open the card, build private yum warehouse

7. The default option, the next step

Experiment: install centos-6, open the card, build private yum warehouse

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

Experiment: install centos-6, open the card, build private yum warehouse

9. recommended to click Next

Experiment: install centos-6, open the card, build private yum warehouse

10. The recommendation, scsi server dedicated disk interface, click Next

Experiment: install centos-6, open the card, build private yum warehouse

11. Create a new disk, click Next

Experiment: install centos-6, open the card, build private yum warehouse

12. The maximum disk size was adjusted to 40, the virtual disk storage into multiple files , click Next

Experiment: install centos-6, open the card, build private yum warehouse

13. Under the disk location on the new folder, click Next

Experiment: install centos-6, open the card, build private yum warehouse

14. custom hardware, optimize, optimize completed click the Finish
Experiment: install centos-6, open the card, build private yum warehouse

Optimization, do not have access to remove the hardware, sound cards and printers,

Experiment: install centos-6, open the card, build private yum warehouse

In the CD / DVD image files added to it in the

Experiment: install centos-6, open the card, build private yum warehouse

Well, after the Click Close, then click Finish, the virtual machine configuration is finished

Experiment: install centos-6, open the card, build private yum warehouse

15. The virtual machine is turned on, start the installation system

Experiment: install centos-6, open the card, build private yum warehouse

16. Select the first, install installation

Experiment: install centos-6, open the card, build private yum warehouse

读条 in

Experiment: install centos-6, open the card, build private yum warehouse

16. The left and right keys to select the skip, Enter

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

Click OK

Experiment: install centos-6, open the card, build private yum warehouse

17. Click Next

1573807733756

18. Install Chinese Simplified
Experiment: install centos-6, open the card, build private yum warehouse

US English keyboard type selection

Experiment: install centos-6, open the card, build private yum warehouse

19. Select the basic storage device

Experiment: install centos-6, open the card, build private yum warehouse

20. yes, ignore all data

Experiment: install centos-6, open the card, build private yum warehouse

21. The host name can be changed, the default may be fixed; the network configuration do not move

Experiment: install centos-6, open the card, build private yum warehouse

22. Time Shanghai

Experiment: install centos-6, open the card, build private yum warehouse

23. The password is the root password set here, can be simply, easy to remember, the system may be installed and then change

Experiment: install centos-6, open the card, build private yum warehouse

Tip password is too simple, do not care, anyway use

Experiment: install centos-6, open the card, build private yum warehouse

24. Specify the partition own

Experiment: install centos-6, open the card, build private yum warehouse

Click Create to generate memory interface appears, first select the partition to create standard

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

Partition finished, click Next

Experiment: install centos-6, open the card, build private yum warehouse

25. Format

Experiment: install centos-6, open the card, build private yum warehouse

26. The write changes to disk

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

27. In the default, click Next

Experiment: install centos-6, open the card, build private yum warehouse

28. install the desktop, all the following check, and then click Next

Experiment: install centos-6, open the card, build private yum warehouse
Experiment: install centos-6, open the card, build private yum warehouse

29. The installation starts to read the article, reboot after installation

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

30. After read the article, click Forward

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

31. Click consent, forward

Experiment: install centos-6, open the card, build private yum warehouse

32. Install the software experience more, know everything, do not update, can not be registered not registered

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse
33. Create a user, here is the ordinary user to create, you can skip

Experiment: install centos-6, open the card, build private yum warehouse

34. The time and date manually configure

Experiment: install centos-6, open the card, build private yum warehouse

35.Kdump, disaster recovery, personal preference, and whether there are extra memory, I is not enabled

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

36. Restart, click OK

Experiment: install centos-6, open the card, build private yum warehouse

读条 in

Experiment: install centos-6, open the card, build private yum warehouse

37. enter the login screen, click on the other, use root landing

Experiment: install centos-6, open the card, build private yum warehouse

Do not control, confirm on the line

Experiment: install centos-6, open the card, build private yum warehouse

38. The system interface, when the system has been installed

Experiment: install centos-6, open the card, build private yum warehouse

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

Experiment: install centos-6, open the card, build private yum warehouse

2. Here go eth0 configuration file, make changes

ifcfg-eth0 is the network card configuration file

Experiment: install centos-6, open the card, build private yum warehouse

3.vim ifcfg-eth0, modify the configuration, no change yes, then esc, enter: wq command to save and exit

Experiment: install centos-6, open the card, build private yum warehouse

4. The network can be found in the upper right corner has been shown

Experiment: install centos-6, open the card, build private yum warehouse

5. Open the browser Baidu, verify that there is network

Experiment: install centos-6, open the card, build private yum warehouse

6. do not worry you can restart the card service network restart

Experiment: install centos-6, open the card, build private yum warehouse

Yum private warehouse building

1.yum list, view the public yum repository

Experiment: install centos-6, open the card, build private yum warehouse

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

Experiment: install centos-6, open the card, build private yum warehouse

Experiment: install centos-6, open the card, build private yum warehouse

The CD / DVD check is connected, and then click OK

Experiment: install centos-6, open the card, build private yum warehouse

  • 4. Create a mount point / yumcangku, the CD / DVD mount / yumcangku, switch to the mount point / yumcangku to see if Mount success

Experiment: install centos-6, open the card, build private yum warehouse

  • 5.yum clean all empty the cache yum

Experiment: install centos-6, open the card, build private yum warehouse

  • 6.yum list reload

Experiment: install centos-6, open the card, build private yum warehouse

yum private warehouse to mount a successful working properly

Guess you like

Origin blog.51cto.com/14558445/2450920