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

一个一起做网站百度竞价收费标准

一个一起做网站,百度竞价收费标准,手机代码网站有哪些问题,建筑企业网站设计问题现象 源码编译安装nginx时,执行./configure …… --with-http_ssl_module 命令安装https模块,需要用到openssl,由于机器缺少openssl库,报如下错误。 …… checking for openat(), fstatat() ... found checking for getaddr…

问题现象

源码编译安装nginx时,执行./configure …… --with-http_ssl_module 命令安装https模块,需要用到openssl,由于机器缺少openssl库,报如下错误。

……
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
checking for PCRE2 library ... not found
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for OpenSSL library ... not found
checking for OpenSSL library in /usr/local/ ... not found
checking for OpenSSL library in /usr/pkg/ ... not found
checking for OpenSSL library in /opt/local/ ... not found./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl=<path> option.

排查分析

因为机器不能连接外网,采用离线安装rpm 包的方式,安装openssl
从网上下载了:
openssl-1.0.2k-26.el7_9.x86_64.rpm
openssl-devel-1.0.2k-26.el7_9.x86_64.rpm

使用以下命令安装:
sudo rpm -ivh openssl-1.0.2k-26.el7_9.x86_64.rpm --nodeps --force
sudo rpm -ivh openssl-devel-1.0.2k-26.el7_9.x86_64.rpm --nodeps --force

openssl安装后,openssl命令正常。但是执行./configure …… --with-http_ssl_module 还是报一样的错误。

在网上搜罗了一堆方法,改各种文件,都没有生效。

此时,严重怀疑是使用rpm 离线安装openssl库时,由于使用了–nodeps --force 这两个指令,忽略了openssl的依赖库,强制安装。导致openssl某些依赖,没有安装成功,从而导致openssl不可用。

于是再次认真阅读提示信息: or build the OpenSSL library statically from the source with nginx by using --with-openssl= option.

那就尝试一下吧,使用openssl源码静态库的方式来编译nginx。

解决方法

从openssl官网下载源码,使用–with-openssl= 的方式来编译安装。
下载地址:https://www.openssl.org/source/old/index.html

本人使用的centos 7,下载的是1.1.0k这个版本。
在这里插入图片描述
下载后解压,假如此处解压的目录是:/data/openssl-1.1.0k
那么执行:./configure --prefix=/data/nginx --with-http_stub_status_module --with-http_ssl_module --with-openssl=/data/openssl-1.1.0k
以上命令,可顺利通过。

接下来,执行:make && make install 就顺利编译通过了。

总结

  • 原因:可能是使用rpm 离线安装openssl库时,由于使用了–nodeps --force 这两个指令,忽略了openssl的依赖库,强制安装。导致openssl某些依赖,没有安装成功,从而导致openssl不可用。
  • 解决方法
    1)下载openssl 源码包
    2)解压到指定目录/data/openssl-1.1.0k
    3)执行./configure 时,添加–with-openssl=/data/openssl-1.1.0k参数

至此,问题成功解决。

http://www.ritt.cn/news/23465.html

相关文章:

  • 公交车网站怎么做留言板抖音seo优化怎么做
  • 包头有没有专业做淘宝网站的什么平台可以免费打广告
  • 手机商城网站建设策划方案范文网络营销的优势与不足
  • 网站单页面怎么做的sq网站推广
  • 建设工程规范发布网站网站关键词优化工具
  • 做学校网站导航条应该有哪些智推教育seo课程
  • 网站用花生壳nas做存储自媒体平台注册下载
  • 长垣做网站百度平台推广的营销收费模式
  • b站推广入口2024mmm百度获客平台
  • 国内b2b免费网站平台创意营销案例
  • 旅游找什么网站好网页设计代码案例
  • 营销策划书范文1000字北京seo培训
  • 平湖新埭哪里有做网站的软文素材库
  • 企业网站建设长沙关键帧
  • 那种限时购的网站如何做商城全网推广运营公司
  • 哪个网站做投票链接模板好看营销软件网站
  • 营销型高端网站建设价格去了外包简历就毁了吗
  • 1级a做爰免费网站电商运营
  • 导航网站怎么做十大最靠谱教育培训机构
  • 武汉网站建设十强企业在线培训系统平台
  • 广州 电商设计网站建设国内重大新闻
  • 网站运营面试如何推广一个新的app
  • 2017网站设计保定seo排名外包
  • 建设网站网站设计品牌营销推广代运营
  • 2022智慧树互联网与营销创新国内搜索引擎优化的公司
  • 全国知名网站建设爱站网排名
  • 个人做网站的好处百度一下电脑版首页
  • 找设计师做网站免费软文推广平台都有哪些
  • iis 里没有网站发表文章的平台有哪些
  • 做外贸网站效果好吗安徽网络seo