table of Contents
1. Install VMware
VMware15 official download: https://my.vmware.com/cn/web/vmware/info/slug/desktop_end_user_computing/vmware_workstation_pro/15_0
Installation Tutorial: https://blog.csdn.net/smileui/article/details/98622335
2. Installation and configuration CentOS6
2.1 Centos installation
CentOS6.8_x64 download link: https://pan.baidu.com/s/1_hvZ5mo962WBqcdkU2nt-g extraction code: ps0t
Key:
Three forms of network connection configuration 2.1.1
2.1.1.1 bridge
- concept:
Linux can peer LAN and other systems, will take up a LAN ip address, ip likely to cause conflict
- schematic diagram:
2.1.1.2 NAT mode
- concept:
Network Address Translation, Linux can access the Internet, but will not cause conflict ip
- schematic diagram:
2.1.1.3 Host mode
- concept:
Linux ip is independent and can not access the Internet
2.1.2 centos interface of the basic use
2.1.2.1 Terminal Use: Slightly
2.1.2.2 Configuring network (interface) :( a little)
2.2 VMtools installation
Problems With: 1 clipboard can not be shared; 2. Set a shared folder; 3. The window can not be adaptive
2.2.1 Installation steps:
Enter centos
Click the VMware menu ---> install VMware tools
Open the mounted disk drive on the desktop, copy VMware-tool.tar.gz next to opt
cp /media/VMware\ Tools/VMwareTools-10.0.1-3160059.tar.gz /opt/VMwareTools-10.0.1-3160059.tar.gz
- Switch to the opt directory, tar command to extract
cd /opt
tar -zxvf VMwareTools-10.0.1-3160059.tar.gz
- installation
cd vmware-tools-distrib/
./vmware-install.pl
- Restart to take effect
reboot
2.2.2 set up shared folders
Note: the actual development of normal use xftp for file upload and download, for virtual machines easy to operate, so set up shared folders
step:
Virtual Machine ---> Settings ---> Options
Shared Folders ----> Always enable ----> Add Path
The default shared folder will be placed under / mnt / hgfs
小练习:
1.安装VMtools
2.设置共享文件夹(路径随意),windos下编写一个hello.txt的文档
3.在Linux下打开共享文件夹,找到hello.txt,并看到里面的内容
2.3 Create / Use Snapshot
2.3.1 What is a snapshot
Said bluntly, it is to create a backup.
When made a mistake irreversible, it can be used to recover a system snapshot
2.3.2 Creating a snapshot of three modes
Create a snapshot (dormant) suspend state
Create a snapshot of the boot state
Creating a snapshot shutdown state
2.3.3 How to use the snapshot
- create:
- Use (recovery)
2.4 clone
2.4.1 What is cloning
That is, to a virtual machine as a master, a copy of a virtual machine out exactly the same, including the data inside
2.4.2 Creating a clone
Normally choose to create a clone from a snapshot ( can only be cloned in the off state )