Install the FTP server on the centos6.5 mount Microsoft system

Source: Internet
Author: User
Tags remote ftp server

Now, using virtual machines to develop Linux software, it is found that the shared folders provided by virtual machines do not work well, as follows:

1. I modified the contents of the file on Windows, found that the contents of the file in Linux has not changed, need to do some waiting.

2. The contents of the file have been changed in Linux, and no changes have been found under Windows, and some waiting is needed.

There is no reason to solve these problems. So I installed the hanewin NFS server Software on Windows, using Windows as an NFS server, working for one months, this software is very useful. But this software is charged, after a one-month trial period I found that it is not used. Well, see if there's any other way.

I think as long as the support File Network Service protocol, should be able to use the Mount bar. Online search, found available mount FTP service. Here's how to implement Mount FTP.

First, install the relevant software.

A) Install FileZilla server on Windows, add a user name and password, specify the FTP root of the user name, set the root directory permissions (check all permissions here), and cancel the transfer speed limit. Finally click on the button "OK", immediately effective.

b) Install CURLFTPFS on centos6.5, this software can put the remote FTP server virtual cost to the file system.

wget http://skylineservers.dl.sourceforge.net/project/curlftpfs/curlftpfs/0.9.2/ curlftpfs-0.9.2.tar.gztar -zxvf curlftpfs-0.9. 2. Tar . GZCD Curlftpfs-0.9. 2 . /configure

In the course of executing configure, I found a hint that there is a lack of glib, fuse, Libcurl Library, here we use the following command to install these libraries (including the develop libraries they use for C + +, the dynamic library, the static library, and possibly the development library for Python use) , and so on, is actually a one-time to the relevant libraries are installed up).

Yum Install -y glib* fuse* libcurl*

Next, we continue to install CURLFTPFS:

 Make-J4makeinstall

Second, we started using the CURLFTPFS command to mount the FTP server for the Microsoft System.

The CURLFTPFS command format is as follows:

ftp-user:ftp[email protected]/localdirpath/

Execute the following command:

CURLFTPFS admin:123456@192.168. 100.200 /work/onvif/

Re-enter the Linux local onvif directory and view the list of files below the directory:

cd Cd/work/onvif; ll

, the/work/onvif/directory was originally an empty directory, and after mount, the list of files displayed was the contents of the FTP Server Admin user on the Microsoft System.

Finally, join the boot boot.

Vim/etc/rc.d/rc.local

Add a line command:

CURLFTPFS admin:123456@192.168. 100.200 /work/onvif/

Restart the Linux system.

Information:

Linux:mount FTP as File System

Mount Remote FTP directory host locally into Linux filesystem

Finish.

Install the FTP server on the centos6.5 mount Microsoft system

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.