当前位置:首页 » 专业资讯
开发技术指南» 文章正文
    引言: 一。准备工做1。你的机器上已调试好了apache+php+
 

 

    摘要: 1、前言 apache+resin来做想来大家都比较熟悉了,一般的配置都是很熟悉的了,我查看了一些论坛上的文章,这方便的文章比较多。在这里,我只要写写apache+resin实现独立的虚拟主机和resin自带的负载均衡。 2、系统和环境: redhat9 and solaris9 httpd-2.50 resin-3.06 pure-ftpd-1.0.17a.tar.gz 3、安装软件: 3.1、安装apache: # tar zxvf ht......
    摘要: [b:4d61eea260] vmware 网络设置实例四:windows 2003 host + linux guest [/b:4d61eea260] 前言:关于vmware的网络设置已经写了三篇文章(参见我的个人专集),基本上把常用的设置给包括了。但前几天有朋友提出了windows 2003 host下的问题,我抽空试验了一下,算是作为前几篇文章的补充,其实你自己配置一下也不算复杂。 版权声明:[b:4d61eea260]版权属yunqin......


我的proftpd+mysql+quota @ debian 安装流水笔记

一。准备工做 【相关文章:Linux下如何调整磁盘分区?

【扩展阅读:15M的LINUX系统,做router的

1。你的机器上已调试好了apache+php+mysql环境 【扩展信息:发现一个新的情况 求解

2。下载proftpd

 wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.10rc3.tar.bz2

因为发现1.2.10直接支持sql与quota

二。安装

tar -jxvf proftpd-1.2.10rc3.tar.bz2

cd proftpd*

[quote:06f83d2b02]

./configure --prefix=/usr/local/proftpd \ --with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_sql \  --with-includes=/usr/local/mysql/include/mysql \ --with-libraries=/usr/local/mysql/lib/mysql

make&&make install

修改proftpd配置

vim /usr/local/proftpd/etc/proftpd.conf

内容改为:

servername "mail2004.3322.org"

servertype standalone

defaultserver on

# 用户登陆时不显示ftp服务器版本信息

 serverident off

# port 21 is the standard ftp port.

 port 21

# umask 022 is a good standard umask to prevent new dirs and files

 # from being group and world writable.

 umask 022

maxloginattempts 3

 timeoutlogin 120

 timeoutidle 600

 timeoutnotransfer 900

 timeoutstalled 3600

 maxclients 100

# 设置每台主机最多并发连接数

 maxclientsperhost 3

 allowoverwrite no

 allowstorerestart on

 usereversedns off

# 设置如果shell为空时允许用户登录

 requirevalidshell off

# 将用户限制在自己的主目录下

 defaultroot ~ 

# to prevent dos attacks, set the maximum number of child processes

# to 30. if you need to allow more than 30 concurrent connections

# at once, simply increase this value. note that this only works

# in standalone mode, in inetd mode you should use an inetd server

# that allows you to limit maximum number of processes per service

# (such as xinetd).


...   下一页
    摘要: 1. cd /tmp wget -c -q http://puzzle.dl.sourceforge.net/sourceforge/cbqinit/cbq.init-v0.7.3& 2. mv /tmp/cbq.init-v0.7.3 /sbin/cbq chmod u+x /sbin/cbq 3. mkdir -p /etc/sysconfig/cbq 4. cd /etc/sysconfig/cbq/ 建立下面文件 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE