摘要: 公司开发人员越来越多,每次合代码都会出现很多问题,而且代码的越来越多,占用很大空间,迁移和备份浪费人力和时间。有开发人员提出使用git来管理代码,个人在网上查看了一些关于git的资料。发现git的很多优点,具体大伙去网上搜索下。一、安装git服务yum -y install zlib-devel o... 阅读全文
posted @ 2017-10-24 19:02 G-Large 阅读(133) 评论(0) 推荐(0)
摘要: /etc/init.d/sshd 开启秘钥认证的UsePAM yes 选项,重启ssh服务会报下面的错误/etc/init.d/sshd restartStopping sshd: [ OK ]Startin... 阅读全文
posted @ 2017-10-24 19:02 G-Large 阅读(1392) 评论(0) 推荐(0)
摘要: 编译安装php yar扩展时出现下面错误,网上找了找说要安装json扩展,可是不管用,看下/usr/local/src/yar-1.2.5/packagers/json.c文件发现里面会使用ext/json/php_json.h文件这个文件在安装好的php目录下,我的目录是/usr/local/ph... 阅读全文
posted @ 2017-10-24 19:02 G-Large 阅读(209) 评论(0) 推荐(0)
摘要: 由于公司需要把机房所有机器迁移到阿里云ESC上,顺便写个confluence迁移confluence版本是5.4破解版系统版本centos6.5 64bit一、首先确认在源服务器上confluence安装的路径,一共两个目录,如果你安装的时候是默认安装的,应该在/var/atlassian /opt... 阅读全文
posted @ 2017-10-24 19:02 G-Large 阅读(677) 评论(0) 推荐(0)
摘要: 由于公司需要把机房所有机器迁移到阿里云ESC上,顺便写个禅道迁移禅道版本:开源版8.2.4系统版本:cent os6.5 64bit一、停用禅道服务,把web服务停掉,或者把域名解析停掉,防止数据不一至二、同步禅道目录到新服务器上面(使用rsync)注意:不要只同步web访问目录,要把整个zenta... 阅读全文
posted @ 2017-10-24 19:02 G-Large 阅读(614) 评论(0) 推荐(0)
摘要: apache启动的时候,后面是空白,不会显示OK,将本文的内容替换覆盖就OK了注:文中的apache安装目录需要手动更换#!/bin/bash## Licensed to the Apache Software Foundation (ASF) under one or more# contribu... 阅读全文
posted @ 2017-10-24 19:02 G-Large 阅读(168) 评论(0) 推荐(0)
摘要: 查看从库报错 Last_SQL_Error: Could not execute Update_rows event on table bbs.cdb_myposts_21; Can't find record in 'myposts_21', Error_code: 1032; handler e... 阅读全文
posted @ 2017-10-24 19:02 G-Large 阅读(143) 评论(0) 推荐(0)
摘要: import reimport urllib.requestimport randomimport osimport http.serverimport http.clientfrom urllib.error import URLError, HTTPErrorimport urllib.pars... 阅读全文
posted @ 2017-10-24 19:02 G-Large 阅读(3553) 评论(0) 推荐(0)
摘要: print(help())#帮助文档help(list) print(dir())#列表形式打印内建方法 print(vars())#字典形式打印内建方法 type()#查看类型 import os#导入 reload(os) id()#查看系统内存存在ID位 ------------... 阅读全文
posted @ 2017-10-24 19:02 G-Large 阅读(165) 评论(0) 推荐(0)
摘要: random#生成随机字符 阅读全文
posted @ 2017-10-24 19:02 G-Large 阅读(73) 评论(0) 推荐(0)