博客首页
注册
建议与交流
排行榜
加入友情链接
推荐
投诉
搜索:
帮助
zhangzhu1984的博客
欢迎光临!
zhangzhu1984.cublog.cn
管理博客
发表文章
留言
收藏夹
· CU好友
博客圈
音乐
相册
文章
· 技术-Linux
· 技术-Windows
· 技术-系统管理
}
· 技术-备份
· 技术-网络管理
· 技术-安全管理
· 生活
}
· 生活-娱乐
· 情感
首页
关于作者
||
<<
>>
||
我的分类
最新文章
·
只有root可以su
·
[备份]debian 的/etc/f..
·
页面自动刷新
·
python cgi .python-eggs
·
Smolt and Func
最新留言
·
yuhuohu
邀请加入红太阳博客圈http..
最新评论
·
引号位置不同啦……
效..
·
CentOS5.2下面双击rpm安装..
·
f6下rpm -ivh一次搞定,兄..
·
少写了个文件 要把ISOLINU..
·
葬爱
最新收藏
·
MATRIX GROUP
·
将来的某一天
·
yum经典软件收集及加速yu..
·
在 Linux 上构建网络路由..
·
guozheng2003
统计信息
·
总访问量:43863
·
文章个数:64
·
评论条数:9
·
留言条数:1
·
网友推荐:
只有root可以su
<DIV>搞不懂,今天才发现。。。。。。</DIV> <DIV> </DIV> <DIV>google到一篇,解决问题;</DIV> <DIV><STRONG>su: cannot set groups: Operation not permitted </STRONG></DIV> <DIV><STRONG></STRONG> </DIV> <DIV><FONT color=#ff0000 size=5>这个错误是因为/bin/su文档被取消了s位,所以解决方法是 chmod a+s /bin/su</FONT><BR></DIV>
查看全文
发表于:2008-10-06 ┆
阅读(27)
┆
评论(0)
[备份]debian 的/etc/fstab文件
<table style="border-collapse: collapse;" bgcolor="#f1f1f1" border="1" bordercolor="#999999" cellpadding="0" cellspacing="0" width="95%"><tbody><tr><td><p style="margin: 5px; line-height: 150%;"><code><span style="color: rgb(0, 0, 0);">oracle@debian<span style="color: rgb(0, 0, 204);">:</span><span style="color: rgb(0, 0, 204);">~</span><span style="color: rgb(0, 0, 204);">$</span> cat <span style="color: rgb(0, 0, 204);">/</span>etc<span style="color: rgb(0, 0, 204);">/</span>fstab<br> <span style="color: rgb(0, 0, 204);">#</span> <span style="color: rgb(0, 0, 204);">/</span>etc<span style="color: rgb(0, 0, 204);">/</span>fstab<span style="color: rgb(0, 0, 204);">:</span> <span style="color: rgb(0, 0, 255);">static</span> <span style="color: rgb(255, 0, 0);">file</span> <span style="color: rgb(255, 0, 0);">system</span> information<span style="color: rgb(0, 0, 204);">.</span><br> <span style="color: rgb(0, 0, 204);">#</span><br> <span style="color: rgb(0, 0, 204);">#<……
查看全文
发表于:2008-09-18 ┆
阅读(42)
┆
评论(0)
页面自动刷新
<DIV> <P><FONT color=#0000ff>在 <body> 与 </body> 之间加入:</FONT></P> <P><FONT color=#0000ff size=5><STRONG><META http-equiv=refresh content="10;url=../index.htm"></STRONG></FONT> </P> <P> </P> <P> </P> <P> </P> <P><FONT color=#0000ff size=5><STRONG><META http-equiv=refresh content=10";url=../index.htm"></STRONG></FONT></P> <P> </P> <P><STRONG><FONT color=#0000ff size=5>害我花一小时。。。。看看2个有什么差别!</FONT></STRONG> </P></DIV> <DIV></DIV>
查看全文
发表于:2008-08-25 ┆
阅读(564)
┆
评论(1)
python cgi .python-eggs
<DIV>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] The Python egg cache directory is currently set to:<BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] <BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] /sbin/.python-eggs<BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] <BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] Perhaps your account does not have write access to this directory? You can<BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] change the cache directory by setting the PYTHON_EGG_CACHE environment<BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] variable to point to an accessible directory.<BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] <BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] Premature end of script headers: alarm.py<BR>[Mon Aug 25 13:39:27 2008] [error] [client 25.30.1.19] File does not exist: /var/www/web/tianwang/table.css, referer: <A href="http://25.30.2.250/w……
查看全文
发表于:2008-08-25 ┆
阅读(102)
┆
评论(0)
Smolt and Func
<table style="border-collapse: collapse;" bgcolor="#f1f1f1" border="1" bordercolor="#999999" cellpadding="0" cellspacing="0" width="95%"><tbody><tr><td><p style="margin: 5px; line-height: 150%; font-family: 宋体;"><font size="4"> Smolt and <br></font></p><h1 id="Func:FedoraUnifiedNetworkController"><font style="font-weight: normal; font-family: 宋体;" size="4">Func: Fedora Unified Network Controller</font><a title="Link to this section" class="anchor" href="https://fedorahosted.org/func/wiki#Func:FedoraUnifiedNetworkController"><br></a></h1><br></td></tr></tbody></table> Smolt是一款常用硬件剖析工具, 现在已经收集超过7万9000个硬件配置信息. 所有数据都可以在Smolt网站看到. 这些配置信息将用于促进厂商合作, 改进用户的硬件使用体验, 评测系统和更好的报告工具, 并为常用硬件提高开发和质量检测优先级<br><br> 当前状态: <a href="http://smolt.fedoraproject.org/" target="_blank">http://smolt.fedoraproject.org/</a><br> 项目主页: <a href="https://hosted.fedoraproject.org/projects/smolt/" tar……
查看全文
发表于:2008-08-11 ┆
阅读(115)
┆
评论(0)
安装MySQLdb-python 报错。
<DIV align=left>~<BR>"/etc/ld.so.conf" 3L, 80C written</DIV> <DIV align=left> File "MySQLdb/__init__.py", line 19, in ?<BR> import _mysql<BR> File "build/bdist.linux-i686/egg/_mysql.py", line 7, in ?<BR> File "build/bdist.linux-i686/egg/_mysql.py", line 6, in __bootstrap__<BR>ImportError: libmysqlclient.so.15: cannot open shared object file: No such file or directory</DIV> <DIV align=left> </DIV> <DIV align=left> </DIV> <DIV align=left>很是奇怪,另外一个RHEL4.6 安装上了就没事。。。</DIV> <DIV align=left> </DIV> <DIV align=left>搞了1小时,突然觉悟,libmysqlclient.so.15没找到。</DIV> <DIV align=left>#updatedb</DIV> <DIV align=left>#locate libmysqlclient.so.15</DIV> <DIV align=left>发现在</DIV> <DIV align=left>/usr/local/mysql/lib/mysql.bak/libmysqlclient.so.15.0.0<BR>/usr/local/mysql/lib/mysql.bak/libmysqlclient.so.15<BR>/usr/local/mysql/lib/mysql/libmysqlclient.so.15.0.0<BR>/usr/local/mysql/lib/mysql/libmysqlclient.so.15</DIV>……
查看全文
发表于:2008-08-08 ┆
阅读(137)
┆
评论(0)
[转]用ndiswrapper驱动无线网卡
查看全文
发表于:2008-08-04 ┆
阅读(150)
┆
评论(0)
标签:使用DenyHosts阻止SSH暴力破解
<DIV>最好的阻止SSH暴力破解的方法(DenyHosts)</DIV> <DIV><A href="http://linux.ccidnet.com/art/302/20080630/1492079_1.html">http://linux.ccidnet.com/art/302/20080630/1492079_1.html</A></DIV> <DIV> </DIV> <DIV> </DIV> <DIV>防御暴力破解SSH攻击 </DIV> <DIV><A href="http://coolerfeng.blog.51cto.com/133059/50947">http://coolerfeng.blog.51cto.com/133059/50947</A></DIV> <DIV> </DIV> <DIV> </DIV>
查看全文
发表于:2008-07-24 ┆
阅读(133)
┆
评论(0)
sourceforge访问不了,试试免费vpn软件Hotspot Shield Launch
<DIV><A href="http://www.sourceforge.net">www.sourceforge.net</A>经常访问不了。。</DIV> <DIV>之前一直去各大代理网站找代理,现在好啦,发现一个免费的VPN软件,安装好了,运行它,出现一个网页,点击链接即可。。速度还好。</DIV> <DIV>支持win2000,xp</DIV> <DIV> </DIV> <DIV> </DIV> <DIV> <TABLE class=maintable> <TBODY> <TR id=status_top> <TD class=pad>State:</TD> <TD class=pad> <DIV id=status><FONT color=#30d524><B>Connected</B></FONT></DIV></TD></TR> <TR id=tun_ip_top> <TD class=pad>VPN IP Address:</TD> <TD class=pad> <DIV id=tun_ip><FONT color=blue><B>10.22.160.7</B></FONT></DIV></TD></TR> <TR id=server_ip_top> <TD class=pad>VPN Server Address:</TD> <TD class=pad> <DIV id=server_ip><FONT color=blue><B>74.85.13.23</B></FONT></DIV></TD></TR> <TR id=stats_top> <TD class=pad>Bytes In/Out:</TD> <TD class=pad> <DIV id=stats><FONT color=blue><B>469KB/269KB</B></FONT></DIV></TD></TR> <TR id=connected_since_top> <TD class=pad>Connected Since:</TD> <TD class=pad> <D……
查看全文
发表于:2008-07-16 ┆
阅读(291)
┆
评论(0)
python rrdtool modules
<DIV>import rrdtool</DIV> <DIV> </DIV> <DIV>rrdtool.create('sample.rrd','-s','600','-b','1216040637', 'DS:DS1:COUNTER:6000:0:100' ,'RRA:MAX:0.5:5:1000')</DIV> <DIV> </DIV> <DIV> </DIV> <DIV>都得在'' 里面。。。。。。。</DIV>
查看全文
发表于:2008-07-14 ┆
阅读(159)
┆
评论(0)
centos5 yum.repos.d
<DIV> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#dddddd cellSpacing=0 cellPadding=0 width=360 align=center border=1> <TBODY> <TR height=60> <TD align=middle width=60><IMG alt="" src="http://control.cublog.cn/fileicon/zip.gif" border=0></TD> <TD> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR height=20> <TD align=middle width=40>文件:</TD> <TD>Centos5_yum_conf.zip</TD></TR> <TR height=20> <TD align=middle width=40>大小:</TD> <TD>1KB</TD></TR> <TR height=20> <TD align=middle width=40>下载:</TD> <TD><A href="http://blogimg.chinaunix.net/blog/upfile2/080713145623.zip">下载</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>备份下。</DIV> <DIV> </DIV> <DIV>去掉</DIV> <DIV>baseurl前面的#</DIV> <DIV></DIV> <DIV></DIV>
查看全文
发表于:2008-07-13 ┆
阅读(170)
┆
评论(0)
rrdtool需安装cairo,cairo-devel,pango-devel
<DIV>RHEL5,centos5安装rrdtool需安装cairo,cairo-devel,pango-devel</DIV> <DIV> </DIV> <DIV> </DIV> <DIV>直接rpm即可</DIV> <DIV></DIV>
查看全文
发表于:2008-07-13 ┆
阅读(168)
┆
评论(0)
centos安装mysql-python1.2.2
<DIV># mysql-python 1.2.2<BR># <P>编辑site.cfg<BR>修改mysql_config绝对路径<BR>安全线程->false<BR>#<BR></P> <P> 1 [options]<BR> 2 # embedded: link against the embedded server library<BR> 3 # threadsafe: use the threadsafe client<BR> 4 # static: link against a static library (probably required for embedded)<BR> 5 <BR> 6 embedded = False<BR> 7 #threadsafe = True <BR> 8 threadsafe = False (修改为False)<BR> 9 static = False<BR> 10 <BR> 11 # The path to mysql_config.<BR> 12 # Only use this if mysql_config is not on your PATH, or you have some weird<BR> 13 # setup that requires it.<BR> 14 mysql_config = /usr/local/mysql/bin/mysql_config (指定)<BR> 15 <BR> 16 # The Windows registry key for MySQL.<BR> 17 # This has to be set for Windows builds to work.<BR> 18 # Only change this if you have a different version.<BR> 19 registry_key = SOFTWARE\MySQL AB\MySQL Server 5.0</P> ……
查看全文
发表于:2008-07-11 ┆
阅读(170)
┆
评论(0)
lftp关闭passive模式
<DIV> <P> </P> <P>[root@uspslot1 ftp]# cat put_file.sh <BR>#!/bin/bash</P> <P>lftp 125.71.201.3 <<EOF<BR>open -uharry:hotgril##521<BR><FONT color=#0000ff size=6><STRONG>set passive-mode off</STRONG></FONT><BR>put log_105<BR>EOF</P></DIV>
查看全文
发表于:2008-06-18 ┆
阅读(180)
┆
评论(0)
开始学习python!
开始学习python! <DIV>希望大家监督~<IMG src="http://www.cublog.cn/images/face/012.gif"></DIV>
查看全文
发表于:2008-06-11 ┆
阅读(214)
┆
评论(0)
BS下自己,gentoo声卡静音,居然没想到。。浪费一堆时间
BS下自己,gentoo声卡静音,居然没想到。。浪费一堆时间<BR>宝贵资源:<BR>多看gentoo linux 文档<BR>http://www.gentoo.org/doc/zh_cn/alsa-guide.xml<BR>
查看全文
发表于:2008-05-26 ┆
阅读(183)
┆
评论(0)
哇,又升仙啦~
<DIV>哇,又升仙啦~</DIV> <DIV> </DIV>
查看全文
发表于:2008-05-26 ┆
阅读(351)
┆
评论(0)
nVidia Corporation MCP51 High Definition Audio
nVidia Corporation MCP51 High Definition Audio <BR>gentoo编译内核里安装此声卡老不成功,最后参考下面的帖子,手动下载最新驱动安装上即可!<BR><BR>http://forums.gentoo.org/viewtopic-t-531478.html
查看全文
发表于:2008-05-25 ┆
阅读(265)
┆
评论(0)
【转】John the Ripper
<DIV> <P class=MsoNormal><SPAN style="COLOR: black; FONT-FAMILY: 宋体">避免选择不良口令的一种方法就是您自己尝试攻破口令,迫使您已经攻破其口令的用户修改他们的口令。</SPAN><SPAN lang=EN-US style="COLOR: black">John the Ripper</SPAN><SPAN style="COLOR: black; FONT-FAMILY: 宋体">是由</SPAN><SPAN lang=EN-US style="COLOR: black">Solar Designer</SPAN><SPAN style="COLOR: black; FONT-FAMILY: 宋体">提供的一种高级工具,它在一种工具里实现了各种破解口令的算法。它代替了老程序</SPAN><B><SPAN lang=EN-US style="COLOR: black">crack</SPAN></B><SPAN style="COLOR: black; FONT-FAMILY: 宋体">,后者在本书的上一版中介绍过。</SPAN><SPAN lang=EN-US style="COLOR: black"><?XML:NAMESPACE PREFIX = O /><O:P></O:P></SPAN></P> <P class=MsoNormal><SPAN style="COLOR: black; FONT-FAMILY: 宋体; LETTER-SPACING: 0.1pt">即使绝大多数系统使用隐蔽口令文件把加密后的口令隐藏起来避免公众查看,验证用户的口令是否能抵抗得住破解仍然是明智的。了解用户的口令会很有用,因为人们往往反复使用相同的口令。一个口令可能提供对另一个系统的访问权,……
查看全文
发表于:2008-05-19 ┆
阅读(196)
┆
评论(0)
Linux挂载windows共享目录
<DIV>RHEL5,centos5的smbmount命令没了,已用mount.cifs代替</DIV> <DIV> </DIV> <DIV>mount.cifs //192.168.1.1/Kernel /mnt -o user=domain/tom%tom<BR></DIV><FONT size=2>更多man mount.cifs</FONT>
查看全文
发表于:2008-05-15 ┆
阅读(268)
┆
评论(0)