在solaris8 下安装apache2.26成功报告[原创]
2007-12-07 11:07
260 查看
接到通知需要构建solaris8下的apache2 http server , version是2.26
于是就去了
http://www.sunfreeware.com/indexsparc8.html,找需要的相关软件,
一开始我晕了,去下了`SOLARIS10的软件安装,不过居然可以装?。。。
汗死!最后还得删。
apache-2.2.6-sol8-sparc-local.gz Apache 2 - the popular web server - installs in /usr/local/apache2. This apache package was configured with openssl support. The expat, libiconv, zlib, openssl-0.9.8f, and either the libgcc-3.4.6 or gcc-3.4.6 must be installed. Documentation can be found in /usr/local/apache2/doc/apache2. The configuration files in /usr/local/apache2/conf must be edited to fit your site's needs, including ssl support.
If you have already been using apache2, MAKE SURE that you backup any files in the conf, htdocs, modules, or other subdirectories of /usr/local/apache2 where you might have changed or added files so that installing the updated apache2 will not cause your configuration or other files to be lost.
The configuration step for this package was
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http
The modules that were compiled with this package can be found in /usr/local/apache2/modules. You may also need to set up startup scripts to begin the httpd processes at boot up. See the appropriate link for your level of Solaris in openssh.html where you can determine how to set up the randomness features required when using openssl.
httpd-2.2.6.tar.gz Source Code. [Details]
另外还需要apr-1.2.2-sol8-sparc-local.gz 和 aprutil-1.2.2-sol8-sparc-local.gz 上面就是sun的官网的说明,这里说了,要装apache2.26在solaris8下需要
1. libiconv-1.11-sol8-sparc-local.gz
2. gcc-3.4.6-sol8-sparc-local.gz
3. openssl-0.9.8f-sol8-sparc-local.gz
4. zlib-1.2.3-sol8-sparc-local.gz
5. expat-1.95.5-sol8-sparc-local.gz
6. apr-1.2.2-sol8-sparc-local.gz
7. aprutil-1.2.2-sol8-sparc-local.gz
切忌一定要按照这个顺序去安装!!安装好这7个必要的支持软件后就可以安装
apache-2.2.6-sol8-sparc-local.gz
注:以上7个支持软件和apache都可以在http://www.sunfreeware.com/indexsparc8.html找到下载,如果你英文稍微好点的话,一定没问题!
1.删除sunsoft package command:
#pkgrm SMCap226 (通过进入 /var/sadm/pkg目录,然后ls -lp,通过你大概安装的时间判断,然后用#pkginfo -l SMCap226就可以看见安装包的详细资料,确定后就删除)
2.安装sunsoft package command:
#pkgadd -d apache-2.2.6-sol8-sparc-local(你不要告诉我你不会解压.gz文件? #gunzip apache-2.2.6-sol8-sparc-local.gz)
好了,安装好以后,在/usr/local/apache2/conf/目录下, vi httpd.conf 找到server ip 一行,编辑你自己的ip就可以了
最后运行你的apache2:
如果要停止:
#
如果要重启服务:
#
于是就去了
http://www.sunfreeware.com/indexsparc8.html,找需要的相关软件,
一开始我晕了,去下了`SOLARIS10的软件安装,不过居然可以装?。。。
汗死!最后还得删。
apache-2.2.6-sol8-sparc-local.gz Apache 2 - the popular web server - installs in /usr/local/apache2. This apache package was configured with openssl support. The expat, libiconv, zlib, openssl-0.9.8f, and either the libgcc-3.4.6 or gcc-3.4.6 must be installed. Documentation can be found in /usr/local/apache2/doc/apache2. The configuration files in /usr/local/apache2/conf must be edited to fit your site's needs, including ssl support.
If you have already been using apache2, MAKE SURE that you backup any files in the conf, htdocs, modules, or other subdirectories of /usr/local/apache2 where you might have changed or added files so that installing the updated apache2 will not cause your configuration or other files to be lost.
The configuration step for this package was
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http
The modules that were compiled with this package can be found in /usr/local/apache2/modules. You may also need to set up startup scripts to begin the httpd processes at boot up. See the appropriate link for your level of Solaris in openssh.html where you can determine how to set up the randomness features required when using openssl.
httpd-2.2.6.tar.gz Source Code. [Details]
另外还需要apr-1.2.2-sol8-sparc-local.gz 和 aprutil-1.2.2-sol8-sparc-local.gz 上面就是sun的官网的说明,这里说了,要装apache2.26在solaris8下需要
1. libiconv-1.11-sol8-sparc-local.gz
2. gcc-3.4.6-sol8-sparc-local.gz
3. openssl-0.9.8f-sol8-sparc-local.gz
4. zlib-1.2.3-sol8-sparc-local.gz
5. expat-1.95.5-sol8-sparc-local.gz
6. apr-1.2.2-sol8-sparc-local.gz
7. aprutil-1.2.2-sol8-sparc-local.gz
切忌一定要按照这个顺序去安装!!安装好这7个必要的支持软件后就可以安装
apache-2.2.6-sol8-sparc-local.gz
注:以上7个支持软件和apache都可以在http://www.sunfreeware.com/indexsparc8.html找到下载,如果你英文稍微好点的话,一定没问题!
1.删除sunsoft package command:
#pkgrm SMCap226 (通过进入 /var/sadm/pkg目录,然后ls -lp,通过你大概安装的时间判断,然后用#pkginfo -l SMCap226就可以看见安装包的详细资料,确定后就删除)
2.安装sunsoft package command:
#pkgadd -d apache-2.2.6-sol8-sparc-local(你不要告诉我你不会解压.gz文件? #gunzip apache-2.2.6-sol8-sparc-local.gz)
好了,安装好以后,在/usr/local/apache2/conf/目录下, vi httpd.conf 找到server ip 一行,编辑你自己的ip就可以了
最后运行你的apache2:
# /usr/local/apache2/bin/apachectl -f /usr/local/apache2/conf/httpd.conf
如果要停止:
#
apachectl -k stop
如果要重启服务:
#
apachectl -k restart
就这些了其实很简单,真的,不要去论坛找搜索什么,直接去http://www.sunfreeware.com/indexsparc8.html就能找到你需要的! 我就是先baidu再论坛找,结果浪费时间不说很多人都不愿意回答你,还是自己动手吧 今天就写到这里!转载请著名作者:sqxjp!谢谢! m@QiNtOsHilOvExJp4EvEr-sqxjp
相关文章推荐
- PostgreSQL学习笔记YY(1)--环境安装(原创成功经验)
- ubuntu下安装apache5、php5、mysql、phpmyadmin【非原创】
- linux 安装apache成功后的访问地址
- (自解)apache2.2 for winXP的安装与使用及IIS配置成功
- Linux(centOS)手动安装Apache+MySQL+PHP+Memcached+Nginx原创无错版
- 【Apache】【原创】如何在Redhat Linux是使用yum 从本地RPM 安装
- 【原创】64位的旗舰版win7成功安装Visual Studio 2010旗舰版
- win7安装xampp提示windows找不到-n文件(安装成功后,443端口占用,apache服务器无法正常启动)的解决方案
- Apache 2.2 + Php 5.1 安装问题解决[原创]
- 解决安装XAMPP后apache一直运行不成功
- [原创]Apache2.2+PHP5.2+MySQL5.0+Mantis1.1.4安装配置
- 绝对原创,联想SP2直接集成SP3,成功安装并激活
- 【原创】xp和vista双系统安装成功
- [伊达原创]FreeBSD8.0源码编译安装MYSQL5 APACHE2.2 PHP5.3.2
- FreeBSD上成功安装最新版apache+mysql+php
- Win2K下Snort+MySQL+Apache+Acid安装参考[原创]
- php安装后检测不成功,apache无法解析php
- linux成功安装Apache的漫长过程,终于解决所有的报错
- Linux(centOS)手动安装Apache+MySQL+PHP+Memcached+Nginx原创无错版