安装MySQL5.1.34时,提示
checking for termcap functions library… configure: error: No curses/termcap library found
安装ncurses-devel解决问题
yum -y install ncurses-devel
安装Nginx时报错
./configure: error: the HTTP rewrite module requires the PCRE library.
安装pcre-devel解决问题
yum -y install pcre-devel
配置好后,浏览器访问出来的页面是乱码
原因是nginx.conf中指定了charset utf-8;
将该行注释掉,重启Nginx就可以了
# charset utf-8;
发现用pkill nginx来关闭nginx超好用,呵呵。