随笔分类 -  Linux

摘要:数据迁移导致的数据库数据不一致事件屡见不鲜。如何避免?如何闭坑? 阅读全文
posted @ 2020-01-10 11:09 上海小胖 阅读(1868) 评论(1) 推荐(0) 编辑
摘要:刚开始接触Python,首先要解决的就是Python开发环境的搭建。 目前比较好用的Python开发工具是PyCharm,他有社区办和专业版两个版本,但是社区版支持有限,我们既然想好好学python,那肯定得用专业的不是。 但他专业版要么只能试用一个月,要么就是 $ , 身为猿军中的一员怎么能让他们 阅读全文
posted @ 2019-09-18 06:53 上海小胖 阅读(6516) 评论(1) 推荐(0) 编辑
摘要:解决mongodb 启动告警 /sys/kernel/mm/transparent_hugepage/enabled is 'always'. /sys/kernel/mm/transparent_hugepage/defrag is 'always' soft rlimits too low. rlimits set to 15012 processes, 102400 files. Number of processes should be at least 51200 : 0.5 times number of files. 阅读全文
posted @ 2019-09-05 18:22 上海小胖 阅读(724) 评论(0) 推荐(0) 编辑
摘要:CentOS 6.2 安装Nginx时报错 错误提示: ./configure: error: the HTTP rewrite module requires the PCRE library. 解决办法: 1. 安装 pcre-devel 与 openssl-devel 2. yum -y install pcre-devel openssl openssl-devel 3. ./configure --prefix=/usr/local/nginx 4. make 5. make install 阅读全文
posted @ 2019-09-04 06:39 上海小胖 阅读(9321) 评论(0) 推荐(0) 编辑
摘要:今天安装软件nginx的时候遇到的报错:c compiler cc is not found 查了下网上的资料,解决方案也不复杂。 先说明下环境: - 服务器:CentOS 7 - nginx:2.3.1 原因是因为缺少 gcc-c++ 的包 解决办法很简单,执行:yum -y install gcc-c++ 阅读全文
posted @ 2019-09-03 21:30 上海小胖 阅读(34286) 评论(1) 推荐(1) 编辑

点击右上角即可分享
微信分享提示