摘要: svnadmin load /new/path/to/your/repository < ./repository.clear-dump #导入数据 svnadmin dump /mnt/backup/var/www/svn/android > /ebsig/android.dump #导出数据 s 阅读全文
posted @ 2017-08-09 15:31 Mansoncui 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 1、docker安装 yum -y install docker-io # 仅此一条命令就可以搞定; service docker start # 启动docker chkconfig docker on # 加入开机启动 docker pull centos:latest #从docker.io中 阅读全文
posted @ 2017-08-09 15:09 Mansoncui 阅读(90) 评论(0) 推荐(0) 编辑
摘要: FROM centos #来至那个镜像MAINTAINER Cuibo cuibobo@ebsig.comENV NAME=CuiboWORKDIR /homeADD ebsig.repo /etc/yum.repos.d/ebsig.repo #相当于cp命令RUN yum -y install 阅读全文
posted @ 2017-08-09 14:47 Mansoncui 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 1、yum -y install python-pip 2、pip install rdbtools 3、git clone https://github.com/sripathikrishnan/redis-rdb-tools cd redis-rdb-tools sudo python setu 阅读全文
posted @ 2017-08-09 14:30 Mansoncui 阅读(4848) 评论(0) 推荐(0) 编辑
摘要: 1、mysql> SHOW GLOBAL STATUS LIKE'Open_files'; #当前打开文件数 2、mysql> SHOW VARIABLES LIKE'open_files_limit'; #最大打开文件数 3、解决办法: 5.6 GTID版本不支持这种语法 create table 阅读全文
posted @ 2017-08-09 14:28 Mansoncui 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Name: global_rewriteVersion: 1.0.1Release: 1Summary: nginx global rewrite file Group: DocumentationLicense: GPLURL: http://www.ebsig.com/Source0: http 阅读全文
posted @ 2017-08-09 13:52 Mansoncui 阅读(115) 评论(0) 推荐(0) 编辑
摘要: %define _user wanson%define _group ebsig%define _prefix /usr/local/inonesoft/php7Name: phpVersion: 7.0.8Release: 1%{?dist}Summary: PHP is a server-sid 阅读全文
posted @ 2017-08-09 13:48 Mansoncui 阅读(253) 评论(0) 推荐(0) 编辑
摘要: spec结尾文件详解: %define _user wanson%define _group ebsig%define _prefix /usr/local/inonesoft/php7Name: phpVersion: 7.0.8Release: 1%{?dist} #release号,对应下面的 阅读全文
posted @ 2017-08-09 13:46 Mansoncui 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 1、安装软件包:yum -y install rpmdevtools rpmbuild (rpmdevtools-8.3-5.el7.noarch ) 2、rpmdev-setuptree #自动在用户家目录生成一个rpmbuild的文件夹,作为工作路径 3、生成文件相对应目录作用 /root/rp 阅读全文
posted @ 2017-08-09 13:41 Mansoncui 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 1、while循环 案列:while循环和if判断以及while和else使用 man_age = 56 count = 0 while count < 3: manson_age = int(input("age= ")) if manson_age == man_age: print ("Gue 阅读全文
posted @ 2017-08-09 12:04 Mansoncui 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1、方法一: input接受都是字符串,name = name #后面值没有引号是变量意思,加引号是字符串 方法一: name = input("name: ")age = input("age: ") job = input("job: ")info3=''' info of %s Name:%s 阅读全文
posted @ 2017-08-09 12:02 Mansoncui 阅读(103) 评论(0) 推荐(0) 编辑