ImageVerifierCode 换一换
格式:DOCX , 页数:17 ,大小:1.08MB ,
资源ID:5466940      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/5466940.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(FTP详细配置.docx)为本站会员(b****4)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

FTP详细配置.docx

1、FTP详细配置 FTP服务器配置详细首先我们在网上下载好ftp-server的开源文件,这里我们准备了pure-ftpd-1.0.36.tar.gz的压缩包接下来我们启动虚拟机然后在启动远程控制软件secureCRT启动secureFX接着把我们下载的FTP压缩包进行上传,即把压缩包拖入到第一个窗口,我们把它放在/var/lib这个目录下结果如下:接着我们去远程控制端查看该文件的上传情况:我们从中看到了我们的FTP压缩文件然后我们对其进行解压:使用解压命令:tar zxvf file.tar.gz具体演示如下:接着我们查看解压后的文件是否已存在:我们看到已经解压成功接着我们对解压文件进行编译安

2、装:使用命令有:cd pure-ftpd-1.0.36./configure with-everythingMakeMake install安装成功后我们为ftp服务器建立用户组为组员建立存储位置 接下来我们要让它能够自动启动ftp服务这里我们已经建立好了FTP服务器接下来我们就要为其他用户开设账号密码和空间我们增加一个用户test03并生成用户数据,接着我们去本地机打开dos命令窗口,来实验这个用户能否登录到这个空间用户test03能够正常登陆接下来我们查看服务器的用户有哪些发现已经为三个用户开设了空间我们使用test01来进行上传下载,来看FTP服务器的配置我们先看test01的空间里面有

3、什么文件我们在DOS命令窗口下载00.text显示下载成功我们去这个目录下查找是否存在00.txt这个文件然后我们再在这个目录下重新创建一个文件sun.doc我们把这个文件上传到服务器上传成功我们再去服务器那边查看test01空间下是否存在这个文件了已存在最后我们通过Dreamweaver连接FTP服务器对我们开发的网页进行更新上传首先建立站点建立好站点后,连接远程服务器我们建立了一个123.html的网页,将它上传到服务器服务器端文件:最后我们通过浏览器来访问我们创建的网页123网页如下:对一些命令的翻译如下:1.INSTALL The simplest way to compile thi

4、s package is: 1. cd to the directory containing the packages source code and type ./configure to configure the package for your system. Running configure might take a while. While running, it prints some messages telling which features it is checking for. 2. Type make to compile the package. 3. Opti

5、onally, type make check to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 4. Type make install to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configu

6、red and built as a regular user, and only the make install phase executed with root privileges. 5. Optionally, type make installcheck to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular

7、user, particularly if the prior make install required root privileges, verifies that the installation completed correctly. 6. You can remove the program binaries and object files from the source code directory by typing make clean. To also remove the files that configure created (so you can compile

8、the package for a different kind of computer), type make distclean. There is also a make maintainer-clean target, but that is intended mainly for the packages developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 7. O

9、ften, you can also type make uninstall to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the GNU Coding Standards. 8. Some packages, particularly those that use Automake, provide make distcheck, which can

10、 by used by developers to test that all other targets like make install and make uninstall work correctly. This target is generally not run by end users.最简单的方法编译这个包是:1。“cd”目录包含包的源代码和类型。./configure是为您的系统配置这个包。运行“配置”可能需要一段时间。在运行时,它将打印一些消息告诉哪些特性是检查。2。类型make来编译包。3。可选地, make check来运行任何自我测试,来与包,通常使用刚刚建成的卸

11、载二进制文件。4。类型“make install”安装程序和任何数据文件和文档。当安装到一个前缀属于根,建议包被配置和构建为一个普通用户,只有“make install”阶段执行使用root特权。5。可选地,输入“使installcheck“重复任何自我测试,但是这一次使用二进制文件安装在他们的最后位置。这一目标不安装任何东西。运行这个目标作为一个普通用户,特别是如果事先“make install required root特权,验证正确完成安装。6。您可以删除程序二进制文件和对象文件源代码目录通过键入“使清洁”。也删除文件,创建“配置”(这样你可以编译包的一种不同的计算机),键入“使dist

12、clean”。还有一个“让维修工清洁”的目标,但这主要的目的为包的开发人员。如果你使用它,你可能已经去获取各种其他程序以修复来自分布式的文件。7。通常,您也可以输入让卸载”来删除所安装的文件再一次。在实践中,并不是所有的包已经测试了,卸载工作正常,尽管它是由GNU编码标准的要求。8。一些包,特别是那些使用Automake、提供“使distcheck,它可以通过开发人员用于测试,所有其他目标像make install”和“让卸载的正常工作。这个目标通常不是由最终用户运行2.README FYI, the binary RPM packages of Pure-FTPd are configure

13、d with the followingcommand line: ./configure -with-everything -with-paranoidmsg -without-capabilities -with-virtualchrootRPM packages are also compiled with -without-pam to enhance theirportability.通知你,二进制RPM软件包的配置Pure-FTPd与以下命令行:RPM包也是编译 -without-pam提高他们的可移植性This is the recommended way to start th

14、e server.Unless you compiled the server with -without-standalone, running theserver is as easy as typing:这是推荐的方式启动服务器。除非你编译服务器与“-without-standalone”,运行服务器一样容易打字。:In the following examples, we will assume that the pure-ftpd file islocated in /usr/local/sbin. This is the default if you compiled the se

15、rverfrom the source code tarball. But as I said earlier in this document, ifyou installed a binary package (RPM, SLP, DEB, TGZ), the server maybeinstalled in /usr/sbin/. So just replace /usr/local/sbin/pure-ftpd with/usr/sbin/pure-ftpd.When the previous command is run, the server will listen for inc

16、omingconnections on every interface, all IP addresses and the standard FTP port在下面的例子中,我们将假定的pure-ftpd”文件位于/ usr / local / sbin。这是默认的如果你编译服务器从源代码tarball。但正如我前面说过在这个文档,如果你安装了一个二进制包(RPM、DEB SLP,、TGZ),服务器可能安装在/ usr / sbin /。所以只是替换“/ usr / local / sbin / pure-ftpd 与 / usr / sbin / pure-ftpd”。前面的命令运行时,服务

17、器将侦听传入连接每个接口上、所有IP地址和FTP端口In its current form, Pure-FTPd uses some OS-specific system calls. And althoughsome portability work has been done in order to ease its port to otheroperating systems, only Linux FreeBSD, NetBSD, OpenBSD, ISOS, MirBSD, BSDi,DragonflyBSD, Darwin, Solaris, Tru64, Irix, AIX an

18、d HPUX are known to work,other operating systems may need some tweaks. With Linux, any moderndistribution should be ok.* Step 1 (optional but recommended):Create a specific, unprivileged user and group called _pure-ftpd, without anyvalid shell. Dont use this for anything else, including FTP virtual

19、users.groupadd _pure-ftpduseradd -g _pure-ftpd -d /var/empty -s /etc _pure-ftpdIf having a user whose name begins with an underscore is a no-go for you,you can also call it pure-ftpd, without the underscore.* Step 2:If you have Cdialog or Xdialog installed on your system, try the followingcommand to

20、 build and install Pure-FTPd:make -f Makefile.guiIf you dont have Cdialog or if you prefer the conventional way, here it is:./configuremake install-stripEt voila! The software is now installed in /usr/local/sbin/pure-ftpd* Step 3:To launch the server, just type the following command:/usr/local/sbin/

21、pure-ftpd &If you installed a binary package (RPM, SLP, Debian), maybe use thefollowing command instead:/usr/sbin/pure-ftpd &Your server is ready. Just type ftp localhost to test it. If you want toautomatically run the server when the system boots, add the previous commandto /etc/rc.d/rc.local or /e

22、tc/rc.d/boot.local . Dont forget the & sign.就其目前的形式来看,Pure-FTPd使用一些特定于操作系统的系统调用。尽管一些可移植性的工作已经完成,以缓解其港口到其他操作系统,只有Linux FreeBSD,NetBSD,OpenBSD,ISOS,MirBSD,BSDi,DragonflyBSD、达尔文、Solaris、AIX和Tru64,Irix,已知HPUX工作,其他的操作系统可能需要一些调整。对于Linux,任何现代分布应该没问题。*第1步(可选的,但是建议):创建一个特定的,无特权的用户和组称为_pure-ftpd,没有任何有效的shell。

23、不要用这个做别的事情,包括FTP的虚拟用户。groupadd _pure-ftpd_pure-ftpd useradd - g - d / var /empty- s / etc _pure-ftpd如果有一个用户的名字开始强调了一个对你不方便,你也可以叫它pure-ftpd,没有下划线。*第二步:如果你有Cdialog或Xdialog安装在您的系统上,试试下面的命令来构建和安装Pure-FTPd:Make- f makefile gui如果你没有Cdialog或如果你更喜欢传统的方式,这就是:. / configuremake install-strip果不其然!软件现在是安装在/ usr

24、/ local / sbin / pure-ftpd*第三步:启动服务器,只需输入以下命令:/ usr / local / sbin / pure-ftpd &如果你安装了一个二进制包(RPM,SLP,Debian),也许使用以下命令相反:/ usr / sbin / pure-ftpd &您的服务器已经准备好了。只需敲“ftp localhost 来测试它。如果你想自动运行服务器在系统启动时,前面的命令添加到/ etc / d / rc。本地或/ etc / d / boot。当地。不要忘记“&”标志。-with-everything: build a big server with alm

25、ost all features turned on:altlog, cookies, throttling, ratios, ftpwho, upload script, virtual users(puredb), quotas, virtual hosts, directory aliases, external authentication,Bonjour and privilege separation.-with-everything: 建立一个大型服务器与几乎所有功能打开: altlog, cookies, throttling, ratios, ftpwho、上传脚本,虚拟用户

26、(puredb)、配额、虚拟主机、目录别名,外部身份验证, 卓越和特权分离-g : Change the location of the pid file when the server is- run in standalone mode. The default is /var/run/pure-ftpd.pid .- 改变pid文件的位置当服务器- 在独立模式运行。默认的是/ var / run / pure-ftpd。pid。- -d: Send various debugging messages to the syslog. Dont use thisunless you real

27、ly want to debug Pure-FTPd. Passwords arent logged.Duplicate -d to log responses, too.发送各种调试信息到syslog。不要使用这个除非你真的想调试Pure-FTPd。密码不登录。也重复“- d”来记录响应- -s: The waReZ protection. Dont allow anonymous users to downloadfiles owned by ftp (generally, files uploaded by other anonymous users) .So that uploads

28、have to be validated by a system administrator (chown toanother user) before being available for download.“盗版软件保护”。不允许匿名用户下载文件属于“ftp”(一般来说,文件上传其他匿名用户)。所以,上传必须验证由系统管理员(乔恩来另一个用户),然后将其可供下载。- -f : Use that facility for syslog logging. It defaults toftp (or local2 if you got an obsolete libc without that

29、 facility).- Logging can be disabled with -f none- 使用该工具syslog记录。它的默认值为- “ftp”(或“local2“如果你得到了一个过时的libc没有这种设施)。- 可以禁用日志记录与“- f none - -l or -l : Adds a newrule to the authentication chain. Please read the Authentication section,later in this README file. Its an important section.添加一个新规则来验证链。请阅读“认证”部

30、分,后来在这个README文件。这是一个重要的部分。- -j: If the home directory of a user doesnt exist, automatically createit. The newly created home directory belongs to the user and permissions areset according to the current directory mask. Only the home directory can becreated (so /home/john/./public_html wont work, but /home/john will) . Toavoid local attacks, the parent directory should never belong to an untrusteduser. Also note that you must trust whoever manages the users databases,because with that feature, h

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1