linux下安装 apache+mod_jk+jboss
之前装过,但是忘记了。这次再次安装顺便也把操作步骤记录下来。免的又忘记了
1.在自己的一个安装目录中本案在/usr/soft/install
s1:wget http://archive.apache.org/dist/httpd/httpd-2.0.63.tar.gz s2:tar -zxvf httpd-2.0.63.tar.gz s3:cd httpd-2.0.63(解压出来的目录) s4:./configure --prefix=/home/inter12/install/tools/apache-2.2.15 -enable-lib64 -libdir=/usr/lib64 --enable-rewrite=static --with-mpm=worker --enable-so --enable-proxy --enable-proxy-http --enable-deflate --enable-headers --enable-expires --enable-mods-shared=ssl --with-ssl=/usr/alibaba/openssl/ --with-included-apr s5:make s6:make install(这个就会在执行目录下生产相应的文件) s7:ln -s /usr/soft/apache2 httpd (建立相应的软链接)
2.安装mod_jk(安装目录)本案在/usr/soft/install
s1:wget http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.30/tomcat-connectors-1.2.30-src.tar.gz s2:tar -zcvf tomcat-connectors-1.2.30-src.tar.gz s3:cd tomcat-connectors-1.2.30/native s4:./configure --with-apxs=/usr/soft/apache2/bin/apxs s5:make s6:cp apache2.0/mod_jk.so /usr/soft/apache2/modules
以上基本就安装完了apache和mod_jk的配置
3.jboss安装
进入安装目录下。/usr/soft/
s1:wget http://nchc.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.5.GA.zip s2:unzip jboss-4.0.5.GA s3:ln -s /usr/soft/jboss-4.0.5.GA jboss
特别需要注意的是基本的版本需要跟你操作系统的位数来看的32位的需要下载32位操作系统版本,64位需要下载64位版本
查看操作系统位数命令
1.uname -a ,若是这个方法看不到的话 2. # getconf LONG_BIT 32 (说明当前CPU运行在32bit模式下, 但不代表CPU不支持64bit) # cat /proc/cpuinfo | grep flags | grep ' lm ' | wc -l 2 (结果大于0, 说明支持64bit计算. lm指long mode, 支持lm则是64bit)
相关推荐
Kafka 2020-09-18
Wepe0 2020-10-30
杜倩 2020-10-29
windle 2020-10-29
minerd 2020-10-28
mengzuchao 2020-10-22
Junzizhiai 2020-10-10
bxqybxqy 2020-09-30
风之沙城 2020-09-24
kingszelda 2020-09-22
大唐帝国前营 2020-08-18
yixu0 2020-08-17
TangCuYu 2020-08-15
xiaoboliu00 2020-08-15
songshijiazuaa 2020-08-15
xclxcl 2020-08-03
zmzmmf 2020-08-03
newfarhui 2020-08-03
likesyour 2020-08-01