三步完成在Jetson nano部署安装和启用FTP服务器

   FTP服务器是啥呢?援引度娘的介绍:

FTP服务器(File Transfer Protocol Server)是在互联网上提供文件存储和访问服务的计算机,它们依照FTP协议提供服务。 FTP是File Transfer Protocol(文件传输协议)。顾名思义,就是专门用来传输文件的协议。简单地说,支持FTP协议的服务器就是FTP服务器

   FTP服务器在平时工作和学习中是经常会使用的一个工具,比如说必须要在两台机子间传文件,FTP的便利性就体现出来了。以下三步即可完成FTP服务器的部署和启用。
1、在Jetson nano中安装部署FTP服务器和在Ubuntu中安装FTP时相同的,使用apt进行一键安装

sudo apt-get install vsftpd

FTP2、安装成功之后修改以下路径文件:/etc/vsftpd.conf,主要是将以下几项前面注释的**#**去掉。

配置FTP服务
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES

# ASCII mangling is a horrible feature of the protocol.
ascii_upload_enable=YES
ascii_download_enable=YES

3、修改完后,重启FTP服务即可:

sudo /etc/init.d/vsftpd restart

猜你喜欢

转载自blog.csdn.net/qq_33475105/article/details/106177649