引言:
RedHat带了wu-ftpd和vsftp两套ftp系统.
摘要:
iptables -f -t filteriptables -f -t natiptables -f -t manglemodprobe ip_talbesmodprobe ip_nat_ftpmodprobe ip_conntrackmodprobe ip_conntrack_ftpiptables -a input -i lo -s 127.0.0.2 -j acceptiptables......
摘要:
[这个贴子最后由chedong在 2002/12/18 05:41pm 编辑]$header: /setup/install.oracle.txt 7 02-12-17 11:04 chedong $redhat8的oracle8i安装笔记硬件需求========至少256m物理内存系统准备========redhat8按server方式安装需要增加的安装包大类:1 包含一个x系统,建议使用......
[原创]redhat 8.0下的vsftp的配置
redhat带了wu-ftpd与vsftp两套ftp系统.我也使第一次接触vsftp,根据man说vsftp的含义就是very security ftp的意思简单的看了看vsftp的说明,发现还是很简单的,下面就简要的说一下它的配置方法. 【程序编程相关:
一个Linux爱好者的2.6.11内核编】 【推荐阅读:
如何共享两台Linux操作系统的根目录】 【扩展信息:
Linux系统可卸载内核模块完全指南】 1.相关配置文件 /etc目录下的vsftpd.conf,vsftpd.ftpuser,vsftpd.user_list,/etc/xinetd.d/vsftpd 2.配置vsftp 主要是修改/etc/vsftpd.conf就可以了,相关参数如下: anonymous_enable=yes 是否允许匿名ftp,如否则选择no local_enable=yes 是否允许本地用户登录 local_umask=022 默认的umask码 anon_upload_enable=yes 是否允许匿名ftp用户访问 anon_upload_enable=yes 是否允许匿名上传文件 anon_mkdir_write_enable=yes 是否允许匿名用户有创建目录的权利 dirmessage_enable=yes 是否显示目录说明文件,默认是yes但需要收工创建.message文件 xferlog_enable=yes 是否记录ftp传输过程 connect_from_port_20=yes 是否确信端口传输来自20(ftp-data) chown_upload=yes chown_username=username 是否改变上传文件的属主,如果是需要输入一个系统用户名,你可以把上传的文件都改成root属主 xferlog_file=/var/log/vsftpd.log ftp传输日志的路径与名字默认是/var/log/vsftpd.log xferlog_std_format=yes 是否使用标准的ftp xferlog模式 idle_session_timeout=600 设置默认的断开不活跃session的时间 data_connection_timeout=120 设置数据传输超时时间 nopriv_user=ftpsecure 运行vsftpd需要的非特权系统用户默认是nobody async_abor_enable=yes 是否允许运行特殊的ftp命令async abor.这里我翻译的不爽,原文如下: when enabled, a special ftp command known as "async abor" will be enabled. only ill advised ftp clients will use this feature.addtionally, this feature is awkward to handle, so it is dis-abled by default. unfortunately, some ftp clients will hang when cancelling a transfer unless this feature is available, so you may wish to enable it. ascii_upload_enable=yes ascii_download_enable=yes 是否使用ascii码方式上传与下载文件 ftpd_banner=welcome to chenlf ftp service. 定制欢迎信息 deny_email_enable=yes banned_email_file=/etc/vsftpd.banned_emails 是否允许禁止匿名用户使用某些邮件地址,如果是输入禁止的邮件地址的路径与文件名 chroot_list_enable=yes chroot_list_file=/etc/vsftpd.chroot_list 是否将系统用户限止在自己的home目录下,如果选择了yes那么chroot_list_file=/etc/vsftpd.chroot_list中列出的是不chroot的用户的列表 max_clients=number 如果以standalone模式起动,那么只有$number个用户可以连接,其他的用户将得到错误信息,默认是0不限止 message_file 设置访问一个目录时获得的目录信息文件的文件名,默认是.message 没发现有限止带宽的地方,如果谁知道请告诉我,详细的帮助说明请参考man vsftpd.conf 3 配置实例 以下是我的配置文件.允许匿名ftp,允许上传,chroot用户目录,上传文件属主改为root anonymous_enable=yes local_enable=yes write_enable=yes local_umask=022 anon_upload_enable=yes anon_mkdir_write_enable=yes dirmessage_enable=yes xferlog_enable=yes connect_from_port_20=yes chown_uploads=yes chown_username=root xferlog_file=/var/log/vsftpd.log xferlog_std_format=yes pam_service_name=vsftpd chroot_local_user=yes 4 起动服务 vsftpd与wu-ftpd不能同时起动,所以修改/etc/xinetd.d/wu-ftpd将disable设置为yes,然后修改/etc/vsftpd将disable设置为no 执行/etc/initd.d/xinetd restart
...
下一页 摘要:
目前linux操作系统十分火爆,所以很多朋友希望了解一下linux下虚拟域名的实现过程。下面就基于目前比较流行的redhat来讨论一下。 一、dns服务器的设置 我们知道互联网网是基于tcp/ip协议的,要进行通信必须获得对方的ip地址,这是通过dns服务器来实现的。因此要想实现虚拟域名首先应当令dns服务器接受该虚拟域名,即把它映射到指定的ip地址上。因为我们靠web服务器来区分域名,......