第一步:下载安装cx_Oracle下载地址:http://sourceforge.net/projects/cx-oracle/files/5.1.2/,下载cx_Oracle的rmp安装文件,注意下载版本最好和Oracle、Python环境保持一致,我当前的环境是Oracle 11g和Python...
分类:
数据库 时间:
2014-07-19 00:00:09
阅读次数:
267
Java \Python \ RPC \mongoDB \memcached \hornetQ \Jetty \Maven \Redis \H2 \Clustor \spring \vertx
分类:
其他好文 时间:
2014-07-18 23:30:03
阅读次数:
214
一、基本原理请查看这个网址,讲得灰常详细:http://www.jeffkit.info/2010/01/476/二、实现步骤1、安装linux下SQL Server的驱动程序安装Freetds,不要使用apt-get install 来安装,因为源里的版本不一定是新的,建议使用stable版本,下...
分类:
数据库 时间:
2014-07-18 23:15:43
阅读次数:
490
Python程序调试:断点调试是必须有的功能,以Pycharm开发工具为例:一、理论知识:1. step into(F7)就是单步执行,遇到子函数就进入并且继续单步执行;2 step over(F8)是在单步执行时,在函数内遇到子函数时不会进入子函数内单步执行,而是将子函数整个执行完再停止,也就是把...
分类:
编程语言 时间:
2014-07-18 21:07:36
阅读次数:
182
#coding=gbk'''Created on 2014-5-7'''import os.pathinputPath = './input.txt'outPath = './out.txt'bufferSize = 10inputFile = open(inputPath, 'rb')outFil...
分类:
编程语言 时间:
2014-07-18 20:34:41
阅读次数:
246
Iserver简介Iserver是一个用python编写的网络服务框架(编译版本3.4.1),使用的是epool网络模型测试机配置处理器 2x Genuine Intel(R) CPU T2050 @ 1.60GHz内存 2060MB (673MB used)nginx开启进程数root 2413 ...
分类:
编程语言 时间:
2014-07-17 13:06:19
阅读次数:
313
使用python的MySQLdb库连接本地的mysql数据库,报错如下:
File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/lib/python2.7/dist-pack...
分类:
数据库 时间:
2014-07-17 10:15:49
阅读次数:
255
nagios配置文件生成htpasswd/etc/nagios/passwdnagiosadminidentity资产唯一编号chmod444/etc/assetid接口要写的健壮接口判断值是否全面批量的生成ip,主机名,其它项都一致pipinstall‘ipython<2.0‘CURR_DIR=os.path.abspath(os.path.dirname(__file__))当前这个文件名所在..
分类:
移动开发 时间:
2014-07-17 08:14:03
阅读次数:
323
puppetmasterenc外部节点过滤器客户端连服务端主动执行脚本hostname判断hostname是否存在cmdb是否有hostgroupsite.ppagentsnuuidfactercurl"http://192.168.3.9:8000/gethostbyid?hostidentity=sasafdfewqr12134241"urljson两种put数据curlget数据形式!!!!!!一定不能把文..
分类:
编程语言 时间:
2014-07-17 08:03:43
阅读次数:
367