当前位置: 首页 > news >正文

苏州做网站外包的公司app地推接单平台有哪些

苏州做网站外包的公司,app地推接单平台有哪些,国际网络交易平台,wordpress自定义结构404安装环境:CentOS 6.2 一. 准备环境1.安装gccyum install gcc gcc-c 2.安装pcre为了确保能在 Nginx 中使用正则表达式进行更灵活的配置,安装之前需要确定系统是否安装有 PCRE(Perl Compatible Regular Expressions)包。下载pcre…

 安装环境:CentOS 6.2 

 

一. 准备环境
1.安装gcc
yum install gcc gcc-c++

2.安装pcre
为了确保能在 Nginx 中使用正则表达式进行更灵活的配置,安装之前需要确定系统是否安装有 PCRE(Perl Compatible Regular Expressions)包。
下载pcre-8.20.tar.gz,地址是:http://sourceforge.net/projects/pcre/files/pcre/ ,上传至/usr/local,安装目录:/usr/local/pcre
# mkdir -p pcre
# tar zxvf pcre-8.20.tar.gz
# cd pcre-8.20
# ./configure --prefix=/usr/local/pcre
# make
# make install

二. 安装Nginx
下载nginx-0.8.54.tar.gz,地址是:http://nginx.org/en/download.html ,上传至/usr/local,安装目录:/usr/local
2.1.安装
# tar zxvf nginx-0.8.54.tar.gz
#mv nginx-0.8.54 nginx
# cd nginx-0.8.54
# ./configure --sbin-path=/usr/local/nginx --conf-path=/usr/local/nginx --pid-path=/usr/local/nginx --with-http_ssl_module --with-pcre=/usr/local/pcre-8.20
# make
# make install

2.2.检查nginx是否安装成功
#cd /usr/local/nginx/sbin
#./nginx -t
结果显示:
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful

2.3.启动nginx
#cd /usr/local/nginx/sbin
#./nginx


2.4.检查是否启动成功
客户端ie 浏览器中输入 http://ip(Linux)

其中参数:
--with-pcre=/usr/local/pcre-8.20 指的是pcre-8.20 的源码路径,并不是安装路径。

安装成功后 /usr/local/webserver/nginx 目录下有四个子目录分别是:conf、html、logs、sbin 。其中 Nginx 的配置文件存放于 conf/nginx.conf,Nginx 只有一个程序文件位于 sbin 目录下的 nginx 文件。确保系统的 80 端口没被其他程序占用,运行 sbin/nginx 命令来启动 Nginx,打开浏览器访问此机器的 IP(地址栏输入:127.0.0.1),如果浏览器出现 Welcome to nginx! 则表示 Nginx 已经安装并运行成功。


三. 安装过程中出现的问题
1.pcre :/configure: error: no acceptable C compiler found in $PATH See `config.log' for more details
原因是没装gcc
解决办法:yum install gcc

2../configure :checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
原因是由于c++编译器的相关package没有安装
解决办法:yum install gcc-c++

3.pcre:make时报错:[pcrecpp.lo] Error 1
原因是由于c++编译器的相关package没有安装
解决办法:yum install gcc-c++,重新configure,make && make install通过。

4../configure: error: the HTTP rewrite module requires the PCRE library
原因是需要PCRE library
解决办法:yum -y install pcre-devel

5../configure: error: the HTTP cache module requires md5 functions
from OpenSSL library. You can either disable the module by using
--without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using
--with-http_ssl_module --with-openssl=<path> options.
原因是需要OpenSSL library
解决办法:yum -y install openssl openssl-devel

6.启动时如果报异常error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or director
解决方法(直接运行):
32位系统 [root@sever lib]# ln -s /usr/local/lib/libpcre.so.1 /lib
64位系统 [root@sever lib]# ln -s /usr/local/lib/libpcre.so.1 /lib64

http://www.lbrq.cn/news/2665027.html

相关文章:

  • 网站图一般做多少分辨率宁波seo博客
  • asp.net做的网站多合一seo插件破解版
  • 一个网站上线需要什么sem培训班培训多少钱
  • 幼儿园网站模板 asphao123网址大全浏览器设为主页
  • 墨刀网页设计详细教程天津优化公司哪家好
  • 常用的网站建设技术有什么软件深圳seo网络优化公司
  • 建站公司网站建设中国互联网公司排名
  • 邯郸哪里可以做网站济南头条今日新闻
  • 开发一款app需要投入多少钱seo刷排名工具
  • discuz 科技网站模板百度普通版下载
  • 济宁网上做科目一的网站站长工具排行榜
  • 合川房产网站长seo查询工具
  • 为企业做网站app开发公司哪家好
  • 江苏推广网站建设业务软文推广营销平台
  • 陕西手机网站建设企业营销策划及推广
  • 杭州网站建设公司 4000262263网站自然排名怎么优化
  • 开江住房和城乡建设部网站培训计划模板
  • dede网站安全设置防挂马教程建站官网
  • 手机网站开发建设方案电商网站平台搭建
  • 做心理咨询的网站产品推广文案100字
  • 北京做兼职哪个网站百度sem竞价
  • 吴川网站开发公司网络营销能干什么工作
  • 温州网站制作策划百度知道客服电话
  • 微信公众号端网站开发营销的概念是什么
  • 做名宿比较好的网站百度如何购买关键词
  • ps快速做网站竞价账户托管
  • wix做的网站微信引流主动被加软件
  • 成都网站建设的公司免费个人网站怎么建立
  • 推荐几个色情图片网站游戏推广话术技巧
  • 西安城乡建设委员会的网站百度平台商家我的订单查询
  • Gin vs Beego vs Echo:三大主流 Go Web 框架深度对比
  • 【Docker实战】将Django应用容器化的完整指南
  • 【0基础PS】PS工具详解--缩放工具
  • 【动态数据源】⭐️@DS注解实现项目中多数据源的配置
  • 智慧社区(九)——事务加持下的小区删除操作
  • Java基础学习1(Java语言概述)