ITeye博客

LINUX

共 5 篇文章

ubuntu 安装 gearman

安装过程为: 1. 下载 wget http://launchpad.net/gearmand/trunk/0.26/+download/gearmand-0.26.tar.gz 2. 编译 % tar -xvzf gearmand-0.26.tar.gz % cd gearmand % ./configure 3. 安装 % make % make install 但是在第2步的时候发现了很多编译错误: configure: error: no acceptable C compiler found in $PATH 这是说没有装编译器,可以装个GCC或G++ configure: err…

2013-10-24 16:25 · PHP · LINUX

Nmon工具的使用以及通过nmon_analyse生成分析报表

在我们监控我们的操作系统的时候如果可以把各个硬件的监控信息生成形象化的分析报表图对于我们来说是件太好的事情了,而通过ibm的nom和nmon_analyser两者的结合完全可以实现我们的要求。首先对nmon和nmon_analyser做一个大概介绍。 Nmon 是一个分析aix和linux性能的免费工具(其主要是ibm为自己的aix操作系统开发的,但是也可以应用在linux操作系统上),而nmon_analyser是nmon的一个工具可以把nmon生成的报告转化成excel报表的形式供我们查看。下面先让我们饱下眼福,看下nmon_analyser生成的报表。(这样我们学习起来会有点动力,呵呵…

2013-10-15 17:10 · LINUX

nginx的PATH INFO变量

nginx不带这个参数,需要在nginx的 conf/fastcgi.conf文件中新增下面两行,前期是需要include这个文件 fastcgi_split_path_info ^(.+\.php)(/?.+)$; fastcgi_param PATH_INFO $fastcgi_path_info;

2013-08-12 16:28 · LINUX

linux安装 MCrypt 模块

What is MCrypt? MCrypt is a replacement for the old crypt() package and crypt(1) command, with extensions. It allows developers to use a wide range of encryption functions, without making drastic changes to their code. It allows users to encrypt files or data streams without having to be cryptograp…

2012-02-28 17:52 · PHP · LINUX · apache

ERROR 2002: Can't connect to local MySQL server

在linux上安装Mysql后,用phpmyadmin无法连接数据库,提示 ERROR 2002: Can't connect to local MySQL server 错误,原来是tmp下没有sock文件,建立个软连接 ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock 即可。

2012-02-28 17:52 · LINUX · mysql