于是就去了
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