VMware and Centos installation and configuration

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

1572163435250

1572163486788

1572163508974

1572163525391

1572163549810

1572163607558

1572163673646

1572163727371

1572163770542

1572163785037

1572163822911

1572163844799

1572163882308

1572163914726

1572163952808

1572164016953

1572164045792

1572164177796

1572164250482

1572164303604

1572164352589

1572164400431

1572164442707

1572164540544

1572164603855

1572164637715

1572164687768

1572164794230

1572165455406

1572165565666

1572172991442

1572173064387

1572174729396

1572175044090

1572177980860

1572178332620

1572178463924

1572178567669

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:

1569161833898

2.1.1.2 NAT mode

  • concept:

Network Address Translation, Linux can access the Internet, but will not cause conflict ip

  • schematic diagram:

1569163720392

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:

  1. Enter centos

  2. Click the VMware menu ---> install VMware tools

  3. 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
  1. Switch to the opt directory, tar command to extract
cd /opt
tar -zxvf VMwareTools-10.0.1-3160059.tar.gz
  1. installation
cd vmware-tools-distrib/
./vmware-install.pl
  1. 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:

  1. Virtual Machine ---> Settings ---> Options

  2. Shared Folders ----> Always enable ----> Add Path

  3. 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:

1572217007062

1572217065904

1572217114661

  • Use (recovery)

1572217181609

1572217213678

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 )

1572217494020

1572217522348

1572217554922

1572217661302

1572217700717

Guess you like

Origin www.cnblogs.com/zj420255586/p/12161944.html