wood burning stoves 2.0*
The moose likes Linux / UNIX and the fly likes Installing Apache in Ubuntu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Installing Apache in Ubuntu" Watch "Installing Apache in Ubuntu" New topic
Author

Installing Apache in Ubuntu

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Guys,

I was looking for ways to get Apache 2.2 installed on my Ubuntu partition. I can only find the below mentioned way of doing it. But I"d rather want to know how to download the binaries and extract them.



SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Came across this link http://httpd.apache.org/docs/2.2/install.html#download

Looks like I have to compile the sources and install. Is there a precompiled version available??
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Why not just use the Synaptic Package Manager (it's under System | Administration) or apt-get to install the Apache2 package? According to the version info, that package is Apache HTTPD 2.2


JBoss In Action
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15961
    
  19

apt-get will do the extraction. ".deb" packages are tarballs with some context info and install scripts included, so apt-get extracts the binaries and runs the scripts.

synaptic is apt-get enhanced with the ability to download the deb package and its dependencies from Internet repositories. There are also a couple of other utilities of this type, although I haven't used Ubuntu recently enough to remember them all.

USUALLY these days, you can just apt-get the apache2 server package plus apache modules required for your specific needs (such as mod_php). Not like the Good Old Days when customizing Apache virtually demanded building your own from source.

Of course if you really WANT to download/compile/install, I've got a friend that swears that Gentoo is the way to go for everything!


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Don't get me started about those stupid light bulbs.
 
subject: Installing Apache in Ubuntu
 
Similar Threads
Ubuntu 9.10
How to run OpenEJB Examples?
servlets in jswdk-1.0.1
Soap 2.3.1 with Tomcat 4.1.12 with SDK1.4.1
Is mod_jk.so binary for Apache 2.2.14 included with apt-get install of apache2 ?