Apache

admin on 六月 21st, 2011

正确使用Expires标识处理,可以使得页面更加有效被缓冲,节约带宽资源。 apache配置: <IfModule mod_expires.c>     ExpiresActive On     ExpiresByType image/gif A2592000    ...

Continue reading about Apache/Nginx 配置 Cache Last-Modified、Expires

687 views

Apache是世界使用排名第一的Web服务器软件。同时也是最稳定、安全的服务器之一。 yum install zlib zlib-devel -y yum install opensll openssl-devel -y groupadd -g 1000 vgroup useradd -u 1000 -g vgroup -d /dev/null -s /bin/fal...

Continue reading about centos 5.5 x86_64 编译安装httpd-2.2.17、php-5.3.4、memcache扩展

3,292 views

  cpu速度越来越快也更便宜,IDC机房带宽很昂贵,所以用cpu来换取带宽。 apche启用mod_deflate压缩: <ifmodule mod_deflate.c>         DeflateCompressionLevel 9    ...

Continue reading about web服务器使用mod_deflate(apache)gzip(nginx)压缩节约带宽及测试方法

918 views
admin on 八月 3rd, 2010

模板下载: http://forums.cacti.net/about9861.html 安装脚本 wget http://forums.cacti.net/download.php?id=9907 gzip -d ws_apachestats.pl.gz cp apache.apache ws_apachestats.pl <path_cacti>/scripts/ chmod 0755 <path_cacti>/scripts/apa...

Continue reading about cacti 监控 apache 服务器

751 views
admin on 三月 19th, 2010

环境:CentOS 5,Apache/2.2 apache运行正常,重启后不能启动,没有任何错误提示。 排错过程: 检查硬盘分区,空闲容量还很多; 检查错误日志,没有新的内容; 怀疑有人修改配置文件,注释部分...

Continue reading about apache无法启动没有错误提示的可能原因

821 views
admin on 十一月 24th, 2009

  多年不用tomcat,应一朋友要求,搭建一个java环境的虚拟主机,经过多次测试,现在把可以正常运行的配置记录下来。 安装jdk cd /usr/local sh /mnt/mysql/jdk-6u14-linux-i586.bin ln -s jdk1.6.0_14/ jdk echo...

Continue reading about linux系统apache tomcat虚拟主机安装配置

849 views