如何理解Linux CPU Load By duncan21Posted on 2015 年 3 月 17 日2015 年 3 月 17 日Posted in LinuxTagged cpu load, uptime Understanding Linux CPU Load – when should you be worried? You might be familiar with Lin[……] 阅读全文 Read More
[转]中国足球改革总体方案:申办世界杯 足协总局脱钩 By duncan21Posted on 2015 年 3 月 16 日2015 年 3 月 16 日Posted in SoccerTagged 足球改革No Comments on [转]中国足球改革总体方案:申办世界杯 足协总局脱钩 今年2月27日,习近平主持中央深改小组会议通过了《中国足球改革总体方案》,会议指出,实现中华民族伟大复兴的中国梦与中国体育强国梦息息相关,发展振兴足球是建设体育强国的必然要求,也是全国人民的[......]阅读全文 Read More
openssl之文件校验 By duncan21Posted on 2015 年 3 月 16 日2016 年 6 月 15 日Posted in LinuxTagged 文件校验 利用openssl提取文件的校验码并检测文件是否是一致的 [codesyntax lang=”text”] [root@NFS-Server test]# openssl dgst -md5 1.[......]阅读全文 Read More
[转]nginx+php-fpm出现502 bad gateway错误解决方法 By duncan21Posted on 2015 年 3 月 10 日2016 年 6 月 29 日Posted in Linux, repostTagged 502 502错误是所有用nginx跑php的运维人员不愿意看见的 nginx出现502有很多原因,但大部分原因可以归结为资源数量不够用,也就是说后端php-fpm处理有问题,nginx[……] 阅读全文 Read More
关于三分球命中率 By duncan21Posted on 2015 年 3 月 8 日2021 年 5 月 2 日Posted in 感言Tagged 三分, 科沃尔 话说14-15赛季,在三分球的命中率榜上,Korver的命中率曾一度高达53%之高,近期因为状态欠佳,已经跌到了不到5成的的命中率。但是目前,他仍然高居三分球命中率榜首。 从接触篮球开始,我就一[……] 阅读全文 Read More
部署cacti监控软件 By duncan21Posted on 2015 年 3 月 2 日2015 年 3 月 18 日Posted in monitoringTagged cacti cacti Cacti是一套基于PHP,MySQL,SNMP及RRDTool开发的网络流量监测图形分析工具 官网 http://www.cacti[……] 阅读全文 Read More
解决Xen PV下系统内核报错 By duncan21Posted on 2015 年 2 月 26 日2015 年 2 月 26 日Posted in LinuxTagged 内核报错 在做linux内核优化修改的时候,执行sysctl -p总是报错: &[……] 阅读全文 Read More
What is Python By duncan21Posted on 2015 年 2 月 19 日Posted in Python Python 是一种面向对象、解释型计算机程序设计语言,由Guido van Rossum于1989年底发明,第一个公开发行版发行于1991年,Python 源代码同样遵循 GPL(GNU Ge[……] 阅读全文 Read More
xenserver母鸡突然down By duncan21Posted on 2015 年 2 月 13 日Posted in virtualizationTagged xenserver 昨天,有2台xen服务器突然无法启动了,通过dell的kvm看到,只要系统启动之后,最后都会出现下的黑屏,经过调查分析,导致这2台母鸡无法正常启动的原因应该是,机房曾经,停机过,估计是直接拔的电[……] 阅读全文 Read More
linux下基于openssl的https服务配置 By duncan21Posted on 2015 年 2 月 12 日2015 年 3 月 24 日Posted in LinuxTagged https, openssl role ip 说明 CA 192.168.1.20[……] 阅读全文 Read More
添加ssl模块到已经安装好的apache中 By duncan21Posted on 2015 年 2 月 9 日2015 年 2 月 9 日Posted in LinuxTagged ssl_module 因为网站需要https服务,所以要配置ssl,但是发现之前安装apache的时候,没有配置mod_ssl [root@NFS-Client-01 ~]# cat /application/apa[......]阅读全文 Read More
openssl之enc命令教程 By duncan21Posted on 2015 年 2 月 7 日2015 年 2 月 8 日Posted in LinuxTagged enc, 文件加密 环境: [root@NFS-Client-01 ~]# cat /etc/redhat-release CentOS release 6.6 (Final) [root@NFS-Client-[……] 阅读全文 Read More
使用fdisk给硬盘分区 By duncan21Posted on 2015 年 2 月 2 日Posted in LinuxTagged fdisk 考题: 给机器添加一块1G的硬盘,用fdisk进行分区 分成2P+E的方式,其中P1=200M P2=200M E=600,并且有2个逻辑分区,大小各为300M 解答: Disk /dev[……] 阅读全文 Read More
解决nfs 客户端 UID/GID 映射是 nobody:nobody的问题 By duncan21Posted on 2015 年 1 月 30 日2015 年 1 月 30 日Posted in LinuxTagged nobody 有几台服务器挂载同一台nfs服务器的一个共享目录,结果其他都正常继承了nfs服务器的用户信息,而另一台的目录所属用户组变成了nobody,如下图: 【采用的是默认系统的权限,即: /oldboy[……] 阅读全文 Read More
配置sudo命令的日志审计 By duncan21Posted on 2015 年 1 月 26 日Posted in LinuxTagged sudo 环境: [root@123 logs]# cat /etc/redhat-release CentOS release 6.3 (Final) 配置: 1)确保安装了下面2个软件 [ro[......]阅读全文 Read More
Linux下编译安装mysql5.5.41 By duncan21Posted on 2015 年 1 月 24 日2015 年 3 月 24 日Posted in MySqlTagged mysql5.5 目标: 安装mysql5.5.41,从Mysql 5.5.8开始,使用了新的cmake编译方式 mysql> select version(); +————+[……] 阅读全文 Read More
安装配置eaccelerator缓存加速模块 By duncan21Posted on 2015 年 1 月 22 日2015 年 1 月 23 日Posted in LinuxTagged eaccelerator 安装eaccelerator缓存加速模块 插件说明: eAccelerator是一个自由开放源码php加速器,优化和动态内容缓存,提高了php脚本的缓存性能,使得PHP脚本在编译的状态下,对服务器[……] 阅读全文 Read More
从中日关系之现状看世界政治格局之变 By duncan21Posted on 2015 年 1 月 22 日2015 年 2 月 25 日Posted in 感言Tagged 钓鱼岛 这几天,在电视和互联网上,最热门的新闻就是日本将钓鱼岛国有化,也就是今天【“9月11日上午11时,日本政府与钓鱼岛“岛主”栗原家族正式签署岛屿“买[……] 阅读全文 Read More
[转]错误:Starting MySQL.. ERROR! The server quit without updating PID file By duncan21Posted on 2015 年 1 月 13 日2015 年 1 月 13 日Posted in MySqlTagged ERROR 今天出现了安装mysql之后无法启动的问题: [root@mysql mysql-5.5.41]# /etc/init.d/mysqld start Starting MySQL.. ERROR![……] 阅读全文 Read More
安装配置xcache缓存插件扩展 By duncan21Posted on 2015 年 1 月 4 日Posted in LinuxTagged xcahce XCache 是一个又快又稳定的 PHP opcode 缓存器. 经过良好的测试并在大流量/高负载的生产机器上稳定运行. 经过(在 linux 上)测试并支持所有现行 PHP 分支的最新发布版本 X[……] 阅读全文 Read More