安装 ProFTPD (超全)


写下自己在安装 Proftpd的一些相关东西,希望能够和大家分享:

安装 ProFTPD

由于ProFTPD不存在于CentOS中yum的官方库中,所以用yum安装ProFTPD需要定义非官方的库。请先确认相应非官方库文件的存在。

[root@sample ~]# ls -l /etc/yum.repos.d/dag.repo  ← 确认相应库文件的存在性

-rw-r--r-- 1 root root 143 Oct 1 21:33 /etc/yum.repos.d/dag.repo ← 确认其存在(否则不能通过yum安装ProFTPD)

如果以上,dag.repo文件不存在,则不能通过yum安装ProFTPD,需要定义非官方库。定义非官方库的方法请见 “CentOS的下载、安装及初始环境设置”一节中yum的相关设置。而且,在此前提下也要保证所定义的dag.repo文件的语法的正确性。

然后,通过yum来在线安装ProFTPD。

[root@sample ~]# yum -y install proftpd  ← 安装ProFTPD

Setting up Install Process

Setting up repositories

Reading repository metadata in from local files

Reducing Dag RPM Repository for Red Hat Enterprise Linux to included packages only

Finished

Parsing package install arguments

Resolving Dependencies

--> Populating transaction set with selected packages. Please wait.

---> Downloading header for proftpd to pack into transaction set.

proftpd-1.2.10-10.2.el4.r 100% |=========================| 15 kB 00:00

---> Package proftpd.i386 0:1.2.10-10.2.el4.rf set to be updated

--> Running transaction check

Dependencies Resolved

=============================================================================

Package Arch Version Repository Size

=============================================================================

Installing:

proftpd i386 1.2.10-10.2.el4.rf dag 699 k

Transaction Summary

=============================================================================

Install 1 Package(s)

Update 0 Package(s)

Remove 0 Package(s)

Total download size: 699 k

Downloading Packages:

(1/1): proftpd-1.2.10-10. 100% |=========================| 699 kB 00:03

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

Installing: proftpd ######################### [1/1]

Installed: proftpd.i386 0:1.2.10-10.2.el4.rf

Complete!

通过文章的详细的说明,我相信大家都知道如何安装自己的ProFTPD,希望对你们有所帮助!

相关内容