In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today, the editor will show you how to install vsftpd in the Linux system. The knowledge points in this article are introduced in great detail. Friends who feel helpful can follow the editor to browse the content of the article, hoping to help more friends who want to solve this problem to find the answer to the problem. Follow the editor to learn more about "how to install vsftpd in the Linux system".
Vsftpd is the abbreviation of "very secure FTP daemon", and security is the biggest feature of vsftpd. Vsftpd is the name of a server running on a UNIX-like operating system that can run on multiple platforms.
Detailed steps for installing vsftpd on Linux system: wget ftp://vsftpd.beasts.org/users/cevans/vsftpd-2.3.4.tar.gz (official address, slow download, this address is not recommended)
Wget http://xiazai.xiazaiba.com/Soft/V/vsftpd-2.3.4.tar.gz
If the system already has vsftpd installed, delete it
Mkdir / usr/share/empty
Useradd-s / sbin/nologin-d / var/ftp ftp
Useradd nobody
Chown root:root / var/ftp
Chmod og-w / var/ftp
# for pre-installation
--
Tar zxvf vsftpd-2.3.4.tar.gz
# decompression
Cd vsftpd-2.3.4
# enter the directory
Builddefs.h file under Cat to see what features are enabled by default. More specifically, you can more INSTALL (see help file)
Undef is not enabled
Define is enabled
# ifndef VSF_BUILDDEFS_H
# define VSF_BUILDDEFS_H
# define VSF_BUILD_TCPWRAPPERS
# define VSF_BUILD_PAM
# undef VSF_BUILD_SSL
# endif / * VSF_BUILDDEFS_H * /
# Encoding Resolution steps
Vi opts.c
If (& str_equal_text-> ftp_arg_str, "UTF8 ON") is changed to
If (& str_equal_text-> ftp_arg_str, "DISABLE UTF8 ON")
Note: before installation, if the system is 64-bit, you need to change the lib path in the vsf_findlibs.sh file library, as follows:
Sed-I 's/lib\ / / lib64\ / / g' vsf_findlibs.sh
--
At this point, we can compile and install
Make & & make install
There is no error message in the process, indicating that the installation has been successful
Next, we need to copy some files.
Cp vsftpd.conf / etc # configuration master file
Cp RedHat/vsftpd.pam / etc/pam.d/ftp # PAM authentication file
Start vsftpd
/ usr/local/sbin/vsftpd &
Check it.
Netstat-tnl | grep 21
Thank you for your reading, the above is the whole content of "how to install vsftpd in Linux system", learn friends to hurry up to operate it. I believe that the editor will certainly bring you better quality articles. Thank you for your support to the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.