What is Apache??

Apache HTTP Server i.e apache is a cross-platform open source(Under Apache License) web server software.Apache is written in C language.Apache is the most popular web server used(share on the web is more than 66%) for serving both static and dynamic web pages;as well as the features and functions that is required for most of the web applications.Apache supports a lot of features out of which some implemented in the form of compiled modules for extending the core functionality.A lot of server side programming languages is used with apache – Perl,PHP,Python,Tcl.Other security related features includes SSL(Secure Socket Layer),TLS(Transport Layer  Security).The aim of this post is to explain you about installing apache web server on ubuntu 10.04 lucid lynx.

install apache ubuntu

Installing Apache on Ubuntu 10.04 Lucid Lynx

Open Terminal(hit CTRL+ALT+T) and type the following command(s) ..followed by your ubuntu login password.

$ sudo apt-get install apache2

[sudo] password for user:

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
python-docky libmono-getoptions2.0-cil
Use ‘apt-get autoremove’ to remove them.
The following extra packages will be installed:
apache2-mpm-worker apache2.2-bin apache2.2-common libaprutil1-dbd-sqlite3
libaprutil1-ldap
………………………………………………..
………………………………………………..

and the installation procedure will complete within a minute.
After installing Apache on Ubuntu 10.04 lucid Lynx,you can verify whether it is installed properly or not.The files that is in the directory File System->var->www can be accessed as server.If you will type following address in your browser address bar –

http://localhost/

Then you will see –

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

That’s All…

NOTE : You can also install apache from Synaptic Package Manager(SPM).Just search for ‘apache’ and select the package from result,then click on apply to install.Another and more common way to install apache is to install it together with PHP and Mysql ..in LAMP.

Join the Conversation

4 Comments

  1. Hi, I have installed php5, mySQL and Apache as per instructions on this website and all has gone well. Only trouble is now…where do I save my HTML/PHP/MySQL files to so that I can start building websites?
    Sure there is an obvious answer but can’t seem to find it just now.

    Thanks.

    1. p.s. initially I just want to try things out on my own machine i.e. where is localhost directory to put these files.

Leave a comment

Your email address will not be published. Required fields are marked *