View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 09-20-2006, 08:43 PM   #1
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
install apache 2.2 from source on ubuntu -it works

I just did a quick install from source
I'm sorry if I prematurely dissed Ubuntu a couple of posts back

I think it's worth posting as a new solution message (IMHO)
I never did an apache 2.2 before and I was wondering if I was missing something. So out of curiousity...

Download source from apache

I took the .bz2 file
Unix Source: httpd-2.2.3.tar.bz2 [PGP] [MD5]

# cd /usr/local/
# cp whereverFromDownload/httpd-2.2.3.tar.bz2 .

tar xvjf filename
# tar -xvjf httpd-2.2.3.tar.bz2

Note: where xvjf is execute and tvjf is list

./configure --with-layout=GNU \

ooops fails no C compiler

this is ubuntu

# apt-get install gcc

configure again

# ./configure --with-layout=GNU \

No make file - go figgure

# apt-get install make

# make

# make install

# cd ../apache2.2.3/
# ls -l

# cd conf
edit httpd.conf
# If your host doesn't have a registered DNS name, enter its IP address here.

# cd ../bin

# apachectl start


Now to the browser

It works!


Make it happen!
Old 09-22-2006, 01:40 PM   #2
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Now to the browser
robert@ubuntu:~$ ping
ping: unknown host
Does it work locally, at least?
Old 09-22-2006, 02:43 PM   #3
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Original Poster
Rep: Reputation: 36
Hi Robert,

Ooops. Thanks for pointing that out. I failed to mention that is a name I made up for my internal netwok.

To get to a home web-server from outside you will have to register with a service like DynDNS

Note: To set up a development environment in Ubuntu
Add extra repos and do:
sudo apt-get install build-essential glade-common glade-gnome emacs21 fontforge devhelp

# apt-get install gcc
# apt-get install make

Works too...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
install apache and php on ubuntu server spank Ubuntu 15 07-28-2006 02:41 PM
PING works, but no Internet in Ubuntu only bond00 Linux - Networking 2 01-22-2006 05:41 PM
apache works, website works, but not from outside? kahn Linux - Software 7 08-05-2005 03:38 AM
Where to install apache source? ginda Linux - Software 1 03-13-2005 09:12 AM
Removing apache rpm and install apache from source john lee Linux - Software 2 11-15-2001 09:44 PM

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration