@ LInux system installed virtual machine CentOS7

Centos7 virtual machine installation

1. Open VMware, click Create a new virtual machine (essential)

2. Select Custom Configuration and click Next

3. Select the virtual machine hardware compatibility <Workstation 12.0>, click Next

4. Install a guest operating system later choose to install the operating system, click Next

5. Install the client operating system choose Linux, click Next

6. Virtual machine name (random), select the virtual machine installation location (recommended New Folder) and click Next

7. Processor Configuration: number of processors and the number of cores per processor generally choose 1 (related to their own computer configuration), and then click Next

8. allocate memory for virtual machines (1GB or more is recommended, but not more than computer memory to run), after click Next

9. Network Type: Select Network Address Translation (NAT), click Next

10. Select the controller: the recommended default, click Next

11. Select the disk type: default recommendation, click Next

12. Select Disk: Create a new virtual disk, click Next

13. Specify a multi-GB disk capacity: maximum disk capacity size (recommended 20GB, can libido), particular attention here to select the virtual disk is stored as a single file, and then click Next

14. Specify Disk File: will not be modified, click Next

15. Click here to custom hardware, operating into the next page

16. The device does not require the temporary removal of a column and then click on the new CD / DVD (IDE), select the right connection item using IOS image file Click Browse to locate the saved image file

(Such as CentOS-7-x86_64-DVD-1810.iso), and finally click Close

17. On completion of this step back page click "Finish"

18. At this step, click enable this virtual machine

19. Click the mouse enters the countdown screen disappear, press Enter to select install CentOS 7

Press the Tab key to enter commands in the most downstream net.ifnames = 0 biosdevname = 0 hit enter

20. The first page appears, continue to wait to load

Select the language (English is recommended) Click Continue

21. Click into the modified region and time

Stay in China this piece of land, on the choice of Asia and Shanghai, click Done to complete

22. This step is to configure the network

First turn on the switch, then click Configure to enter

For checking, automatically connect to the network

进入IPv4首先选择Manual(手动)、再点击add配置IP地址、然后配置DNS,完成后点击save保存

修改主机名(实验环境: 随意 ;生产环境: 某某地区-某某IDC-某某业务--某某服务--某某IP地址 )点击Done完成

 

23.进入安全选项

可以自己配置暂时不需要选择关闭,完成点击Done

24.进入KDUMP

内核奔溃能怎们办,选择关闭它

25.进入磁盘分区

选择我要手动分区,点击Done

选择基本分区,点击+

挂载点有swap内存分配1G(合理分配)

选择/boot目录内存分配1G(合理分配)

剩余所有内存分配给/目录,不用填

磁盘分区完成,点击Done

对磁盘进行格式化操作,点击Accept Changes

26.进入选择

选择最小化(拒绝占用内存),勾选工具

27.等待系统配置完毕

此时系统全部配置完毕,点击Begin Inatallation开始安装

28.设置超级用户root密码(练习时随意,企业中是最高秘密)

设置密码要复杂(建议123456),点击Done完成

等待进度条加载完毕,系统重启(安装完毕)

加载完成,点击Reboot

29.系统重启完成,输入root用户名,输入密码123456,出现如下画面表示安装成功

30.VMware快照:选择拍取快照是为了保留一个备份,删除系统后可用于恢复

尝试操作删除系统,删除系统的命令

系统删除成功

然后别害怕:在虚拟机选择快照,恢复此前系统

确认恢复,学会快照妈妈再也不用担心你删系统啦
 

学习Bash Shell基础

Guess you like

Origin www.cnblogs.com/123456mdy/p/11408009.html