- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
rhel4中ftp服务器的搭建(The construction of FTP server in rhel4)
rhel4中ftp服务器的搭建(The construction of FTP server in rhel4)
The construction of FTP server in RHEL4
First, modify the configuration file so that the host gets a permanent IP address
# VI /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=11
NETMASK=
GATEWAY=
ONBOOT=yes
TYPE=Ethernet
Restart the configuration file to effect it
# /etc/init.d/network restart
Shutting, down, interface, eth0: [OK]
Shutting, down, loopback, interface: [OK]
Setting, network, parameters: [OK]
Bringing, up, loopback, interface: [OK]
Bringing, up, interface, eth0: [OK]
You need to turn off the iptables system firewall and use the command:
# service iptables stop
Lower the security level
# VI /etc/selinux/config
Change it to SELINUXTYPE=targeted to SELINUXTYPE=disabled
In the system, vsftpd is not installed by default and needs to be installed using the RPM command
Its in the first CD of RHEL4. The name of the package file is vsftpd-2.0.1-5.i386.rpm
First, you need to mount the disc
# mount /dev/cdrom /media/cdrom
# CD /media/cdrom/RedHat/RPMS
# LS -l vsftpd*
-rw-r--r-- 25, root, root, 122195, Jan, 62005, vsftpd-2.0.1-5.i386.rpm
Mount it and install it up
# rpm -ivh vsftpd-2.0.1-5.i386.rpm
Warning:, vsftpd-2.0.1-5.i386.rpm:, V3, DSA, signature:, NOKEY, key, ID, db42a60e
Preparing [100%] ###########################################...
Lets look at the configuration file for vsftpd.conf
Grep -v /etc/vsftpd/vsftpd.conf (##removal comment line of the configuration file)
When anonymous_enable=YES //anonymous_enable is set to yes, the FTP server allows anonymous logon, that is, the user can use the user name FTP or anonymous to log on to FTP, and the login password is the users E-mail address.
When local_enable=YES //local_enable is set to yes, the local user is allowed to log in. The local user refers to the user account in the LUNUX system.
When write_enable=YES //write_enable is set to yes, the FTP server opens write permissions to the local user
The local_umask=022 //local
您可能关注的文档
- c1驾照考试_科目二考试内容及合格标准-桩考及路考(C1 _ driving test subjects two exam content and standard of pile test and road test).doc
- cad图导入到cdr中的方法(The method of importing CAD diagrams into CDR).doc
- cad图导入photoshop(CAD图导入PS图象处理软件).doc
- cad导入su(CAD import Su).doc
- c++统计足球联赛(有错)(C++ statistics Football League (wrong)).doc
- cad文件导入coreldraw的方法与技巧(The method and skill of importing CorelDRAW into CAD file).doc
- cad随层bylayer随块byblock详解(CAD随层-随块详解从未改变).doc
- cam350菜单中文详解(CAM350 menu Chinese detailed explanation).doc
- c 队列实现队伍简介.doc(c 队列实现队伍简介.doc).doc
- careersky大学生职业生涯规划系统(Careersky career planning system for College Students).doc
- rlcrp详解(Rlcrp explain).doc
- rm皮肤制作教程(RM skin tutorial).doc
- ros实用脚本 ros2.x ros3.x ros5.x 通用(ROS utility scripts, ros2.x, ros3.x, ros5.x, general purpose).doc
- rpm包安装和删除(RPM package installation and deletion).doc
- rs232串口通讯—通信协议(RS232 serial communication protocol).doc
- rt-pcr引物设计原则和方法(RT-PCR primer design principles and methods).doc
- rundll32内容(rundll32内容).doc
- scm的三个技术理念(Three technical ideas of SCM).doc
- s60超级矿工(super_miner)攻略(1-93关)(S60超级矿工(super_miner)攻略(1-93关)).doc
- shellexecute 的参数详解(Shellexecute parameters detailed).doc
文档评论(0)