Jeffrey's Blog

nginx增加JSP支持

@ 阅读全文 | 2010/07/28 06:49pm | Category: 电脑网络 | 5 views  
Tags: ,

nginx及jdk安装搜索本站相关安装说明, 这里只记录增加JSP支持的配置
1. nginx.conf中增加 include proxy.conf;
# proxy.conf内容如下
# cat proxy.conf
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
Continue Reading ...

我的vim配置文件

@ 阅读全文 | 2010/06/18 11:35am | Category: 电脑网络 | 33 views  

” File: /etc/vimrc
” Date: 2010-06-18
” Author: Jeffrey
” NOTE: 自用vim配置文件
set nocompatible “非兼容模式
syntax on ” 开启语法高亮
set ruler “在编辑状态栏显示所在行列信息
set showmatch “显示匹配的括号
” set ignorecase “大小写无关匹配
set noignorecase “大小写严格匹配
set Continue Reading ...

MLdonkey安装使用

@ 阅读全文 | 2010/04/30 11:03am | Category: 电脑网络 | 22 views  

软件主页 http://mldonkey.sourceforge.net/
#安装 MLdonkey
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms

# vi /etc/yum.repos.d/atrpms.repo
[atrpms]
name=CentOS-$releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=0

# yum –enablerepo=atrpms install mldonkey

/etc/init.d/mldonkey Continue Reading ...

linux下配置pptp 客户端

@ 阅读全文 | 2010/04/30 10:50am | Category: 电脑网络 | 15 views  

安装自带ppp / libpcap
安装pptp http://pptpclient.sourceforge.net/

命令行配置:
pptpsetup --create vpntovps --server vpn.zhangjianfeng.com --username jeffrey --password 123456 --encrypt

cat /etc/ppp/peers/vpntovps
pty "pptp vpn.zhangjianfeng.com --nolaunchpppd"
lock
noauth
nobsdcomp
nodeflate
name jeffrey
remotename vpntovps
ipparam vpntovps
require-mppe-128

cat Continue Reading ...

我所使用的chrome插件

@ 阅读全文 | 2010/04/22 11:55am | Category: 电脑网络 | 19 views  

Chrome下载: http://www.google.com/chrome
Chrome快捷键: http://www.google.com/support/chrome/bin/answer.py?answer=95743&topic=14661
User Data: C:\Users\jeffrey\AppData\Local\Google\Chrome\User Data , 建议在启动项加-user-data-dir=”x:\xxx\Google\Chrome\User Data”

FlagChrome

https://chrome.google.com/extensions/detail/jlfpkedlbbdkmmhehackbhdgcdpflmdo

显示网站的所在国家国旗/IP/PageRank/Alexa/whois… Continue Reading ...

查看进程的内存分配情况

@ 阅读全文 | 2010/03/29 06:06pm | Category: 电脑网络 | 72 views  
Tags:

cat /proc/$pid/smaps
也有专门的工具http://www.contrib.andrew.cmu.edu/%7Ebmaurer/memory/smem.pl
* 需要安装Linux::Smaps模块 perl -MCPAN -e ‘install Linux::Smaps’
效果如下(可以看到更多内存分析信息,如vmsize,rss细表如shared,调用的模块)
[root@web-mapx-bj-116-213-113-108 ~]# ./smem.pl 3857
VMSIZE: 69756 kb
RSS: 404 kb total
292 kb shared
48 kb private Continue Reading ...

特殊符号大全

@ 阅读全文 | 2010/02/21 03:11pm | Category: 电脑网络 | 41 views  

特殊符号
◐ ◑ △ ▲ ▽ ▼ ○ ● ◇ ◆ ♦ ◊ □ ■ ☆ ★ ▷ ▶ ◁ ◀ ► ◄ ♤ ♠ ♡ ♥ ♧ ♣ ☼ ☺ ☻ ☏ ☎ 〇 ◎ ⊙ ◈ ▣ ◘ ◙ ✪ ♢ ✙ ✚ ◤ ◥ ◣ ◢ ⊿ ▁ ▂ ▃ ▄ ▅ ▆ ▇ █
箭头符号: ↗ ↙ ↖ ↘ ↑ ↓ ↔ ↕ ↑ ↓ → ← ☜ ☞ « »
圆点圆圈:. ▪ • 。 º ☉♀♂・ ゚ ® © ⓛ ⓞ ⓥ ⓔ ㉿ ㈱ ㊣ ㊚ ㊛ ㊙ ℗ ㈜ ⊕Θ
横竖斜杠:▏‖ Continue Reading ...

ext3grep恢复ext3分区被误删除的文件

@ 阅读全文 | 2010/02/12 12:20pm | Category: 系统管理 | 38 views  

下载软件并安装 http://code.google.com/p/ext3grep/
umount 相关分区
ext3grep /dev/sdxx –ls –inode 2 #扫描所有Inode
ext3grep /dev/sdxx –ls –incode xxx #xxx为目标目录的inode号
ext3grep /dev/sdxx –restore-file dir/dir/filename Continue Reading ...

域名抢注相关知识

@ 阅读全文 | 2010/02/5 09:45am | Category: 系统管理 | 50 views  
Tags:

所谓抢注,简单地划分,有两种意义上的抢注:

  1、一个从未被注册过的域名的抢注。
  这种情况下,一般是域名的注册者预见到该域名潜在的价值,在其他人想到之前把该域名注册下来。此范围内包含一些对知名品牌,知名团体或个人的名称、知识产权等。

  2、对一个曾经被注册过的域名的抢注。
Continue Reading ...

解决Computer Browser服务启动后迅速停止

@ 阅读全文 | 2010/02/3 09:22pm | Category: 电脑网络 | 11 views  

win7环境下, Computer Browser服务启动后, 很快就停止了,把windows 的防火墙设置允许文件共享服务端口通过即可.

Log Name:      System
Source:        Service Control Manager
Date:          2010/2/3 1:37:55
Event ID:      7036
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      jeffrey-PC
Description:
Continue Reading ...

Page 1 of 6212345...Last »

京ICP备06038449号