You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2012/09/28 19:37:10 UTC
Suggestions for obtaining mod_jk for Amazon EC2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
All,
I'm trying to set up an Amazon EC2 instance as a proxying web server
for Tomcat using mod_jk. I'm using Amazon's basic "Linux" 32-bit AMI
which doesn't include much -- specifically, a compiler.
mod_jk does not appear to be in the list of packages available via 'yum'.
Mostly I have access to 64-bit machines so my plan of just compiling
elsewhere and pushing the binary up to the server isn't really a good one.
Other than installing the GCC toolchain, compiling mod_jk and then
removing the toolchain, does anyone have any other good ideas?
Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBl4EYACgkQ9CaO5/Lv0PAJlwCfewn3033BLXFnwzkGn/86Adg0
eLwAn0RDba+HxzOJw1Iwvz78k4ZgFjN2
=P3Pe
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Suggestions for obtaining mod_jk for Amazon EC2
Posted by "Williams, Nick" <ni...@ul.com>.
> -----Original Message-----
> From: Williams, Nick [mailto:nicholas.williams@ul.com]
> Sent: Friday, September 28, 2012 3:13 PM
> To: Tomcat Users List
> Subject: RE: Suggestions for obtaining mod_jk for Amazon EC2
>
>>> From: Christopher Schultz [mailto:chris@christopherschultz.net]
>>> Subject: Suggestions for obtaining mod_jk for Amazon EC2
>>
>>> I'm trying to set up an Amazon EC2 instance as a proxying web server
>>> for Tomcat using mod_jk. I'm using Amazon's basic "Linux"
>>> 32-bit AMI which doesn't include much -- specifically, a compiler.
>>
>>> Other than installing the GCC toolchain, compiling mod_jk and then
>>> removing the toolchain, does anyone have any other good ideas?
>
> ---------------------------------------------------------------------
>
> I suppose I may REALLY be missing something, but can't you just use `yum` on your EC2 instance to install the compiler and THEN compile mod_jk?
Ignore my previous email see. I WAS "REALLY" missing something. Particularly, I was missing "other than installing the GCC toolchain, compiling mod_jk...".
Silly me...
This e-mail may contain privileged or confidential information. If you are not the intended recipient: (1) you may not disclose, use, distribute, copy or rely upon this message or attachment(s); and (2) please notify the sender by reply e-mail, and then delete this message and its attachment(s). Underwriters Laboratories Inc. and its affiliates disclaim all liability for any errors, omissions, corruption or virus in this message or any attachments.
RE: Suggestions for obtaining mod_jk for Amazon EC2
Posted by "Williams, Nick" <ni...@ul.com>.
>> From: Christopher Schultz [mailto:chris@christopherschultz.net]
>> Subject: Suggestions for obtaining mod_jk for Amazon EC2
>
>> I'm trying to set up an Amazon EC2 instance as a proxying web server
>> for Tomcat using mod_jk. I'm using Amazon's basic "Linux"
>> 32-bit AMI which doesn't include much -- specifically, a compiler.
>
>> Other than installing the GCC toolchain, compiling mod_jk and then
>> removing the toolchain, does anyone have any other good ideas?
---------------------------------------------------------------------
I suppose I may REALLY be missing something, but can't you just use `yum` on your EC2 instance to install the compiler and THEN compile mod_jk?
This e-mail may contain privileged or confidential information. If you are not the intended recipient: (1) you may not disclose, use, distribute, copy or rely upon this message or attachment(s); and (2) please notify the sender by reply e-mail, and then delete this message and its attachment(s). Underwriters Laboratories Inc. and its affiliates disclaim all liability for any errors, omissions, corruption or virus in this message or any attachments.
Re: Suggestions for obtaining mod_jk for Amazon EC2
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chuck,
On 9/28/12 1:56 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:chris@christopherschultz.net]
>> Subject: Suggestions for obtaining mod_jk for Amazon EC2
>
>> I'm trying to set up an Amazon EC2 instance as a proxying web
>> server for Tomcat using mod_jk. I'm using Amazon's basic "Linux"
>> 32-bit AMI which doesn't include much -- specifically, a
>> compiler.
>
>> Other than installing the GCC toolchain, compiling mod_jk and
>> then removing the toolchain, does anyone have any other good
>> ideas?
>
> I thought you could cross-compile with gcc, targeting a 32-bit x86
> architecture. (You certainly can with clang/LLVM, which I've been
> using for a couple of years.)
It's been a looong time since I cross-compiled anything. Does anyone
know if there are issues with cross-compiling with the mod_jk build
process? It uses 'configure' which should be all set up for XC, but I'd
just like to know if anyone does it before I go through the headache of
setting up multipel toolchains.
> If all else fails, you could create a 32-bit Linux VM on one of
> your 64-bit systems and build mod_jk there. Not much of an
> improvement...
Yeah, I'm more likely to just install the toolchain directly on the
target VM since it actually involves fewer steps.
Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBl7qkACgkQ9CaO5/Lv0PB0QACeO/lPRNKMawGrzc9n9XnjIe/6
hBQAn3NM3gV+h0LzCaw+fenvxc69EEd2
=chw3
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Suggestions for obtaining mod_jk for Amazon EC2
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Christopher Schultz [mailto:chris@christopherschultz.net]
> Subject: Suggestions for obtaining mod_jk for Amazon EC2
> I'm trying to set up an Amazon EC2 instance as a proxying web server
> for Tomcat using mod_jk. I'm using Amazon's basic "Linux" 32-bit AMI
> which doesn't include much -- specifically, a compiler.
> Other than installing the GCC toolchain, compiling mod_jk and then
> removing the toolchain, does anyone have any other good ideas?
I thought you could cross-compile with gcc, targeting a 32-bit x86 architecture. (You certainly can with clang/LLVM, which I've been using for a couple of years.)
If all else fails, you could create a 32-bit Linux VM on one of your 64-bit systems and build mod_jk there. Not much of an improvement...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org