摘要: #vi /etc/ld.so.conf.d/python2.7.conf加入/usr/local/python27/lib保存退出后执行#ldconfig 阅读全文
posted @ 2015-01-19 11:30 BiboXie 阅读(5121) 评论(0) 推荐(1) 编辑
摘要: 1.在Console->Data Templates中选择Redis的模版在custom Data中勾选中Port2并保存2.在Console->Data Input Methods中选择相应的Redis修改Input String,注意Input Fields中的字段是否有port2,如下图 阅读全文
posted @ 2015-01-19 11:29 BiboXie 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 1. 在Console -> Data Templates 找到mysql-cacti-templates的mysql模板,编辑:在这里面把Port的Use Per-Data Source Value (Ignore this Value)选中,意思是由用户输入这个参数的值,然后保存。把所有有关my... 阅读全文
posted @ 2015-01-19 11:28 BiboXie 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 安装django前要先安装setuptools先安装一些必要的包,否则会报错:Python build finished, but the necessary bits to build these modules were not found#yum install -y sqlite bzip2... 阅读全文
posted @ 2015-01-19 11:27 BiboXie 阅读(627) 评论(0) 推荐(0) 编辑
摘要: #tar xvzf redis-py-2.2.1.tar.gz#cd redis-py-2.2.1#python setup.py install附件:https://app.yinxiang.com/shard/s41/res/689fcc84-4411-4ee6-b7a9-6bbaefb8a3b... 阅读全文
posted @ 2015-01-19 11:26 BiboXie 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 1.在views中添加一个def 为homepagebasepath=os.getcwd()+'\\dockerApp\\app\\templates\\';def homepage(request): response=render_to_response(basepath+"index.htm... 阅读全文
posted @ 2015-01-19 11:25 BiboXie 阅读(8544) 评论(1) 推荐(0) 编辑
摘要: class redis_data(models.Model): class Meta: db_table='redis_data' key=models.CharField(max_length=128) value=models.CharField(max_length=128) 阅读全文
posted @ 2015-01-19 11:24 BiboXie 阅读(1573) 评论(0) 推荐(0) 编辑
摘要: 进入mysqlgrant all privileges on *.* to 'root'@'%' identified by '12345678' with grant option;flush privileges; 阅读全文
posted @ 2015-01-19 11:23 BiboXie 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1.检查有没有安装过#rpm -qa httpd如果没有返回信息,说明没有安装过2.#yum install httpd3.#service httpd start#chkconfig httpd on 阅读全文
posted @ 2015-01-19 11:22 BiboXie 阅读(132) 评论(0) 推荐(0) 编辑
摘要: ***先安装readline,否则升级后python回退和方向键不能使用yum install readline-devel.x86_641.#wget www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz2.#tar zxvf Python-2.7.8.... 阅读全文
posted @ 2015-01-19 11:21 BiboXie 阅读(491) 评论(0) 推荐(0) 编辑