服务器技术 下的文章
版权声明:原创文章,转载请注明出处,Crazy Loong(http://goto8848.net)
一直觉得在 IPv6 还不普及的今天,在机器上加上 IPv6 的支持,真是一种莫大的浪费。所以,我参照网上的方法,将 IPv6 在我的 Debian Etch 下禁用了。没想到,我重新启动 Proftpd 的时候,却得到了下面的错误提示
Starting ftp server: proftpd - IPv6 getaddrinfo '主机名' error: Name or service not known
(阅读全文……)
Popularity: 40% [?]
2008年08月05日
版权声明:原创文章,转载请注明出处,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
(阅读全文……)
Popularity: 40% [?]
2008年07月21日
[Update at 2008.11.6] This is not the latest. If you want to get the latest one, please visit http://goto8848.net/projects/custom-smilies/ .
这里不是最新版本。如果你想得到最新版本,请访问 http://goto8848.net/projects/custom-smilies/ 。
文章太长,点击进入浏览(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
(阅读全文……)
Popularity: 100% [?]
2008年05月30日
在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: 22% [?]
2007年08月05日
在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: 16% [?]
2007年07月31日
能解决3.0的auto-draft问题吗?谢谢。
发现加了这个插件之后,网页无法通过XHTML1.1验证了。主要原因为,在HTML内不恰当的位置加了 img.wp-smiley-select {cursor: pointer;} 望改进 :dsadsad:
Hi Crazy Loong, I love your plugin! Is there a way to display custom smilies in widgets? I'd love to use them in my custom text widgets. Thanks! 我想要知道custom smilies可不可以使用在自定文字模组里,可以的话要怎么修改php,谢谢!
1.5出来了,请问是不是解决了上述的种种问题呢?谢谢
等待插件更新。。。。