Linux: One-click build ftp service (vsftpd)

《TRO-23614-VSFTPD》

If csdn charges, you can si liao with me and I will send it to you for free  

The one I sent is a tar archive, and the script is in it

Linux: "tar" archive command_Bao Haichao-GNUBHCkalitarro's Blog-CSDN Blog

tar xfz tarro_vsftpd.tar.gz -C /root/
# tar xfz tar package path - where to put C

# Unzip it first

python3 vsftpd.py

# Execute this command to start the file


script introduction

Linux: ftp service (vsftpd)_Bao Haichao-GNUBHCkalitarro's Blog-CSDN Blog

Build an ftp server with one click, this is a python script written by myself

I basically did not have any problems after many tests. If there is no effect after building, just restart the service. It may be caused by the service not being refreshed.

systemctl restart vsftpd

# restart service

Currently only python3 service is supported. Make sure that vsftpd has not been configured before use. If it is messed up, you can delete it and download it again.

yum -y remove vsftpd

yum -y install vsftpd 

# delete # download

Since I have just started python, the code cannot be written very, very powerfully 

This script can only be used for temporary construction. If you want to have perfect control over ftp, you need to debug the file by yourself.

Since it is anonymous, I did not write it, and anonymous login only reads, which improves security

The content of this configuration file is the default. Once the service is turned on, you can directly access

I can't rely entirely on the script, and the script I wrote is not perfect, because the current ability is limited

Linux: ftp service (vsftpd)_Bao Haichao-GNUBHCkalitarro's Blog-CSDN Blog


script display

 

Enter your server ip here

 Just enter the corresponding serial number to start the service construction

 



 


 

 


If you think there are any deficiencies, I will make improvements and look forward to your pointing out

If you think there are any deficiencies, I will make improvements and look forward to your pointing out

If you think there are any deficiencies, I will make improvements and look forward to your pointing out

 

Guess you like

Origin blog.csdn.net/w14768855/article/details/131263118