First, prepare the required packageMysqlPam_mysqlVsftpdSecond, start the installation[[email protected] ~]# yum-y install mysql-server mysql-devel vsftpd pam_mysql//Note: Pam_mysql is provided by the Epel source, the Epel source needs to be set by itselfThird, create a virtual user account1. Create database and store user's table[[Email protected] ~]# service mysqld start//start MySQL services [[email prote
following experiments are all performed on ubuntu server 14.04 X64. For centos operations, refer to this article 《Rotten mud: Vsftpd uses virtual users to access FTP.
Ii. vsftpd Installation
Before configuring vsftpd, install vsftpd and
-changing this filename affects/etc/logrotate. d/vsftpd. log
# Xferlog_file =/var/log/xferlog
#
# Switches between logging into vsftpd_log_file and xferlog_file files.
# NO writes to vsftpd_log_file, YES to xferlog_file
Xferlog_std_format = YES
#
# You may change the default value for timing out an idle session.
# Idle_session_timeout = 600
#
# You may change the default value for timing out a data connection.
# Data_connection_timeout = 120
#
# It is
Vsftpd installation and configuration tutorial, vsftpd configuration tutorial
Vsftpd is used for image server using ftp. It is relatively simple to install, but there are several problems in the process. To prevent future use, record the entire process.
Install
First, I use the ubuntu system. Install
Problem: vsftpd stop failure, status hint "vsftpd is dead, but Subsys is locked"
Possible causes:
There is a problem with the 1.vsftpd.conf profile, note the correspondence of annotation and non annotation options, and note the spaces.
2. There are gssftp and vsftpd conflicts.
Problem solving:
1. Carefully check the vsftpd.conf configuration, keep trying, t
File Service-Vsftpd, service vsftpd
File Transfer Protocol (FTP ):
The file protocol that allows users to upload and download files on the Internet. The FTP service is a host that supports the FTP Transfer Protocol. To complete file transfer, the FTP server and the FTP client must work together.
Generally, you use the FTP client software to initiate a connectio
permission to the log for that user, or the service will fail to start.## If you want, you can have the your log file in the standard FTPD xferlog formatXferlog_std_format=yesThe settings log uses a standard record format.## You could change the default value of timing out an idle session.#idle_session_timeout =600Set the idle connection timeout, where default is used. Specify the specific values for each specific user, if not specified, or use the default value here of 600, per second.## The d
after login. warning this option has security risks, especially when the user has the upload permission or can access it through shell. if you do not know the consequences, do not enable it. note that these security risks are not unique to vsftpd. all FTP daemon that provide directory restrictions for local users have this risk.
Default Value: No connect_from_port_20
It is used to control whether to use port 20 (ftp-data) for data connection on the
verified using the LDAP server? Or use the Mysql database?
A) Yes. Vsftpd can be verified using PAM, so you need to configure PAM to use the pam_ldap or pam_mysql module. This includes installing the PAM module, and then editing the PAM Configuration File of vsftpd may be/etc/pam. d/vsftpd ).
Q20) Help! Does
set up on the server, and the website administrator is not very familiar with Linux, and does not want to open an account to the website administrator, so as not to log on to the system, it makes the system messy, so the popular practice of providing virtual hosts on the Internet is to manage websites through FTP, therefore, you need to provide an account for the website administrator to log on to FTP for website management.
2. Select FTP
Deploying vsftpd in CentOS6.5
1. Lab requirements:
1) Use the RPM package to install the vsftpd service
2) Implement anonymous user access. Only access and download are allowed for verification, and upload is not allowed.
3) Anonymous Users can upload, download, modify, and other full permissions (in the real environment, such requirements are unlikely)
4) Implement blocking login users in their home direct
.
Q16)Help! Vsftpd displays GMT instead of local time!A) You can setUse_localtime = Yes.
Q17)Help! Can I disable some FTP commands?A) Yes. There are some separate options (suchDirlist_enable), Or you can useCmds_allowedOption to specify the allowed command set.
Q18)Help! Can I change the working port of vsftpd?A1) Yes. If you run vsftpd in standalone mode, you ca
You know what is Linux vsFTPD? This very advanced application technology will be explained by me very much. Where is Linux vsFTPDNB? I will introduce you to the unlimited field of Linux vsFTPD. Linux vsFTPD is a small and easy-to-use FTP server program. It is one of the most popular FTP
Operating system: Ubuntu (Gnu/linux)In order to set up an FTP server on the machine, we need to install the FTP server software. The representative FTP Server software under Linux has Wu-ftp,proftp and vsftp.Wu-ftp (Washington University FTP) was developed by the University of Washington, USA. It's powerful and configuration is more replicated. Because the develo
This article is excerpted Based on redking's post. The original Article address is http://bbs.ixpub.com/thread-717151-1.html.As a secure FTP server, vsftpd has many options. The following describes the vsftpd configuration file list, And all configurations are based on the vsftpd. conf configuration file. This document
1, download and install 1, to rpm.pbone.net or rpmfind.net search and download: vsftpd-2.2.2-2.el5.i386.rpm2, install # rpm-ivhvsftpd-2.2.2-2.el5.i386.rpm3, backup configuration file: # cp/etc/vsftpd. conf/etc/vsftpd. conf. bak4, vsftpd file description/et
1. Download and install
1, search for and download from rpm.pbo
Linux 6.6 vsftpd configuration, 6.6 vsftpdFtp Configuration
I mainly want to upload a tool for convenience, not a professional ftp server, so I only use the root user to log on and upload. the root user only needs to remove the root user list blocked by ftp, open the firewall and disable selinux.
In the following files, the first line is usually root use # comment out other unnecessary.
Vim/etc/
1. Why use ftp?
As a backend server developer, I believe that I have my own understanding and understanding of why FTP is installed on the server. In practical applications, once the server is installed and put into use, it is often placed in the data center. Generally, developers do not directly enter the data center for development or software maintenance. In t
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.