服务器技术 下的文章

在 ProFTPD 中限速和限制连接数

版权声明:原创文章,转载请注明出处,Crazy Loong(http://goto8848.net)

ProFTPD 是一个强大的 FTP 服务端程序。那么,在实际使用中,我们如何对 FTP 进行合理的资源分配及限制呢?

1、在有限的带宽中,对 FTP 下载进行限速是大家都关心的功能。在 ProFTPD 中,我们可以方便地进行设置。

打开 /etc/proftpd.conf (ProFTPD 的配置文件),

TransferRate RETR, STOR 50表示对所有的上传下载限速为50KB

TransferRate RETR 100
TransferRate STOR 80
表示对所有下载限速100KB,对所有上传限速80KB
(more…)

Popularity: 3%

发表评论 2008年07月21日

Custom Smilies 2.0

文章太长,点击进入浏览(click to see the whole post)。中文在下面。这是一个表情插件。

About It

Custom Smilies (previously named Custom Smileys) is a plugin for WordPress 2.0+. This plugin gives you a chance to personalize your posts and comments using smilies of your choice instead of default ones.

Custom Smilies (older than version  2.0) is written by QAD. Thanks for his great contribution.

The lastest version is 2.0. I have upgrade it to let it been compatible with WordPress 2.5 or greater. That’s all I do, but I will perfect it in the future. So the most is written by QAD. Thanks him again.

You can see the English Readme and more here ( new window) .

Download

You can get the latest version of Custom Smilies here. Get it
(more…)

Popularity: 45%

67条评论 2008年05月30日

tar 常见用法

在Linux下,为了方便传输、存储,常常把大量的文件和文件夹打包成一个文件。tar就是这个打包的工具。注意,tar仅仅是打包,而没有对数据进行压缩。

但是,tar支持压缩,常见压缩为gzip和bzip2。仅仅打包的文件后缀一般为bar,经gzip压缩的后缀一般为bar.gz,经bzip2压缩的后缀一般为bar.bz2。

1、如何打包?tar zcvf filename.tar.gz files

2、如何解包?tar zxvf filename.tar.gz files

其中,filename.tar.gz为指定的要存储的tar.gz文件名,files为要打包的文件夹或文件。

参数说明:
c 建立tar文档(打包)
x 放出tar文档(解包)
f 指定tar文档名
v 显示详细过程
z 使用gzip压缩

Popularity: 13%

2条评论 2007年08月05日

隐藏Apache服务器的配置信息

在Apache的配置文件httpd.conf中,有两个配置选项可以控制显示给用户的信息:

ServerTokens,ServerSignature

配置说明:ServerSignature On|Off|EMail
ServerTokens Minimal|ProductOnly|OS|Full

ServerTokens Prod[uctOnly]
Server sends (e.g.): Server: Apache
ServerTokens Min[imal]
Server sends (e.g.): Server: Apache/1.3.0
ServerTokens OS
Server sends (e.g.): Server: Apache/1.3.0 (Unix)
ServerTokens Full (or not specified)
Server sends (e.g.): Server: Apache/1.3.0 (Unix) PHP/3.0 MyMod/1.2

Popularity: 9%

发表评论 2007年07月31日


feedsky
ץϺ
google reader
my yahoo
ʹ

页面

日历

07月 2008
« May    
 12345
6789101112
13141516171819
20212223242526
2728293031  

按月份排列

按分类排列