摘要: 在centos上使用别名和是用密钥登录: vim /root/.ssh/config #输入下列内容 Host * User root #以root登录 ServerAliveInterval 60 #存活时间 #test1 Host q0 #登录的别名 HostName 10.10.10.1 #i 阅读全文
posted @ 2017-06-15 12:00 苏菲的世界 阅读(436) 评论(0) 推荐(0)
摘要: 解压时候出错: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now 网上搜索后: 有两个解决方法 1.用tar -zxvf xxxx.tar.g 阅读全文
posted @ 2017-01-11 11:28 苏菲的世界 阅读(398) 评论(0) 推荐(0)
摘要: 安装pip centos安装: yum install python-pip 安装: [root@VM_217_242_centos home]# pip install ngxtop #执行 /usr/lib/python2.6/site-packages/pip/_vendor/requests 阅读全文
posted @ 2017-01-11 11:23 苏菲的世界 阅读(420) 评论(0) 推荐(0)
摘要: 算是第一篇博客吧~哈哈哈 虽然说是为了完成作业,不过以后估计会常来分享。首先说一下下边这个程序的基本功能。毕竟是第一次写python程序还是有点小激动和满满的成就感的,下边这个程序: 1.输入不存在的用户,直接退出程序 2.尝试密码三次不对,退出and加入黑名单 3.下次在输入已经加入黑名单的用户名 阅读全文
posted @ 2016-12-08 17:52 苏菲的世界 阅读(833) 评论(0) 推荐(0)