2010年12月13日

[转] putty 使用密钥登陆 OpenSSH

摘要: [转] putty 使用密钥登陆 OpenSSH2009年08月17日 星期一 09:07 putty使用密钥登陆OpenSSH 在Windows管理Linux服务器时,常使用putty登陆ssh进行远程管理。默认登陆验证方式为密码认证,该方式虽然简单,但每次登陆都要输入一长串的密码,相当麻烦。而且,如果万一把root允许登陆打开,还有可能被强力破解,导致严重的后果。 所以,通常建议用密钥登陆验证代替密码方式,即简单,又可靠。 一、为什么建议使用密钥登陆 通常现在的Linux发行版都使用OpenSSH代替telnet、rsh等明文传输的终端服务。 以红旗 DC Server 5.0为例: 引用阅读全文

posted @ 2010-12-13 15:24 qufo 阅读(102) 评论(0) 编辑

2010年5月11日

李维已死,有事烧纸

今天 google 一下 李维老师有关 package 的资料,发现google复位了。

 

无语,我骂了一句法克之后,转而使用 bing .能找到李维,但已是一些小丑的页面,大师的页面一个也没有了。

 

只好惊呼,李维已死,有事烧纸。 

posted @ 2010-05-11 16:03 qufo 阅读(14) 评论(0) 编辑

2010年4月12日

一个视图引发的血案

今天阳光不是很明媚,但也跟往常一样。

 

中午11点左右的时候,陆续有人打电话过来说数据库访问非常慢,慢到受不了,当时计划中午重启一下,于是,在中午吃完饭后就重启了一下。

 

没想到,重启一下之后数据库访问更慢了,服务器的数据库服务进程占用CPU 50%(双线程CPU) 。

 

一个简单的 select ,半天才出来数据,随便往界面一点,好了,程序不影响了。

 

 

查。

 

查。

 

查。

 

然后,上班了,领导下来批评来了。

 

想想算了,备份数据,准备重做吧,又快又方便 。

 

于是,开始备份,然后一边看看备份进程一边反复思考到底怎么回事。

 

看到备份视图的时候一直过不去。

 

一个大胆的思想跳进脑海。

 

一翻查找,找出惹祸的那个视图,直接删除之。

 

 

呼。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

 

 

呼。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

 

 

整个世界安静我。

 

 

 

可是,为什么呢?一个视图,又没人用这个视图查询,怎么会把服务器锁死呢?我已经把所有的连接全部中断掉了,一旦重启,服务器进程就占50%,然后客户端慢到不行。

 

为什么?

 

为什么?

 

 

posted @ 2010-04-12 14:59 qufo 阅读(88) 评论(0) 编辑

2009年12月17日

破一个行业ERP的感想

今天闲来无事,找来破一破。

 

这个是一个行业性质的ERP软件,有授权码验证,客户机数量限定,以及使用时间限定,被一一破解。

 

授权码存在明显的绕过bug.客户机数量同样被明文标注在文件中。使用时间也是标注在文件中,明文的。

 

过程就不细说。

 

感觉这个ERP的作者并不是真的不让用,而是把真正的精力花在做好软件上面,这一点值得敬佩,把大把精力花在加密上面没有任何益处 ,好的东西大家都懂得。

 

 

谢谢此ERP的作者。虽然我把他破了。

posted @ 2009-12-17 23:55 qufo 阅读(84) 评论(2) 编辑

2009年8月26日

Practical Ext JS Projects with Gears中关于Gears描述。

去找了一本 Practical Ext JS Projects with Gears 来看了一下。立刻翻到关于Gears的那一章,仔细一看,发现如下:

 

LocalServer
The LocalServer component of Gears enables you to cache and serve the resources that go
into rendering a web page from a local cache. This may not sound too exciting at first. In fact,
your initial thought may be, “Browsers already have caches, so what’s the big deal?”
The big deal, my friend, is that this cache is under your programmatic control. You can tell
it what resources to cache and serve, and when. In other words, you can take an application
“offline,” assuming all its resources are in the cache, meaning a connection to the server is no
longer required.
There is obvious potential in terms of performance too, although interestingly, that’s a
secondary concern at best. It’s that ability to go offline and still have an application work that
LocalServer is there to address.
The applications in this book won’t be using LocalServer, so I won’t go into anymore
detail on it here. This is, after all, a book on Ext JS and not Gears! Go to http://gears.google.
com to learn more if LocalServer is something that interests you.

 

 

最后一段雷死我了,我找错了地方?

posted @ 2009-08-26 22:08 qufo 阅读(90) 评论(0) 编辑

2009年8月25日

七七前一天,搞定 PHP5 + Oracle 8.1.7

摘要: 被 PHP5 + Oracle 8.1.7 搞死了,先是 oci_connect 连不上,竟然也不报错.我一路跟踪才发现 oci_connect 连不了.然后到服务器上看,果然,apache连Oracle有错.照如下步骤解决.1.到 http://download.oracle.com/otn/nt/instantclient/10204/instantclient-basic-win32-10....阅读全文

posted @ 2009-08-25 16:34 qufo 阅读(57) 评论(1) 编辑

2009年2月1日

去掉PowerDesigner 15 在 Visual Studio 2008里的不兼容。

posted @ 2009-02-01 15:32 qufo 阅读(6067) 评论(10) 编辑

2009年1月24日

回家

posted @ 2009-01-24 09:44 qufo 阅读(8) 评论(0) 编辑

2008年10月30日

庆祝自己通过驾驶员考试

posted @ 2008-10-30 16:36 qufo 阅读(18) 评论(0) 编辑

2008年8月8日

2008.08.08.一个有记住意义的时刻。

posted @ 2008-08-08 12:45 qufo 阅读(18) 评论(0) 编辑

导航

<2012年2月>
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910

公告

昵称:qufo
园龄:8年
粉丝:1
关注:0

搜索

 
 

常用链接

我的标签

随笔分类

随笔档案

文章分类

相册

最新评论

阅读排行榜

评论排行榜

推荐排行榜