?
Solved

Apache 2.2.24 on Centos 6.4

Posted on 2013-11-05
8
Medium Priority
?
1,165 Views
Last Modified: 2014-03-06
I have a new installation of Centos 6.4 on a virtual machine installed in Oracle's VirtualBox.
We are trying to duplicate a setup of one of our older apps which requires Apache 2.2.24.
I have downloaded and applied -enable-mods-shared="all" to the configure command, then run make and make install. All complete successfully. The problem is, I cannot find a way to start up Apache. There is no references created for httpd, apache, apache2 or apachectl.
The directories are there, but not a means to start the service.

Either I am missing something, or things are very weird here! Any thoughts?
Thanks.
0
Comment
Question by:JP_TechGroup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39625706
Hello,
consider setting up a web server the 'supposed' way if you do not have any special needs. I know many folks like the apache build from source; but why go through all that trouble and its certainly less secure in most cases. Eg:
yum groupinstall "Web Server" "MySQL Database client" "MySQL Database server" "PHP Support"
service httpd start
chkconfig httpd on

Open in new window

This almost covers the insall. You fill find any relevant configs in /etc/httpd/

In the end, find an old httpd package and downgrade to it. Also, if you are unable to find one, opt to build the httpd version form an SRPM.
0
 

Author Comment

by:JP_TechGroup
ID: 39625722
I agree and wish I could, but I am dealing with an old custom made web app that will only function correctly on certain versions of things... Apache 2.2.4, Passenger2.2.4, Ruby 1.8.4 etc...
I cannot use Yum as it will install the latest versions of these and I need the versions I mentioned. Make sense?
0
 
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39625734
As I said, build from an SRPM; for centos 6 you might want to use:
http://centos.alt.ru/pub/repository/centos/6/SRPMS/httpd-2.2.24-1.el6.src.rpm

Also, have a look at the powerstack repo, they run apache 2.2.24:
http://powerstack.org

Also you can install the hole thing and then do a yum localinstall to the httpd.rpm from powerstack.
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

Author Comment

by:JP_TechGroup
ID: 39625747
Ah, I missed the second part of you message... sorry. I'll give it a go.
0
 
LVL 62

Accepted Solution

by:
gheist earned 2000 total points
ID: 39644896
In theory all apache 2.2 should be *binary* compatible with each others modules on same platform
It is much easier to audit httpd.conf of old application and add missing modules via yum than to try to run it right away - say new system has radically different directory layout than say Solaris or BSD or even Debian...
0
 

Author Comment

by:JP_TechGroup
ID: 39650261
I went with an older distribution of Centos and it compiled and installed perfectly. Thanks for your help.
0
 
LVL 62

Expert Comment

by:gheist
ID: 39650380
And how do you maintain security of the apache you stuck together there?
0
 

Author Comment

by:JP_TechGroup
ID: 39651350
I don't! This is a test environment on an isolated virtual box. It's only purpose in life is to allow me to test config changes to an old legacy app a client wants to resurrect.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question