netstat -anpo | grep "php-cgi" | wc -l
KBdancer 发表于 2015-06-17, 10:19 AM
» 阅读全文
KBdancer 发表于 2015-05-02, 3:32 PM
apt-spy -d unstable -a asia -t 5
系统会自动测试所有相关的源地址的下载速度,选择最快的作为更新用的源。apt-spy会修改原本的source.list文件,修改前会备份原本的文件,但是下次修改会覆盖上一次的备份,建议先手动备份一个到其他目录。
KBdancer 发表于 2015-05-02, 2:10 PM
kali linux更新时候报错,dpkg-deb: 子进程 粘贴 被信号(断开的管道) 终止了 导致无法继续安装。出现这个问题可以使用dpkg强制覆盖解决。找到安装包位置 cd /var/cache/apt/archives 之后强制安装 dpkg -i --force-overwrite xxx.deb即可。
KBdancer 发表于 2015-05-02, 2:05 PM
更新kali linux的时候报错,提示apt-get -f install修复,执行时出现the permission of the setuid helper is not correct错误。大概是说setuid helper的权限问题,找到文件夹的位置在 /usr/lib/dbus-1.0/dbus-daemon-launch-helper 查看权限为-rwxr-x--- 1 root dbus。谷歌之后发现正确的权限应该是-rwsr-xr-- 1 root dbus ,于是修改权限 执行 chmod u+s,a+r /usr/lib/dbus-1.0/dbus-daemon-launch-helper 之后执行apt-get -f install 问题解决。
KBdancer 发表于 2015-04-03, 10:14 AM
@media only screen and (max-width:300px){body{font-size:8.33333px}.viewport{max-width:300px}} @media only screen and (max-width:310px) and (min-width:300px){body{font-size:8.33333px}.viewport{max-width:310px}} @media only screen and (max-width:320px) and (min-width:310px){body{font-size:8.61111px}.viewport{max-width:320px}} @media only screen and (max-width:350px) and (min-width:320px){body{font-size:8.88889px}.viewport{max-width:350px}} @media only screen and (max-width:360px) and (min-width:350px){body{font-size:9.72222px}.viewport{max-width:360px}} @media only screen and (max-width:400px) and (min-width:360px){body{font-size:10px}.viewport{max-width:400px}} @media only screen and (max-width:470px) and (min-width:400px){body{font-size:11.11111px}.viewport{max-width:470px}} @media only screen and (max-width:480px) and (min-width:470px){body{font-size:13.05556px}.viewport{max-width:480px}} @media only screen and (max-width:540px) and (min-width:480px){body{font-size:13.33333px}.viewport{max-width:540px}} @media only screen and (max-width:560px) and (min-width:540px){body{font-size:15px}.viewport{max-width:560px}} @media only screen and (max-width:570px) and (min-width:560px){body{font-size:15.55556px}.viewport{max-width:570px}} @media only screen and (max-width:630px) and (min-width:570px){body{font-size:15.83333px}.viewport{max-width:630px}} @media only screen and (max-width:640px) and (min-width:630px){body{font-size:17.5px}.viewport{max-width:640px}} @media only screen and (max-width:710px) and (min-width:640px){body{font-size:17.77778px}.viewport{max-width:710px}} @media only screen and (max-width:720px) and (min-width:710px){body{font-size:19.72222px}.viewport{max-width:720px}} @media only screen and (min-width:720px){body{font-size:20px}.viewport{width:720px}}
KBdancer 发表于 2015-03-24, 9:07 AM
» 阅读全文
KBdancer 发表于 2015-03-17, 10:21 PM
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,figcaption,figure,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0} body,button,input,select,textarea{font:12px/1 Lucida Grande,'Microsoft YaHei',"Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif} h1{font-size:18px;font-weight:normal} h2{font-size:16px;font-weight:normal} h3{font-size:14px;font-weight:normal} h4,h5,h6{font-size:100%;font-weight:normal} address,cite,dfn,em,var{font-style:normal} code,kbd,pre,samp,tt{font-family:"Courier New",Courier,monospace} small{font-size:12px} ul,ol,li{list-style:none} a{text-decoration:none} abbr[title],acronym[title]{border-bottom:1px dotted;cursor:help} q:before,q:after{content:''} legend{color:#000} fieldset,img{border:0} table{border-collapse:collapse;border-spacing:0} hr{border:0;height:1px} *{-ms-word-break:break-all;word-break:break-all;-ms-word-wrap:break-word;word-wrap:break-word;-webkit-tap-highlight-color:rgba(0,0,0,0)}
KBdancer 发表于 2015-03-09, 12:38 AM
KBdancer 发表于 2015-03-04, 10:46 AM
事情是这样的,博主使用的台式机是10年左右的网吧机器,安装了kali 之后双屏幕显示一直都很正常。最近想把这台老爷机升级一下,于是拆除奔腾D双核换上Q8400的4核心,显卡也从8600GT换到9800GT,内存也加到4G,性能提升了不少。但是,新的问题出现了。之前一直用的8600GT安装完kali Linux之后一切都是正常的,所以一直都没有去安装驱动。现在升级到9800GT后,双显示器有一个一直显示都不正常,虽然分辨率设置的都是正确的,但是显示却是非常的模糊。于是博主决定按安装一下驱动。经过博主各种谷歌,终于解决这个问题,记录一下。唉,说多了都是马赛克啊。。。
» 阅读全文
KBdancer 发表于 2015-02-28, 1:49 PM
经过一番折腾,博主终于决定开始学python web了。是的,你没有看错,我们首先需要搭建一个Python web的环境。博主属于初学者菜鸟,刚开始我也不想去接触所谓的牛逼哄哄的框架,从基层做起------web.py。对,就是它,超级轻量级模块。博主使用的是Kali linux,所以这里以kali linux为例来介绍Python web环境的搭建方法。
» 阅读全文
KBdancer 发表于 2015-02-20, 8:03 PM
这几天过年也没啥可以写的,忙了一年了.该休息的还是要休息休息.技术啥的就不去研究了,过年几天回家走亲访友也是挺累的.大年三十的去堰塘钓钓鱼也是非常不错的.
戳阅读全文看看我大年三十的战绩吧.
» 阅读全文