09 2019 档案
摘要:作为零基础 / 小白 / 入门 的你来说做一个博客还要学 web 框架、html、css、js,又成为了阻碍你写实际项目的阻碍。
所以我就推荐了这个命令:ls。写一个 ls 非常简单,你只需要会一点 linux 的基础知识,知道 ls 能做什么就好了。
那今天就给大家码了一个哪哪能用的 ls.py ,没错,windows 也可以哦~
阅读全文
摘要:本文使用python 的pygame 来编写一个植物大战僵尸的完整版游戏
阅读全文
摘要:刚开始接触Python,首先要解决的就是Python开发环境的搭建。 目前比较好用的Python开发工具是PyCharm,他有社区办和专业版两个版本,但是社区版支持有限,我们既然想好好学python,那肯定得用专业的不是。 但他专业版要么只能试用一个月,要么就是 $ , 身为猿军中的一员怎么能让他们
阅读全文
摘要:解决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.
阅读全文
摘要: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
阅读全文
摘要:今天安装软件nginx的时候遇到的报错:c compiler cc is not found
查了下网上的资料,解决方案也不复杂。
先说明下环境:
- 服务器:CentOS 7
- nginx:2.3.1
原因是因为缺少 gcc-c++ 的包
解决办法很简单,执行:yum -y install gcc-c++
阅读全文
摘要:好了,今天废话多了点,给大家总结下:
1、要习惯社会百态,要学会自我升级。
2、多做利他的事情,心情愉悦的同时,说不定还能有意想不到的收获。
3、眼界开阔些,不要只盯着眼前的那点钱。
阅读全文