设为首页 收藏本站
查看: 447|回复: 0

[经验分享] linux下apache安装2.2.9

[复制链接]

尚未签到

发表于 2017-12-24 16:43:21 | 显示全部楼层 |阅读模式
  1013 2017-02-10 16:12:14 rpm -qa|grep openssl
  1014  2017-02-10 16:13:00 ping 171.33.128.1
  1015  2017-02-10 16:13:58 rpm -e openssl --nodeps
  1016  2017-02-10 16:14:04 echo $?
  1017  2017-02-10 16:14:33 ./config
  1018  2017-02-10 16:14:42 echo $?
  1019  2017-02-10 16:14:51 history
  make && make install
  tar -czf apache2017210.tar apache
  root@WN4DPITSTAP0001:/usr/local>rm -rf apache
  root@WN4DPITSTAP0001:/etc>tar -czf httpd.conf.tar.gz httpd
  root@WN4DPITSTAP0001:/etc>rm -rf httpd
  cd /home/ap/webuser/soft
  cd httpd-2.2.9
  1015  2017-02-10 16:13:58 rpm -e openssl --nodeps
  1017  2017-02-10 16:14:33 ./config                /usr/local/ssl  默认
  make &&make install
  1068  2017-02-10 16:41:16 rpm -e apr-util-ldap-1.3.9-3.el6_0.1.x86_64 --nodeps
   1069  2017-02-10 16:41:32 rpm -e apr-util-1.3.9-3.el6_0.1.x86_64 --nodeps
  1071  2017-02-10 16:41:51 tar -xvf apr-1.5.2.tar.gz
  1072  2017-02-10 16:41:59 tar -xvf apr-util-1.5.4.tar.gz
  1074  2017-02-10 16:42:17 cd apr-1.5.2
  ./configure --prefix=/usr/local/apr
  make &&make install
  ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
  make &&make install
  ./configure --prefix=/usr/local/apache --sysconfdir=/usr/local/apache --enable-so --enable-ssl --enable-cgi --enable-rewrite --with-ssl=/usr/local/ssl --with-zlib --with-pcre --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/   --enable-modules=most --enable-mpms-shared=all --with-mpm=event
  make &&make install
  server/mpm/experimental/event/.libs/libevent.a(event.o): In function `child_main':
  /home/ap/webuser/soft/httpd-2.2.9/server/mpm/experimental/event/event.c:1453: undefined reference to `ap_thread_s
  tacksize'collect2: ld returned 1 exit status
  make[1]: *** [httpd] Error 1
  make[1]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9'
  make: *** [all-recursive] Error 1
  ./configure --prefix=/usr/local/apache --sysconfdir=/usr/local/apache --enable-so --enable-ssl --enable-cgi --enable-rewrite --with-ssl=/usr/local/ssl --with-zlib --with-pcre --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --enable-modules=most
  make && make install
  make[1]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9'
  Making install in srclib
  make[1]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/srclib'
  Making install in pcre
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/srclib/pcre'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/srclib/pcre'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/srclib/pcre'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/srclib/pcre'
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/srclib'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/srclib'
  make[1]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/srclib'
  Making install in os
  make[1]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/os'
  Making install in unix
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/os/unix'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/os/unix'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/os/unix'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/os/unix'
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/os'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/os'
  make[1]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/os'
  Making install in server
  make[1]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/server'
  Making install in mpm
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/server/mpm'
  Making install in prefork
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/server/mpm/prefork'
  make[4]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/server/mpm/prefork'
  make[4]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/server/mpm/prefork'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/server/mpm/prefork'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/server/mpm'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/server/mpm'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/server/mpm'
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/server'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/server'
  make[1]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/server'
  Making install in modules
  make[1]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules'
  Making install in aaa
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/aaa'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/aaa'
  mkdir /usr/local/apache
  mkdir /usr/local/apache/modules
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/aaa'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/aaa'
  Making install in database
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/database'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/database'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/database'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/database'
  Making install in debug
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/debug'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/debug'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/debug'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/debug'
  Making install in filters
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/filters'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/filters'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/filters'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/filters'
  Making install in loggers
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/loggers'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/loggers'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/loggers'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/loggers'
  Making install in metadata
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/metadata'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/metadata'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/metadata'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/metadata'
  Making install in ssl
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/ssl'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/ssl'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/ssl'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/ssl'
  Making install in http
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/http'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/http'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/http'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/http'
  Making install in dav/main
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/dav/main'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/dav/main'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/dav/main'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/dav/main'
  Making install in generators
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/generators'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/generators'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/generators'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/generators'
  Making install in dav/fs
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/dav/fs'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/dav/fs'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/dav/fs'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/dav/fs'
  Making install in mappers
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/mappers'
  make[3]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules/mappers'
  make[3]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/mappers'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules/mappers'
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/modules'
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules'
  make[1]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/modules'
  Making install in support
  make[1]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/support'
  make[2]: Entering directory `/home/ap/webuser/soft/httpd-2.2.9/support'
  mkdir /usr/local/apache/bin
  libtool: install: invalid libtool wrapper script `htpasswd'
  libtool: install: invalid libtool wrapper script `htdigest'
  libtool: install: invalid libtool wrapper script `rotatelogs'
  libtool: install: invalid libtool wrapper script `logresolve'
  libtool: install: invalid libtool wrapper script `ab'
  libtool: install: invalid libtool wrapper script `checkgid'
  libtool: install: invalid libtool wrapper script `htdbm'
  libtool: install: invalid libtool wrapper script `htcacheclean'
  libtool: install: invalid libtool wrapper script `httxt2dbm'
  make[2]: *** [program-install] Error 1
  make[2]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/support'
  make[1]: *** [install-recursive] Error 1
  make[1]: Leaving directory `/home/ap/webuser/soft/httpd-2.2.9/support'
  make: *** [install-recursive] Error 1
  userdel -r apache
  ./configure --prefix=/usr/local/apache --sysconfdir=/usr/local/apache/conf --enable-so --enable-ssl --enable-cgi --enable-rewrite --with-ssl=/usr/local/ssl  --with-pcre --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --enable-modules=most
  root@WN4DPITSTAP0001:/usr/local>ls
  apache_20170120.tar.gz  apr       bin  games    lib    libexec  share  ssl
  apache2017210.tar       apr-util  etc  include  lib64  sbin     src
  root@WN4DPITSTAP0001:/usr/local>tar -czf ssl.tar.gz ssl
  root@WN4DPITSTAP0001:/usr/local>ls
  apache_20170120.tar.gz  apr       bin  games    lib    libexec  share  ssl
  apache2017210.tar       apr-util  etc  include  lib64  sbin     src    ssl.tar.gz
  root@WN4DPITSTAP0001:/usr/local>rm -rf ssl
  root@WN4DPITSTAP0001:/usr/local>ls
  apache_20170120.tar.gz  apr       bin  games    lib    libexec  share  ssl.tar.gz
  apache2017210.tar       apr-util  etc  include  lib64  sbin     src
  ./config --prefix=/usr/local/openssl
  make &&make install
  cd /home/ap/webuser/soft/httpd-2.2.9
  ./configure --prefix=/usr/local/apache --sysconfdir=/usr/local/apache/conf --enable-so --enable-ssl --enable-cgi --enable-rewrite --with-ssl=/usr/local/openssl --with-zlib --with-pcre --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/   --enable-modules=most --enable-mpms-shared=all --with-mpm=event
  make[3]: Nothing to be done for `local-all'.
  make clean                清编译残余文件
  ./configure --prefix=/usr/local/apache --sysconfdir=/usr/local/apache/conf --enable-so --enable-ssl --enable-cgi --enable-rewrite --with-ssl=/usr/local/openssl --with-zlib --with-pcre --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/   --enable-modules=most --enable-mpms-shared=all --with-mpm=event
  make&&make install
  安装完成

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-427562-1-1.html 上篇帖子: Apache下的ArrayUtils工具类总结 下篇帖子: LeftoverDataException,依赖包,apache license 2.0
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表