Home > Article > Software Tutorial > Three simple and effective ways to transfer files from VMware virtual machines
php editor Xigua has carefully compiled three simple and effective methods for transferring files to VMware virtual machines for you. File transfer is a common requirement when using virtual machines. This article will take you through these three methods to make file transfer more convenient and efficient. With the development of technology, the use of virtual machines has become more and more common. Learning appropriate file transfer methods will help you make better use of virtual machines for work and study. Let’s take a look at these three methods next!
Three simple and effective methods to transfer files to VMware virtual machines
Method 1: VMWare Tools
To install VMWare tools, click on the virtual machine above - Install VMware tools.
After the installation is successful, you can copy and paste the files to the virtual machine.
After the installation is successful, the following content will be displayed:
After the installation is successful, you can drag the file directly or copy and paste it through ctrl C ctrl V. If you find that you cannot drag directly, you can keep the mouse on the virtual machine for a while while dragging, wait until the cursor changes, and then release it.
Method 2: Xshell/XFTP
Connect to the virtual machine through Xftp software
Get the virtual machine IP: ifconfig gets the network card information, which includes the ip address
You can also connect to the virtual machine through Xshell first, and then click the xftp logo above to connect.
Drag or double-click the file to be uploaded
Method 3: rz command
To connect to the server using the local connection tool, enter: rz
If the rz command is not installed, run yum install lrzsz first. If yum is not installed, you need to enter: wget http://yum.baseurl.org/download/3.2/yum-3.2.28.tar.gztar -xvf yum-3.2 .28.tar.gztouch /etc/yum.confcd yum-3.2.28./yummain.py install yum
The following window will appear. Select the corresponding file to upload.
Command description:
rz: Upload files from local to server
sz filename: Download files from the server to the local
The above is the detailed content of Three simple and effective ways to transfer files from VMware virtual machines. For more information, please follow other related articles on the PHP Chinese website!