- 论坛徽章:
- 1
|
老虾安装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: 蜘蛛,装完了,就不敢麻烦您老了(您其实不老),多谢,还要跟你学 |
|