Overview

I can remember way back when how amazed I was to order a new desktop computer with 2MB of RAM. Even the days of ordering a server with 64MB of RAM seemed like sooooo much memory. And in case you missed it, those are values in megabytes. Naturally today’s systems are in another class altogether. And while I’d like to think the quality of memory manufacturing has also increased over the years, things can still go wrong.

Failing or faulty memory doesn’t always manifest itself with a huge announcement. In the event that Windows 7 or Windows Server 2008 detects such a problem, it will most likely prompt you to run the Windows Memory Diagnostic tool. But you can also manually run this tool anytime you’d like if you prefer to be a bit more proactive.

本日志由 flyinweb 于 2012-01-30 10:39:19 发表到 技术文摘 中,目前已经被浏览 91 次,评论 0 次;

作者添加了以下标签: Windws内存诊断工具windows memory diagnostic tool

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

1、Using a php script on apache server as the auth backend

Start with the configuration from NginxImapProxyExample. For detail information about different configuration parameters, see the NginxMailCoreModule page.


  1. Your Proxy server for pop/imap is running on 192.168.1.1
  2. You have 2 backend pop/imap servers: 192.168.1.22 and 192.168.1.33
  3. You have a webserver that you will use for the authentication and redirection logic 192.168.1.44.
  4. The authentication script is /mail/auth.php

本日志由 flyinweb 于 2012-01-12 11:44:05 发表到 技术文摘 中,目前已经被浏览 235 次,评论 0 次;

作者添加了以下标签: Reverse Proxy

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

本专题主题收集PHP编译过程中的错误及其解决方案。
1、编译php出错
/php-5.3.2/ext/fileinfo/libmagic/apprentice.c:147:internal compiler error:Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible,so it is likely a hardware or OS problem.
make:*** [ext/fileinfo/libmagic/apprentice.lo] Error 1
解决方法:内存大于1G即可,这是php5.3.2的一个bug
--------------------------------------------------------------------
2、重新构造configure文件出错
./buildconf --force
Forcing buildconf
buildconf:checking installation…
buildconf:autoconf version 2.59 (ok)
buildconf:Your version of autoconf likely contains buggy cache code.
Running vcsclean for you.
To avoid this,install autoconf-2.13.
Can't figure out your VCS, not cleaning.
解决方法:编译安装autoconf-2.13
再将autoconf-2.13的auotconf文件至/usr/local/autoconf

本日志由 flyinweb 于 2012-01-11 15:48:36 发表到 技术文摘 中,目前已经被浏览 172 次,评论 0 次;

作者添加了以下标签: PHP compile errors

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

一、http_load

程序非常小,解压后也不到100K

http_load以并行复用的方式运行,用以测试web服务器的吞吐量与负载。但是它不同于大多数压力测试工具,它可以以一个单一的进程运行,一般不会把客户机搞死。还可以测试HTTPS类的网站请求。

下载地址:http://soft.vpser.net/test/http_load/http_load-12mar2006.tar.gz
安装很简单
#tar zxvf http_load-12mar2006.tar.gz
#cd http_load-12mar2006
#make && make install

本日志由 flyinweb 于 2011-12-09 11:59:25 发表到 技术文摘 中,目前已经被浏览 222 次,评论 0 次;

作者添加了以下标签: http_loadwebbenchabSiegeWeb服务器性能/压力测试工具

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

一、什么是CC攻击:利用大量代理服务器对目标计算机发起大量连接,导致目标服务器资源枯竭造成拒绝服务。

    1、攻击原理

    CC主要是用来攻击页面的。大家都有这样的经历,就是在访问论坛时,如果这个论坛比较大,访问的人比较多,打开页面的速度会比较慢,对不?!一般来说,访问的人越多,论坛的页面越多,数据库就越大,被访问的频率也越高,占用的系统资源也就相当可观,现在知道为什么很多空间服务商都说大家不要上传论坛,聊天室等东西了吧。
一个静态页面不需要服务器多少资源,甚至可以说直接从内存中读出来发给你就可以了,但是论坛就不一样了,我看一个帖子,系统需要到数据库中判断我是否有读读帖子的权限,如果有,就读出帖子里面的内容,显示出来——这里至少访问了2次数据库,如果数据库的体积有200MB大小,系统很可能就要在这200MB大小的数据空间搜索一遍,这需要多少的CPU资源和时间?如果我是查找一个关键字,那么时间更加可观,因为前面的搜索可以限定在一个很小的范围内,比如用户权限只查用户表,帖子内容只查帖子表,而且查到就可以马上停止查询,而搜索肯定会对所有的数据进行一次判断,消耗的时间是相当的大。

本日志由 flyinweb 于 2011-12-07 17:05:35 发表到 技术文摘 中,目前已经被浏览 173 次,评论 0 次;

作者添加了以下标签: CC Attack

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

Of the various applications for creating bootable Windows or Linux drives, RMPrepUSB offers some unique features which may be appealing to many users. Advanced users can set specific parameters for the drive if necessary. New and inexperienced users can easily use this application as well. Unlike other similar applications RMPrepUSB has additional features that stand out. There are options for USB formatting in several file systems such as FAT16, FAT32 and NTFS formats. You are able to run a USB speed test, size/speed test, install Grub4dos, SYSLINUX, and even create AXT2 FS on any USB drive. This is much more convenient than creating bootable disks on CD or DVD, as pen drives are much easier to keep track of and less prone to damage.

This application is completely free with no catch and you don’t end up with a dozen different toolbars in your browsers or applications that you don’t want. The download is free of advertizing and so is the installation. You get a quick download in a .zip file and then simply double-click the .exe file to start the installation. This application does not open automatically after installation, but does offer a desktop icon for easy access. You can download RMPrepUSB from this link: http://www.rmprepusb.tk/

本日志由 flyinweb 于 2011-11-30 09:56:25 发表到 技术文摘 中,目前已经被浏览 243 次,评论 0 次;

作者添加了以下标签: bootable USB devicebootable USB flash driveRMPrepUSB

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

  1. 序言

懒,是一个优点,有些时候还是要学一学才能会了的。

—— 柴锋(1979- )



我的这些文字是从这几年来的 PuTTY 使用经验中慢慢得来的,也不仅仅是介绍 PuTTY,还包括了一些相关的软件,比如:优秀的 FTP 工具 FileZilla、功能强大的 SFTP 客户端 WinSCP。

杂七杂八的乱说了一些,这里把大致内容罗列如下:

  • 最简单的使用,登录 SSH 主机
  • 中文乱码的处理
  • PuTTY 常用配置的说明
    • 复制、粘贴
    • 保存会话
    • 注销
    • 自动登录用户名
    • 自动设置环境变量
    • 设置代理服务器
    • 自动执行命令
    • 备份、删除 PuTTY 的设置
  • PuTTY 的 X11 转发
  • 如何用 PuTTY 建立 SSH 隧道
  • 如何用 PuTTY 建立反向的 SSH 隧道,像个特洛伊木马一样突破防火墙
  • 把 PuTTY 作为一个安全的代理服务器
    • 安全的上网不被嗅探
    • 避免 MSN 等聊天工具被监听
  • 怎样用 PSCP、PSFTP 安全的传输文件
    • 功能强大的 SFTP 客户端 WinSCP
  • 用 PuTTYgen 生成密钥,登录 SSH 主机不再需要口令
  • Pagent 代理密钥,每次开机只需要输入一次密钥口令
  • Plink 简单而又迅速的执行 SSH 主机上的程序
  • 常见问题

本日志由 flyinweb 于 2011-09-29 10:11:40 发表到 技术文摘 中,目前已经被浏览 268 次,评论 0 次;

作者添加了以下标签: PuTTY tutorialPuTTY

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

本文的受众

如果你遇到了以下问题,那么你应该阅读这篇文章

  1. 我听说过这种技术,我对它很感兴趣
  2. 我想在家里访问我在公司的机器(写程序,查数据,下电影)。
  3. 公司为了防止我们用XX软件封锁了它的端口或者服务器地址。
  4. 公司不让我们上XX网站,限制了网址甚至IP。
  5. 公司不让我们看关于XX的信息,甚至花血本买了XX设备,能够对内容进行过滤。一看XX内容,链接就中断了。
  6. 我爸是搞电脑的,他在家里的路由器上动了手脚,我不能看XXX了。

带着这些问题,我们先从什么是ssh隧道开始。

本日志由 flyinweb 于 2011-09-29 09:30:54 发表到 技术文摘 中,目前已经被浏览 381 次,评论 0 次;

作者添加了以下标签: SSH tunnel

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

1201/15