免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3220 | 回复: 11
打印 上一主题 下一主题

老虾安装Apache + mod_ssl + openssl 遇到困难 [复制链接]

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-06 10:59 |只看该作者 |倒序浏览
按照文档,俺跑如下命令 ( solaris 8 )
-----------------------------------------------------------------
# cd ./mod_SS1-2.8.14-1.3.27
# ./configure --with-apache=../apache_1.3.27 --with-eapi-only
# cd apache*
# ./configure --prefix=/usr/local/apache --enable-module=so --enable-rule=EAPI
# make
# make install
-----------------------------------------------------------------
到此为止,一切正常,没有认何的错误信息

但跑下一个命令时出现错误
-----------------------------------------------------------------
# ./configure --with-ssl=../openssl-0.9.7b --with-apxs=/usr/local/apache/bin/apx
s
Configuring mod_ssl/2.8.14 for Apache/1.3.27
+ Apache location: /usr/local/apache (Version 1.3.27)
+ OpenSSL location: ../openssl-0.9.7b
+ Configuring SSL module inside pkg.sslmod
      + SSL interface: mod_ssl/2.8.14
      + SSL interface build type: DSO
      + SSL interface compatibility: disabled
      + SSL interface experimental code: disabled
      + SSL interface conservative code: disabled
      + SSL interface vendor extensions: disabled
      + SSL library path: /export/home/pxia/openssl-0.9.7b
Error: Cannot find SSL binaries under /export/home/pxia/openssl-0.9.7b
------------------------------------------------------------------
感谢帮助

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2003-06-06 20:14 |只看该作者

老虾安装Apache + mod_ssl + openssl 遇到困难

俺的贴子以自由落体速度沉降, UP !

哪位大爷懂啊?

论坛徽章:
0
3 [报告]
发表于 2003-06-06 20:48 |只看该作者

老虾安装Apache + mod_ssl + openssl 遇到困难

我也替你着急啊,也不懂那些

论坛徽章:
0
4 [报告]
发表于 2003-06-07 00:42 |只看该作者

老虾安装Apache + mod_ssl + openssl 遇到困难

openssl没编译呢,找一个RPM包安装,RH下有

论坛徽章:
0
5 [报告]
发表于 2003-06-07 10:24 |只看该作者

老虾安装Apache + mod_ssl + openssl 遇到困难

虾兄也搞不定吗??
楼上兄弟的招儿你试了吗?

论坛徽章:
0
6 [报告]
发表于 2003-06-07 11:14 |只看该作者

老虾安装Apache + mod_ssl + openssl 遇到困难

原帖由 "laoxia" 发表:
按照文档,俺跑如下命令 ( solaris 8 )
-----------------------------------------------------------------
# cd ./mod_SS1-2.8.14-1.3.27
# ./configure --with-apache=../apache_1.3.27 --with-eapi-only
# ..........
   

你可以到apache.org下载一个编译好的已经包括mod_ssl的pkg,pkgadd即可
然后,到sunfreeware.com下载编译好的openssl, pkgadd一下
然后留意启动出错信息,自己增加一些连接,例如,如果你下载的openssl2.7,信息却提示找不到openssl lib 2.6之类,你就自己增加link指向即可

然后,参看fanqiang.com有一篇文章手工增加证书的,给apache加上一个就可以用了

论坛徽章:
0
7 [报告]
发表于 2003-06-07 11:43 |只看该作者

老虾安装Apache + mod_ssl + openssl 遇到困难

等我周一有空,在solaris上装一个试试,我以前经常在bsd装这个

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
8 [报告]
发表于 2003-06-10 06:42 |只看该作者

老虾安装Apache + mod_ssl + openssl 遇到困难

弟兄们谢了!老虾正在攻关

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
9 [报告]
发表于 2003-06-12 06:44 |只看该作者

老虾安装Apache + mod_ssl + openssl 遇到困难

弟兄们谢啦,老虾按vohmoiz的方法办了,www.sunfreeware.com里有已经编好的支持
mod_ssl的package, pkgadd就是了,openssl 的package 也有,照此办理,再安一
个expat就行了

apache-1.3.27-sol8-sparc-local.gz Apache - the popular web server - installs
in /usr/local/apache. This package includes mod_ssl-2.8.12-1.3.27 support
and requires that you also install openssl-0.9.6i to use it. You will also
need to install the expat package. I have put a detailed document on how
I created this package and how you might install it. Please read it. It is
suggested you back up your current apache files before installing any new
apache package.

Quick Install

If you want to just get started and do not care about the details of what
I did to create the Apache with mod_ssl package, you can do the following
to install Apache:

Download (I will illustrate for Solaris 8 on SPARC):

apache-1.3.27-sol8-sparc-local.gz
openssl-0.9.6g-sol8-sparc-local.gz

Run

gunzip apache-1.3.27-sol8-sparc-local.gz
gunzip openssl-0.9.6g-sol8-sparc-local.gz

and then, as root, run

pkgadd -d apache-1.3.27-sol8-sparc-local
pkgadd -d openssl-0.9.6g-sol8-sparc-local

This assumes you have not installed openssl-0.9.6g before.

If you do install openssl, you will need to read the appropriate link at
OpenSSH instructions which contains instruction on what software is needed
to generate the random numbers openssl requires.

Put the directories, /usr/local/apache/bin and /usr/local/ssl/bin in your
PATH. Put /usr/local/ssl/lib in your LD_LIBRARY_PATH.

Now go to /usr/local/apache/conf and edit the httpd.conf file to fit your
local needs. I suggest you read the files in the conf directory carefully
along with some Apache documentation to help you do the configuration. Further,
if you are going to use the mod_ssl, you will have to do some further configuration.
Any good book on Apache should have a discussion of this. If you do not
need mod_ssl, you can edit httpd.conf to comment out the lines related to
ssl.

Once you have the configuration the way you want it, you can run

/usr/local/apache/bin/apachectl start

to start your server. Then you can test your installation and configuration
to see if it is doing what you need. You will probably want to add a startup
script to start your server during a reboot.

不过要更精确的微调安装过程,还是source code 的好,俺再验究一下

TO: 蜘蛛,装完了,就不敢麻烦您老了(您其实不老),多谢,还要跟你学

论坛徽章:
0
10 [报告]
发表于 2003-08-14 09:05 |只看该作者

老虾安装Apache + mod_ssl + openssl 遇到困难

如果在是freebsd里面多爽,不用你使用那么多的编译安装选项,直接使用
make install就一就ok,我喜欢freebsd里的ports,它实在太可爱了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP