pycurl包是用C编写的libcurl python接口,速度高于urllib。Libcurl 是一个支持FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE 和 LDAP的客户端URL传输库.libcurl也支持HTTPS认证,HTTP POST,...
分类:
编程语言 时间:
2014-07-03 09:21:22
阅读次数:
453
1. Enable rsh on macos. 1). os version (10.0) Enabling the "Allow remote login" option turns on telnet, rlogin (remote login), and rsh (remote shell) ...
分类:
其他好文 时间:
2014-07-03 00:28:18
阅读次数:
436
今天碰到一个比较坑爹的问题,在centos上用yum安装编译环境,运行:
yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel
结果导致编译cocos2d-x出现错误:
cc1plus: error: unrecognized command line option "-std=c++11"...
分类:
其他好文 时间:
2014-07-02 08:23:01
阅读次数:
290
环境
CentOS
Mysql 5.1
前提
安装了EPEL,具体安装步骤请参照
http://blog.csdn.net/robinsonmhj/article/details/36184863
机器列表
机器IP
机器名
192.168.0.135
db1
192.168.0.136
monitor
19...
分类:
数据库 时间:
2014-07-02 07:25:58
阅读次数:
398
每次使用route-n命令查看路由的时候,总是能看见很烦人的169.254.0.0这个静态路由的存在,看着烦啊,有什么办法不让它显示呢?方法很简单[root@naomi~]#vi/etc/sysconfig/networkNETWORKING=yes
HOSTNAME=heimao
NOZEROCONF=yesok,现在重启网络再看看应该不会再出现这个讨厌的..
分类:
其他好文 时间:
2014-07-02 06:40:38
阅读次数:
289
NFS(NetworkFileSystem)isbasicallydevelopedforsharingoffilesandfoldersbetweenLinux/UnixsystemsbySunMicrosystemsin1980.
Itallowsyoutomountyourlocalfilesystemsoveranetworkand
remotehoststointeractwiththemastheyaremountedlocallyonthe
samesystem.WiththehelpofNFS..
分类:
Web程序 时间:
2014-07-02 06:15:20
阅读次数:
306
NFS(NetworkFileSystem)isbasicallydevelopedforsharingoffilesandfoldersbetweenLinux/UnixsystemsbySunMicrosystemsin1980.
Itallowsyoutomountyourlocalfilesystemsoveranetworkand
remotehoststointeractwiththemastheyaremountedlocallyonthe
samesystem.WiththehelpofNFS..
分类:
Web程序 时间:
2014-07-02 06:05:36
阅读次数:
277
在Linux上工作,ssh是必须要了解的技术方法。它可以建立起多台主机之间的安全的加密传输,以进行远程的访问、操控、传输数据。ssh是什么?SSH為Secure Shell的縮寫。為建立在应用层和传输层基础上的安全协议。传统的网络服务程序,如FTP、POP和Telnet其本质上都是不安全的;因为它们...
分类:
其他好文 时间:
2014-07-01 17:29:55
阅读次数:
235
使用u盘安装centos解决,当前镜像过大的问题...
分类:
其他好文 时间:
2014-07-01 15:53:55
阅读次数:
213
#!/usr/bin/pythonimporttelnetlibimportsockettry:tn=telnetlib.Telnet(‘10.67.21.29‘,60000)exceptsocket.error,e:printeexit(1)tn.set_debuglevel(1)tn.write(‘quit‘+‘\n‘)print‘ok‘socket.error为错误类型e为对象
分类:
编程语言 时间:
2014-07-01 15:33:07
阅读次数:
215