Vsftpd server installation and configuration of the ftp address to the local method of mapping mount

2010-12-21  来源:本站原创  分类:OS  人气:172 

Vsftpd server installation and configuration of the ftp address to the local method of mapping mount

1. Installing ftp server daemon program
luther @ gliethttp: ~ $ sudo apt-get install vsftpd
luther @ gliethttp: ~ $ sudo mkdir-p / home / ftp_dir / upload
luther @ gliethttp: ~ $ sudo chown ftp:ftp / home / ftp_dir / upload for anonymous users in the root directory
2. Open the file in the anonymous ftp server configuration permits anonymous users to access, and additional anonymous user login directory.
luther @ gliethttp: ~ $ sudo vim / etc / vsftpd.conf
anonymous_enable = YES
anon_root = / home / ftp_dir
# This will be displayed when the ftp://localhost / home / ftp_dir the contents of the directory, it will serve as upload, download the base directory
3. Restart the ftp server so modified / etc / vsftpd.conf configuration parameters take effect
luther @ gliethttp: ~ $ sudo service vsftpd restart
4. This ftp server can use the log ftp://localhost
5. If you want anonymous users to upload files and create folders, you need to open the following parameters
luther @ gliethttp: ~ $ sudo vim / etc / vsftpd.conf
write_enable = YES
anon_upload_enable = YES
anon_mkdir_write_enable = YES
# Allow anonymous users to read their contents to create the directory
anon_world_readable_only = NO
# Allowed to delete, rename and other operations
anon_other_write_enable = YES
luther @ gliethttp: ~ $ sudo service vsftpd restart

That, like how to ftp and smbfs mount to the local machine as a file it, let's take a look at the specific implementation:
1. Curlftpfs file system installed
luther @ gliethttp: ~ $ sudo apt-get install curlftpfs
Or
luther @ gliethttp: ~ $ wget http://ftp.us.debian.org/debian/pool/main/c/curlftpfs/curlftpfs_0.9.1-3+b2_i386.deb
2.mount ftp to a local file specified
luther @ gliethttp: ~ $ sudo curlftpfs-o rw, allow_other ftp://172.16.32.123 / home / ubuntu / ftp
This directory / home / ubuntu / ftp is the next in the ftp://172.16.32.123 firefox to browse to the content of the
3. Uninstall mount to the ftp directory and uninstall as normal mount, direct sudo umount / home / ubuntu / ftp to

(Note:
. Ftp://172.16.32.123 equivalent ftp://anonymous @ 172.16.32.123
. Curlftpfs standard command as follows:
curlftpfs ftp://username:password @ 192.168.1.111 / mnt / ftp
)

Back to the album directory ubuntu

相关文章
  • Vsftpd server installation and configuration of the ftp address to the local method of mapping mount 2010-12-21

    Vsftpd server installation and configuration of the ftp address to the local method of mapping mount 1. Installing ftp server daemon program luther @ gliethttp: ~ $ sudo apt-get install vsftpd luther @ gliethttp: ~ $ sudo mkdir-p / home / ftp_dir / u

  • Analysis of the vsftpd server installation configuration and mount the ftp address is mapped to the local method 2010-12-21

    Analysis of the vsftpd server installation configuration and mount the ftp address is mapped to the local method 1 install ftp server daemon program luther @ gliethttp: ~ $ sudo apt-get install vsftpd luther @ gliethttp: ~ $ sudo mkdir-p / home / ftp

  • Turn: Glassfish v3 Server Installation and Configuration 2010-03-29

    1.1 Glassfish v3 Server Installation and Configuration 1.1.1 unzip and install the mkdir / opt / glassfish cd / opt / glassfish unzip / home/pkg/glassfish-v3-preview-b46.zip Start glassfish: / opt/glassfish/glassfishv3/bin/asadmin start-domain 1.1.2

  • James mail server installation and configuration 2010-03-29

    James mail server installation and configuration of environment: Mail Server: OS: REDHAT LINUX AS 4 IP: 192.168.1.108 Subnet Mask: 255.255.0 Gateway: 192.168.1.1 DNS: 192.168.1.2 Client: Operating System: windows 2003 IP: 192.168.1.2 Subnet Mask: 255

  • ORACLE 9I (Enterprise Edition) Database server installation and configuration 2011-04-28

    ORACLE 9I (Enterprise Edition) Database server installation and configuration Note: Before installing make sure your computer is installed oracle, if not then the following instructions to install, and if installed the first reference oracle oracle u

  • centos 5 yum vsFTPd FTP server installation and configuration 2011-08-29

    vsftpd as FTP server, the Linux system is very common. Here we describe how to install centos system vsftp. What is vsftpdvsftpd is a Linux distribution in the most respected in the FTP server program. Characterized by small, light, safe to use. vsft

  • VSS server installation and configuration 2010-12-08

    3 VSS 6.0 installation (1) VSS6.0 server installation. The first step, the Visual Studio6.0 of CD1 into CD-ROM, automatically install the program, select the second item "Server Applications and Tools (Add Only)"; The second step, and then "

  • [Transfer] video tutorials: win32 svn under the stand-alone server installation and configuration 2011-10-05

    Tried looking at tutorials, from the build server to the client Check out, Commit such entry is not difficult. Note do not confuse the name of the path on the line. I downloaded the relatively new: TortoiseSVN_v166chs Setup-Subversion-1.6.6 Exactly c

  • SVN under Ubuntu server installation and configuration 2010-02-25

    First, install the SVN default installation to / usr / local / bin the following Second, create a repository svnadmin create / home / svnrepo / Root / svnrepo created for the repository path, theoretically can be any directory Third, modify the confi

  • subversion server installation and configuration 2010-04-17

    Environment: svn1.6 xp 3 First, install: This makes installation simple set, download the latest version of svn to download the latest TortoiseSVN Tip: subversion and TortoiseSVN installation is complete, need to reboot the system, apache service bef

  • cvs server installation and configuration under windows 2010-11-21

    1. Download cvsnt (can be downloaded from the attachment) 2. Install cvsnt Double-click the installation file directly to run cvsnt, the installation process you can choose to classic, custom and complete installation of three ways, in ways you can c

  • SVN Server installation and configuration under ubuntu 2011-05-31

    A, SVN Installation 1. Installer $ Sudo apt-get install subversion 2. Add svn subversion user and group management $ Sudo adduser svnuser $ Sudo addgroup subversion $ Sudo addgroup svnuser subversion 3. Create project directory $ Sudo mkdir / home /

  • Git in Ubuntu server installation and configuration 2011-06-28

    1 Installation 1.1 Installing Git-Core: sudo apt-get install git-core 1.2 Installation Gitosis sudo apt-get install python-setuptools mkdir ~ / src cd ~ / src git clone git: / / eagain.net / gitosis cd gitosis sudo python setup.py install Increase us

  • NFS Server installation and configuration 2010-06-22

    1. Statement 2. Overview 3. Installation 3.1 Environment Description: 3.2 installation: 3.3 The start and stop services 4. server-side configuration 4.1 Creating shared directory 4.2 Create or modify / etc / exports configuration file 4.3 restart the

  • SVN under Windows server installation and configuration 2010-08-04

    Preparations First of all, first download the Windows version of the SVN server (using the search engine so you will not be available for download addresses a), where I have to svn-win32-1.4.3 unzip the ZIP version, for example, extract it to the tar

  • Subversion server installation and configuration under Centos 2010-11-01

    Wrote 1. Install: yum install subversion 2. Svn configuration set up svn repository directory can be built more of: New Folder: # Mkdir-p / opt / svndata / repos Create svn repository: # Svnadmin create / opt / svndata / repos Modify the svn reposito

  • Video tutorial: svn stand-alone server installation and configuration 2011-03-22

    Watch: http://www.svnclub.com/sites/default/files/svnclub_vedio_1.htm Related Software: a: svn server software: Setup-Subversion-1.6.13.msi b: svn client: TortoiseSVN-1.6.12.20536-x64-svn-1.6.15.msi Lesson lesson plans: svn stand-alone server (Win32)

  • Ejabberd instant messaging server installation and configuration of ubuntu system 2010-12-30

    ejabberd version is 2.1.5: 1) If the pre-existing ejabberd, please go to the original ejabberd directory operation (no skip): make uninstall Delete the already existing ejabberd directory: / Etc / ejabberd / Var / lib / ejabberd / Log / ejabberd 2) I

  • Windows environment based on the Apache SVN server installation and configuration 2007-06-19

    Today had wanted to do some own code based on the http protocol management and later for various reasons do not have time and experience to engage, but I found an article online in the windows under the configuration process is now being covered up.

  • unbuntu ftp installation and configuration service 2010-10-15

    ubuntu ftp server installation and configuration 2007-07-20 18:33 1. Download vsftpd # Apt-get install vsftpd PS: If you are prompted ---- Tip "E: dpkg was interrupted, you must manually run 'dpkg - configure-a' to correct the problem." The solu