发布时间:2017-07-01 17:18:43
#encoding=utf8 import loggingimport MySQLdbdef olddb(): return DB("200db",3306,"user","password","dbname")def newdb(): return DB("200db",3306,"user","password","dbname")class DB(): def __init__(self,db_host,db_port,db_user,db_pwd.........【阅读全文】
发布时间:2017-06-22 17:23:54
#!/usr/bin/pythonfrom fabric.api import *from fabric.context_managers import *from fabric.contrib.console import confirmfrom fabric.contrib.files import *import time,osi='machtalk@10.112.80.2:22'env.hosts=[i]env.roledefs = { 'all':[i]}env.passwords = { i:'GVk2qWUTW.........【阅读全文】
发布时间:2017-05-27 19:54:02
软件环境jdk1.7.9), 并且替换: http://svn.machtalk.net:23333/svn/software/settings.xmlusr:gome pwd:gome获取源码jenkins2 (经典安装该脚本可以放到任意目录fab list #输出结果Available commands: apigateway .........【阅读全文】
发布时间:2017-05-17 17:24:04
安装沙箱环境# 编译安装python2.7 cd /usr/local/curl -O https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xztar -xvf Python-2.7.13.tar.xz cd Python-2.7.13 ./configure --prefix=/usr/local/python2.7 make && make install # 安装沙箱环境 yum install -y python-virtualenvvirtualenv -p /usr.........【阅读全文】
发布时间:2017-05-13 16:38:45
本文当用于智城云系统发布中的基础设施建设,包括fdfs、mongo、发布机器配置memOS>=8CentOS 6.8文件准备 10.112.80.1 机器作为运维部署服务器resilio sync 并同.........【阅读全文】