摘要: gitlab-runner报错: fatal: git fetch-pack: expected shallow list 升级git版本就好:https://www.seozen.top/centos-update-upgrade-git.html 阅读全文
posted @ 2021-11-19 16:34 yangrz 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 原文出自:https://www.cnblogs.com/yangruizeng/p/10172011.html [TOC] 1. openldap介绍 1.1 什么是openldap openldap是一款轻量级目录访问协议(Lightweight Directory Access Protoco 阅读全文
posted @ 2018-12-25 08:43 yangrz 阅读(8621) 评论(0) 推荐(0) 编辑
摘要: 以下内容转自:http://blog.csdn.net/u012955491/article/details/19782539 pip很方便使用起来 今天刚用,但是遇到了安装后import的时候提示找不到的问题 首先造成这种问题有可能是这个原因: 你用python2.6安装的pip, 后来升级了py 阅读全文
posted @ 2018-01-29 11:45 yangrz 阅读(3874) 评论(0) 推荐(0) 编辑
摘要: 创建目录 /home/work/logs/{{ project }}: file.directory: - order: 1 - makedirs: True - user: work - group: work - dir_mode: 755 unless用法: {{ project }}-file: file.managed: - order... 阅读全文
posted @ 2018-01-29 11:00 yangrz 阅读(453) 评论(0) 推荐(0) 编辑
摘要: targeting minion glob salt '*' test.ping salt \* test.ping perl语言兼容正则表达式: 短选项: -E 长选项: --pcre salt -E '^[mM]in.[eou]n' test.ping list 短选项:-L 长选项:--list salt -L web1... 阅读全文
posted @ 2018-01-29 10:56 yangrz 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 环境 内核: n3.10.0-693.11.6.el7.x86_64 系统: CentOS Linux release 7.4.1708 (Core) falcon: open-falcon-v0.2.x.tar.gz go: go1.9.2.linux-amd64.tar.gz 安装 安装redis和mysql yum install -y redisyum install... 阅读全文
posted @ 2018-01-29 10:47 yangrz 阅读(685) 评论(0) 推荐(0) 编辑
摘要: 1、yum list|grep libxxx如果有这个包,就yum -y install libxxx libxxx-devel安装2、如果没有,下载源码包,编译安装3、安装完成之后,还是找不到,可以find一下看到底有没有这个文件 find / -name libxxx*4、如果find找到了这个文件,但是程序启动的时候就是报错说找不到,这时候牛x的命令就要登场了strace /home... 阅读全文
posted @ 2017-11-30 10:59 yangrz 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: 编译安装完php-fpm,启动时报错:error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory解决办法如下:1.在/etc/ld.so.conf中加一行/usr/local/lib, 2.然后运行/sbin/ldconfig,文件解决,... 阅读全文
posted @ 2017-11-30 10:56 yangrz 阅读(4138) 评论(0) 推荐(0) 编辑
摘要: 1.进入扩展目录如果还未下载:a. 下载 文件 wget http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgzb. 解压文件tar zxvf PDO_MYSQL-1.0.2.tgzcd PDO_MYSQL-1.0.2 2.执行phpize,提示:下面说的php-5.6.29都是php编译安装完成后的安装目录/home/work/php-5.6.29/bin/ph... 阅读全文
posted @ 2017-10-31 16:41 yangrz 阅读(3545) 评论(0) 推荐(0) 编辑
摘要: 若出现(Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/ve 阅读全文
posted @ 2017-10-20 17:30 yangrz 阅读(1211) 评论(0) 推荐(0) 编辑