seo 发表于 2022-5-31 13:33:01

linux下源码安装vsftpd-3.0.2

linux下源码安装vsftpd-3.0.2发布时间:2022/5/31 13:08:38
            
                                                       
                                                       
            
      
      
               
                  1)在http://vsftpd.beasts.org/网站中查找并下载 vsftpd-3.0.2.tar.gz源码包

2)如果自己的机器上安装有yum可以用yumgrouplist|less指令查看以下开发环境,当然这一步不做也行

https://s1.51cto.com/attachment/201308/122256953.jpg

3)拆解源码包

https://s1.51cto.com/attachment/201308/122408129.jpg

4)查看源码包

https://s1.51cto.com/attachment/201308/122641537.jpg

5)编辑builddefs.h文件

https://s1.51cto.com/attachment/201308/122647793.jpg

https://s1.51cto.com/attachment/201308/122748912.jpg

6)编译

https://s1.51cto.com/attachment/201308/122834300.jpg

7)建立匿名账号

https://s1.51cto.com/attachment/201308/123020495.jpg

8)建立空目录

https://s1.51cto.com/attachment/201308/123041106.jpg

9)建立匿名访问的根目录并更改其属性

https://s1.51cto.com/attachment/201308/123115448.jpg

10)安装

https://s1.51cto.com/attachment/201308/123141721.jpg

11)看一下安装程序自动拷贝的一些文件是否成功

https://s1.51cto.com/attachment/201308/123212109.jpg

https://s1.51cto.com/attachment/201308/123248511.jpg

12)编辑配置文件/etc/vsftpd.conf

https://s1.51cto.com/attachment/201308/123404553.jpg

https://s1.51cto.com/attachment/201308/123408786.jpg

https://s1.51cto.com/attachment/201308/123415129.jpg

https://s1.51cto.com/attachment/201308/123420519.jpg

13)配置身份验证

https://s1.51cto.com/attachment/201308/123425438.jpg

14)设置开机自启动ftp服务

https://s1.51cto.com/attachment/201308/123432250.jpg

https://s1.51cto.com/attachment/201308/123437371.jpg

15)将其加入开机自启动队列

https://s1.51cto.com/attachment/201308/123529595.jpg

16)手工启动ftp服务

https://s1.51cto.com/attachment/201308/123658217.jpg

https://s1.51cto.com/attachment/201308/123751285.jpg

17)测试

https://s1.51cto.com/attachment/201308/123843226.jpg



在安装过程中参考第四步中提到的INSTALL文件,这个文件中列出了详细的安装步骤!
               
      
      
   
            
      
      
https://www.yilongzhijia.cn/tupian/seo365t.jpg
页: [1]
查看完整版本: linux下源码安装vsftpd-3.0.2