- VPS被植入用于攻击其它机器的DDOS代码
- Fri, 23 Dec 2011 02:19:15 +0800
- 上星期Linode的流量警报不断响起,全月200G的流量已经用了180G。我疑惑呢,不放什么站啊,平时一个月都只用几G的流量,这是怎么回事。于是查看Linode的数据图表,发现都是一段时间一段时间的高网络流量。初始怀疑是搜索引挚可能搜到了服务器内的一些MP3的文件,导致流量大增。遂删除MP3及其它大文件(因为发现瞬时输出有29Mb/s)。第二天,警报仍然,流量升到192G,还有8G......一看,哇靠,才月中啊,这样下去,我这个月肯定要支付超额的流量费......再装上awstats查看是哪个文件流量那么高,第三天,看awstats,无文件记录......此时仍没想到被植入。此时196G......还有4G流量,毛的,才20号啊......想想看哪个文件刚好是在流量高的时候被读取,于是 find查找最近被读取的文件,发现可疑文件(正是被植入的用于攻击其它机器的程序)。至此明白了,马上down下来,留作分析,并rm之。现在好了,流量不那么变态地升了。4G可以够到我月底了,哈哈哈P.S: 正是dedecms的上传漏洞引发。现在,我正全力开发自己的Publishing Platform,准备把dede扔了
- Comments(0) | More »
- Be With You (1)
- Sat, 08 Oct 2011 01:53:12 +0800
- 我想,每天與你一起是快樂的。所以我願意也很想留下痕跡。然而不是總是愉悅的,那樣不真實。我每天不得不關注任何對你有所傷害的事情。今天你驀然地從床上坐起來,問我幾點了,我說1點未到。你繼續躺下。我記得你前兩天也有過這樣的,可到第二天卻完全不記得有這樣的事情。當下我正疑惑,為什麼你會這樣?是不是有何不對勁的地方?夜遊?白天工作太多了嗎? 我們去休息一下吧。我讓你快樂健康地生活,所以一直關注你的狀況。回想我自己睡覺,我從不知道你何時起來的----你起得比我早多了。
- Comments(0) | More »
- Lewphee.com is about to support HTML5 roundly.
- Tue, 04 Oct 2011 01:29:03 +0800
- Be aware of that HTML5 is the trend in next web technology, this site (lewphee.com) is about to support HTML5 roundly in the next 2 weeks. There are also some new UIs and other features will be released.Waiting 4 ur comments about these changes.
- Comments(0) | More »
- Linode's VPS Hosting
- Mon, 03 Oct 2011 06:33:20 +0800
- Strongly recommend Linode's VPS Hosting. It's powerful, stable and high performance-price ratio.If you want sign up at there, please use the following link:
- Comments(0) | More »
- Manage Multiple Projects In Subversion
- Sat, 09 Jul 2011 04:41:02 +0800
- Normally there are not only one project on our Subversion server, but, if you manage multiple projects with single repository, these projects will share the revision id in one.The solution is create a directory with start folder but create multiple repository, like following:svnserve -i -r /data/svn/repos1Then, create the projects,svnadmin create /data/svn/repos1/prj1svnadmin create /data/svn/repos1/prj2svnadmin create /data/svn/repos1/prj3svnadmin create /data/svn/repos1/prj4use this solution,that u must use the absolute path in your svn client:svn import prj1src svn://192.168.2.25/prj1
- Comments(0) | More »
- Loading system variables into Emacs
- Tue, 28 Jun 2011 04:41:17 +0800
- In order to compile program sources inside Emacs, i use Emacs's shell to do these.M-x shellBut, the original shell is so weak to do these, there was message 'command not found' when i run 'make' etc. However, i have installed them before.The reason is Emacs shell have not imported the variables of system's.(setenv "PATH" (concat "d:/emacs/bin;" (getenv "PATH")))It'll import all of them into Emacs.
- Comments(0) | More »
- Emacs Tips (1)
- Mon, 27 Jun 2011 23:09:03 +0800
- 1. Insert a C-style comment.[CODE style="lisp"](defun ccm()"insert a C-style comment at current position"(interactive)(insert "/*** Copyright(C)2011 Vencs corporation. All rights reserved.*/"))[/CODE]with this skill, can insert current date time like following:(insert (format-time-string "%Y/%m/%d"))To run above function, use M-x function.2. Cursor type[CODE type="lisp"](set-default `cursor-type `bar)[/CODE]
- Comments(0) | More »
- I make a difficult decide...
- Mon, 27 Jun 2011 02:49:17 +0800
- All comments will no longer link to commentor's page or mail for anti-spam.
- Comments(0) | More »
- Install Subversion on FreeBSD
- Sun, 26 Jun 2011 15:02:25 +0800
- It's necessary to install a source manage system to sort out my sources, so i choose Subversion.My enviroment is FreeBSD 8.2.[CODE type="shell"]cd /usr/ports/develop/subversionmake install clean[/CODE]Install completely.Now i need to configure it.1) Configure it run automaticallyadd the following to /etc/inetd.conf[CODE type="shell"]svn stream tcp nowait root /usr/local/bin/svnserve svnserve -i -r /data/svn/repos1[/CODE]add the following to /etc/rc.conf[CODE type="shell"]inetd_enable="YES"[/CODE]2) Create A Repository[CODE type="shell"]svnadmin create /data/svn/repos1[/CODE]We create a repository for store the projects..That's over, the installation guild end with here. Next, we can use Subversion to control the sources' version.
- Comments(0) | More »
- Configure Emacs on Windows
- Sun, 19 Jun 2011 19:47:45 +0800
- Enviroment: W7 x64First, we download the Emacs windows version from http://www.gnu.org/software/emacs/unzip the file to any folder u want, i unzip it to D: driver. The full path is D:\emacs-23.3The running configure file .emacs dosen't exist when u first run emacs. This file is locate in C:/[USERHOME]/AppData/RoamingIf you can't create file .emacs, see following or use file name _emacs.

OK, the .emacs(_emacs) file is created, the next is configure the running enviroment.1. Load another configure fileI do not like the default .emacs location, so i need load my own configure file from another path. The Emacs command load can do this. For example:(load "f:/conf/emacs.conf")2.My Emacs's options:;;Full scree after start-up(defun jbr-init ()"Called from term-setup-hook after the defaultterminal setup isdone or directly from startup if term-setup-hook notused. The value0xF030 is the command for maximizing a window."(interactive)(w32-send-sys-command #xf030);; (ecb-redraw-layout);; (calendar));;(setq term-setup-hook 'jbr-init)(setq window-setup-hook 'jbr-init);;no default guide page.(setq inhibit-splash-screen t);;disabling auto-save and backups(setq backup-inhibited t)(setq auto-save-default nil);;line number(global-linum-mode 1);;no toolbar and menubar(tool-bar-mode -1)(menu-bar-mode -1)3.Add the shortcut to the menu, like "Edit with..."Create A .reg file, containsWindows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell\emacs]@="&Edit with Emacs"[HKEY_CLASSES_ROOT\*\shell\emacs\command]@="D:\\emacs-23.3\\bin\\runemacs.exe \"%1\""then import the regedit file. - Comments(0) | More »
- Tags
- Apache Emacs FreeBSD GODADDY MySQL Newage Nginx Perl Subversion UNIX VPS&虚拟主机 WEB WINDOWS 单曲 数据库 服务器 网络 读书 随写 音乐
- Recent Post
- Recent Comments
-
- Oolong: I'm adding your blog rss feed so that i can see your new posts. Continue the good work!
- best alarm clocks: I feel this is one of the most significant info for me. And i am happy studying your article. But want to commentary on few general things, The website taste is great, the articles is actually nice : D. Good
- here it is: I just added this feed to my bookmarks. I truly enjoy reading your posts. Thanks!
- slot machines: Can't wait to read more of your articles in the future. Go for it!.
- sennheiser headphones: You should take part in a contest for one of the best blogs on the web. I will recommend this site!
- Treasure Hunters Roadshow Scam: My brother advised I would possibly like this blog site. He was completely perfect. This publish truly manufactured my day. You can not take into account simply how so a great deal time I had put in for this info!
- Saul Barnt: I additionally obtained a website like this, nevertheless my articles are not too great as your own. keep up the truly amazing work and ideally we'll get to see much more content articles like this. Thanks.
- Repair Pool Plaster: I’m having a small annoyance. I'm unable to subscribe to your rss feed for some reason. I’m using google reader by the way.
- lewphee: thanks for remind
- Ava Shartrand: you're sooo talented on paper. Lord is truly utilizing you in tremendous methods. You're doing a excellent work! It was an excellent blog!
- Links
- Copyright Notes
- You can reship all of these articles without permission but MUST mark the original link in your post. Please contact with me() if u have advice or other arrangements.





