随笔分类 -  运维

摘要:_bz2 build Failed 在使用从源码构建的bzip2时,若出现如下错误 building '_bz2' extension gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall 阅读全文
posted @ 2021-01-28 15:44 QQQnull 阅读(353) 评论(0) 推荐(0)
摘要:#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #error_log "pipe:rollba 阅读全文
posted @ 2020-12-22 10:19 QQQnull 阅读(192) 评论(0) 推荐(0)
摘要:在/etc/ssh/ssh_config中添加远程服务器支持的cipher 如Ciphers aes128-cbc,3des-cbc,aes128-ctr 连接时指定ssh配置文件 from pexpect import pxssh client = pxssh.pxssh() clinet.log 阅读全文
posted @ 2020-03-12 17:45 QQQnull 阅读(253) 评论(0) 推荐(0)
摘要:0x01安装依赖 yum install -y socat logrotate 0x02安装erlang https://github.com/rabbitmq/erlang-rpm 0x03安装rabbitmq https://www.rabbitmq.com/install-rpm.html#d 阅读全文
posted @ 2020-02-22 21:52 QQQnull 阅读(111) 评论(0) 推荐(0)
摘要:RAID Level : Primary 1, Secondary 0, RAID Level Qualifier 0 RAID 1 RAID Level : Primary 0, Secondary 0, RAID Level Qualifier 0 RAID 0 RAID Level : Pri 阅读全文
posted @ 2018-10-15 14:20 QQQnull 阅读(1654) 评论(0) 推荐(1)
摘要:#!/bin/bash #todo:运行前设置主机间SSH信任,将要更新的主机的IP放在mip中 #变量设置 #待更新主机ip存放在mip文件中 if [ ! -f mip ] then echo "mip doesn't exist" exit 1 fi ip=$(cat mip|awk '{print $1}') #远程登陆用户 user="root" #目标文件 tfile="/root... 阅读全文
posted @ 2017-08-03 10:51 QQQnull 阅读(269) 评论(0) 推荐(0)