摘要: 管理多台服务器手工执行ssh免密登录有点麻烦,于是写一个shell脚本实现自动化操作,记录以备后续查看。 2021.08.30更新,增加自定义生成密钥位数设置;增加已存在ssh key判断 2019年11月23日更新,支持自定义端口 scripts/shell... 阅读全文
posted @ 2022-03-14 18:08 默读自我 阅读(209) 评论(0) 推荐(0)
摘要: 写这个脚本的目的是在生产环境中向多个服务器拷贝hosts文件,能满足自己的使用要求。 scripts/auto-scp.sh at master · charnet1019/scripts · GitHub 2019年11月23日更新,支持自定义端口 注意:... 阅读全文
posted @ 2022-03-14 18:08 默读自我 阅读(208) 评论(0) 推荐(0)
摘要: 搭建LAMP过程中在编译PHP5.6的过程中总是出现如下错误,经过百度、google查了大半天大家的答案无一不是去掉部分参数或者卸载相关的库后再重新安装, 但不幸的是都没有解决我的问题,在这个问题上卡的时间太久了崩溃中。。。。 configure: error... 阅读全文
posted @ 2022-03-14 18:08 默读自我 阅读(782) 评论(0) 推荐(0)
摘要: 出现以下错误是因为重新编译curl后出现的,可能是编译后pycurl.so库出现错误,因此尝试编译pycurl修复 There was a problem importing one of the Python modules required to run ... 阅读全文
posted @ 2022-03-14 18:08 默读自我 阅读(228) 评论(0) 推荐(0)
摘要: 环境: 系统: CentOS 7.6 graylog版本: 3.2.4 mongodb版本: 4.2.6 elasticsearch版本: 6.8.8 graylog安装过程请参考https://docs.graylog.org/en/3.2/pages/installation/os/centos 阅读全文
posted @ 2022-03-14 18:08 默读自我 阅读(761) 评论(0) 推荐(0)
摘要: 执行数据迁移时报如下错误 sqlalchemy.exc.IntegrityError: (pymysql.err.Integrity... 阅读全文
posted @ 2022-03-14 18:07 默读自我 阅读(37) 评论(0) 推荐(0)
摘要: 环境: 系统: CentOS 7 fail2ban: 0.11.1-10.el7 安装fail2ban yum install... 阅读全文
posted @ 2022-03-14 18:07 默读自我 阅读(208) 评论(0) 推荐(0)
摘要: 场景: 应用服务通过docker-compose部署的,部分服务的以host网络模式运行,通过从top命令中获取的PID无法直接... 阅读全文
posted @ 2022-03-14 18:07 默读自我 阅读(209) 评论(0) 推荐(0)
摘要: CentOS 7下使用pip安装GeoIP包时报如下错误,提示缺少GeoIP.h头文件 [root@master-60-5 pyth... 阅读全文
posted @ 2022-03-14 18:07 默读自我 阅读(205) 评论(0) 推荐(0)
摘要: 部署环境 公司内部安装powerdns实现局域网服务dns解析,避免通过ip访问。 系统: CentOS 7.9 mysql版本... 阅读全文
posted @ 2022-03-14 18:07 默读自我 阅读(2015) 评论(0) 推荐(0)