[Han Shunping Linux] Study Notes 1

1. Three ways of network connection

Zhang San, Li Si, and Wang Wu are all in the same network segment. A simple understanding of the same network segment means that they all start with 192.168.0

1. Bridge mode
Zhang San adopts the bridge mode, and the IP of the bridge mode should be the same network segment as Zhang San's host IP, that is, the bridge IP is 192.168.0.80, which can communicate directly with Li Si (that is, the external network). But its disadvantage is that if other students want to use the bridging mode, they need to generate ip addresses on the same network segment as 192.168.0. This has a maximum of 255 different addresses, and 255 ip addresses on the same network segment will cause network conflicts.
2. NAT mode
Wang Wu's virtual system adopts NAT mode, assuming his ip address is 192.168.100.88, then Wang Wu's host will generate a network card address, which is 192.168.100.99. These two ip addresses can communicate with each other, and the virtual machine's ip address 92.168.100.88 can communicate with the outside world. Wang Wu's virtual machine network can communicate with the outside world, but not vice versa
3. The host mode
is an independent system that does not communicate with the outside world
insert image description here

2. Virtual machine cloning

1. Directly copy a copy of the installed virtual machine file
2. Use vaware's cloning operation
Before cloning, the virtual machine must be shut down

3. Virtual machine snapshot

A virtual machine snapshot is equivalent to an operation that can be returned and undone after saving the previous operation log.
A is the original virtual machine, create a snapshot A; B adds some changes, and creates a snapshot B, then you can return to snapshot A, which is the original virtual machine without changes; make changes on the basis of B, Create snapshot C, then you can return to snapshot A and snapshot B; if you return to snapshot B, add some changes to create snapshot D, as shown in the following figure. Any snapshot can go back to another snapshot.
insert image description here

4. Virtual machine migration and deletion

The virtual machine can be regarded as a document, and the operation of removing and deleting is the same.
insert image description here

5. VMtools

vmtools allows windows and linux to share folders at the same time
insert image description here
insert image description here

[Note] Here is a point to pay attention to.
After decompressing the installation package when installing vmtools according to many online tutorials, you need to use the sudo ./vmware-install.plcommand
to enter the ls in the vm installation package to view the file and see the green vmware-install in the picture below. .pl, and then use the command, otherwise the file will not be found.
insert image description here

Creation of shared folders
insert image description here

6. Linux directory structure

insert image description here
Detailed explanation of Linux directory structure
insert image description here
insert image description here
insert image description here
insert image description here

7. Remote login and file transfer

insert image description here
insert image description here
insert image description here

Reference blog:
ubuntu20 install vmtools
ubuntu install vmtools tool
B station Han Shunping linux study notes

Guess you like

Origin blog.csdn.net/weixin_45768644/article/details/128496776