File sharing between Linux and windows

Source: Internet
Author: User
1. FTP for data sharing. generally, after linux is installed, the FTP service will be installed (if not, you can install it yourself). 1. First, check whether the FTP server is enabled.

 

1. FTP data sharing

Generally, the FTP service is installed on the linux system (if not, install the FTP service on your own)

1. first check whether the FTP service is enabled

# Ftp localhost: If you are prompted to enter the user name, it is started.

Connection refused is not started

2. start the FTP service

# Service vsftpd start

3. you need to modify the configuration if you need to use the root user to upload files (usually not in this case ).

# Vi/etc/vsftpd. ftpusers

Delete or comment the root user

# Vi/etc/vsftpd. user_list

Delete or comment the root user.

4. you only need to install the FTP client on windows.

II. install Vmware Tools

If it is installed on a virtual machine in linux

1. after the VM is started, go to the VM> install VMware Tools (I)

2. run the command as root.

Attach your optical drive

[Root@linuxso.com/root] # mount-t iso9660/dev/cdrom/mnt

Check whether it has been mounted:

3. [root@linuxso.com/root] # ls/mnt/

VMwareTools-5.5.3-34685.i386.rpm VMwareTools-5.5.3-34685.tar.gz

Okay, mount it! Copy the tar package to your own directory and decompress it.

4. [root@linuxso.com/root] # cp/mnt/VMwareTools-5.5.3-34685.tar.gz/root/

5. then, the optical area will be suspended first.

[Root@linuxso.com/root] # umount/mnt

6. switch to the root directory:

[Root@linuxso.com/root] # cd/root/

[Root@linuxso.com/root] # ls

VMwareTools-5.5.3-34685.tar.gz

7. decompress:

[Root@linuxso.com/root] # tar-zxvf VMwareTools-5.5.3-34685.tar.gz

8. go to the extracted Directory:

[Root@linuxso.com/root] # cd vmware-tools-distrib

9. execute the installation:

[Root@linuxso.com vmware-tools-distrib] #./vmware-install.pl

You can install

Then you can press "YES" and press Enter. after installation, REBOOT is complete.

10. Finally, choose VM> settings> Options> Shared Folders> Always enables and click add to select the windows directory.

Switch back to linux and run the following command:

# Cd/mnt/hgfs/

Shared files under this directory

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.