分类: 技术分享
共有 6 篇文章
解决服务器用localhost可以访问IP地址不能访问
2012-01-31
技术分享
apache的默认监听地址不正确. 修改 /httpd/conf/httpd.conf文件的监听端口:
```
listen 127.0.0.1:80
```
改为:
```
listen 0.0.0.0:80
```
就可以了.
技术分享
使用yum时出现了下面的错误提示:
```
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.cento...
查看Apache并发请求数及其TCP连接状态
2012-01-24
技术分享
这两天搭建了一组Apache服务器,每台服务器4G内存,采用的是prefork模式,一开始设置的连接数太少了,需要较长的时间去响应用户的请求,后来修改了一下Apache 2.0.59的配置文件httpd.conf:
```
# prefork MPM
# StartServers: number...
技术分享
需要安装libexpat. 下载安装libexpat1-2.0.1-87.1.i386.rpm:
```
wget http://rpm.pbone.net/index.php3?stat=26&dist=55&size=149897&name=libexpat1-2.0.1-87.1.i386...
rrd的ExtUtils错误解决
2012-01-04
技术分享
```
$ perl Makefile.PL //perl脚本检查包依赖关系
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/l...