1. Update Yum Source
I was yum update directly.
2. Installation Vsftp
Install VSFTPD using the Yum command
#yum Install Vsftpd-y3, add FTP account and directory
Check the position of the nologin first, usually under/usr/sbin/nologin or/sbin/nologin.
Use the following command to create an account that specifies the home directory of/www/wwwroot as the user pwftp you can define your own account name and
Online, etc! In RedHatLinux9.0, the peanut shells and VSFTPD are started normally, and other machines cannot access the FTP server. -- Linux Enterprise Application-Linux server application information. For details, refer to the following section. (6) m: B: 0w223dc is installed with a peanut shell (Linux version) and VSFTPD
Original: Ubuntu Configure FTP server with VSFTPDThe article on the Internet is very difficult to understand AH. Just want to be simple and rough, ready to use on the line Ah, complex later study not ... Toss for a long time, actually get out can use not so little content ... this text in Ubuntu Server 14.04 AMD64 system test. Made By:csgrandeurInstall FTPsudo Install vsftpdConfigure vsftpd.confsudo nan
In practice, you can use the following script to set up a secure internal FTP server. Of course, you can also use Wireshark to understand the passive and active differences between vsftpd. Take the local machine 192.168.0.18 as an example. The script is as follows:#! /Bin/bashIptables-FIptables-XIptables-ZIptables-t nat-FIptables-t nat-XIptables-t nat-Z# Enable ip ForwardingEcho "1">/proc/sys/net/ipv4/ip_fo
Required Requirements:
Virtual users who are real, but cannot log in
FTP1 VFTP1
FTP2 VFTP2
VIP VVIP
VFTP1: can only download
VFTP2: can only upload
VVIP: That can upload and can download
Start the implementation step below:
Install the required software
Yum-y Install vsftpd DB4 db4-devel
First, create a user database
1. Create a user text file----> create three accounts
Vi/etc/vsftpd/ftpvuser.t
Try to resolve the error that occurs when the VSFTPD is installed on Ubuntu.After the installation with Apt-get, and useradd the user, the newly created user, but after the installation has been completed error, Login failed, on the web to find a number of solutions, most are the same description. Accidentally found a different answer to the blog, forget which blog, he mentioned the solution to solve my problem/etc/shells added/sbin/nologin newly crea
# # Learning Summary# #超级用户权限
VSFTPD installation (L)Yum Install vsftpd apt-get install VSFTPD
VSFTPD configuration (local user login restricted to their home directory,/etc/vsftpd.conf)Listen=yes (see if the connection is turned on if it is denied)Chroot_list_file=/etc/vsftpd.chroot_listChroot_list_enable
Cause: vsftpd does not handle character encoding conversion, Windows uses GBK encoding, while Linux generally uses UTF-8 encoding.
Solution:
1. vsftpdpatch is used. Currently, only vsftpd-2.0.3-encoding.patch.tar.bz2 is available.
2. Use an FTP client that can be encoded
For example, flashfxp 4.2.1, select site> Site Manager> Site List> quick connection and select the connection to use, click Options-ch
compiling the Nginx installation./configure parameters (--conf-path= pointing to the configuration file (nginx.conf)) D. Stop NginxMode 1, Quick stop:
cd/usr/Local/nginx/sbin
./nginx-s Stop
This method is equivalent to identifying the Nginx process ID and then using the KILL command to force the kill process.Mode 2, complete stop ( recommended):
cd/usr/Local/nginx/sbin
./nginx-s quit
This stop step is to wait until the Nginx process finishes processing the t
1. Install VSFTPD Service and DB
3, using the Db_load tool to convert list files to DB database files
5, establish the root directory, any user can access, and can download/var/ftp/soft
Set up directories and files for user sales and Saleadm access
7, modify vsftpd.conf main configuration file, enable virtual user support
Anonym
StatementThe Stars last nightBlog:http://yestreenstars.blog.51cto.com/This article by oneself creation, if need reprint, please indicate source, thank cooperation!Objectivethrough MySQL implements virtual user access to the FTP server. Configuration# Install all the packages used in this experiment Yum-yinstallvsftpdmysql-servermysql-develpam-devel gcc-c++makewget# Start mysqld Service servicemysqldstart# Initialize database administrator password mys
Various points of knowledge are written in the notes.
Only need sudo $PATH/ftpsetup.sh, default to test/test for user name password login, after the root directory read-only, subdirectory writable writable.
Test OK on Ubuntu 13 and Linux Mint 15.
Copy Code code as follows:
#!/bin/bash
# by Liuhx 2013-nov-04.
# Script to set up FTP environment. The FTP root directory is read-only, and the writable directory under it is writable
# The following four items can be customized# FT
Yum-y Install vsftpd*Yum-y Install db4*============================================================================Create a text file that contains the virtual user name and its password, and then build the virtual User Password library file on this basis:#vim Logins.txt
Add the following information (singular behavior username, even action password):123//user name456//Password
: Wq//Save and exit=====================================================
configuration file is different (when set to YES, it is to prevent the account in user_list from logging on; when set to NO, is to allow the account in user_list to log on ). /Etc/vsftpd/ftpusers is the PAM module's security setting file, while/etc/vsftpd/user_list is the custom security setting file of vsftpd. This file is almost the same as/etc/
settingsTwo control modes: one is to control host access and the other is to control user access.① Control host access:Tcp_wrappers = YES/NO(YES)Set whether vsftpd is combined with tcp wrapper to control access to the host. The default value is YES. If it is enabled, the vsftpd server checks the settings in/etc/hosts. allow and/etc/hosts. deny to determine wheth
Use of vsftpd and Analysis of vsftpd
Vsftpd is an excellent ftp server, while vsftpd is short for "very secure ftp daemon". From the surface, it focuses more on security, its developer is Chris Evans.
Note that vsftpd works in chr
This article describes how to install vsftpd and vsftpd in linux. For more information, see VSFTP.
Step 1: Download the RPM Package of vsftpd
You can get the latest vsftpd RPM package Redhat's rpm collection or rpmfind.net from the following two places. for your convenience, you can also use wget to download the
/banner
When a user logs in, the file content of this setting is displayed, which is usually a welcome word or description. The default value is none. Use this configuration item if you have more welcome information.
Ftpd_banner = Welcome to BOB's FTP server
Here is the string used to define the welcome discourse. banner_file is the file format, while ftpd_banner is the string format. Default Value: none.
6.Controls whether users are allowed to swit
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.