Chinaunix首页 | 论坛 | 博客
  • 博客访问: 48563
  • 博文数量: 9
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 92
  • 用 户 组: 普通用户
  • 注册时间: 2013-09-27 19:21
文章分类

全部博文(9)

文章存档

2014年(9)

我的朋友

分类: LINUX

2014-10-20 14:27:11

添加www用户:
        groupadd -g 600 www
        useradd -u 600 -g www www -s /sbin/nologin

安装pcre:
        tar xf pcre-8.36.tar.bz2
        cd pcre-8.36        
        ./configure --prefix=/usr/local/pcre
        make
        make install

        编辑/etc/ld.so.conf.d/server.conf文件,内容如下:
            /usr/lib/
            /usr/local/lib
            /usr/local/pcre/lib/

        执行ldconfig命令

安装Tengine:
        tar xf tengine-2.0.3.tar.gz
        cd tengine-2.0.3
        ./configure --user=www --group=www --prefix=/usr/local/tengine --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-md5=/usr/lib --with-sha1=/usr/lib --with-http_gzip_static_module --with-pcre=../pcre-8.36
        make
        make install

阅读(1439) | 评论(0) | 转发(0) |
0

上一篇:windows下安装配置apache、php、mysql

下一篇:没有了

给主人留下些什么吧!~~