Apache2

Ubuntu 8.04 LTS (Hardy Heron) Apache-PHP-MySQL Server

Once again, here's my updated simple installation of Apache, PHP and MySQL in Ubuntu 8.04 LTS (Hardy Heron) Server.

  1. Install SSH Client and Server (for my remote access)
    sudo apt-get install ssh
  2. Install Database Server
    sudo apt-get install mysql-server-5.0
  3. Install Apache HTTP Server
    sudo apt-get install apache2
  4. Install PHP5 and Apache PHP5 module
    sudo apt-get install php5 libapache2-mod-php5
  5. Restart Apache
    sudo /etc/init.d/apache2 restart

How to set up a home web server

Never need your nerdy brother-in-law again. Do-it-yourself network advice from a guy who has "been there, done that" a million times over.

Read here the guide how to setup a home web server.

Dapper Drake Update: Ubuntu Apache-PHP-MySQL Server

Many people found my original post regarding this as "the quick help" how to install Apache, PHP and MySQL in Ubuntu; now with Dapper Drake I'll make it more ultra-quick :)

Just type this one liner in your Ubuntu console and you will have all them up and running:

$ sudo apt-get install mysql-server apache2 php5 php5-mysql libapache2-mod-php5

RHEL4 Apache-PHP-MySQL Server

After the default Minimal installation of Redhat Enterprise Linux 4, here are the packages I need to install to have a Apache-PHP-MySQL services running.

  1. Database Server
    # yum install mysql-server
  2. Apache HTTP Server
    # yum install httpd
  3. PHP for Apache HTTP Server
    # yum install php
  4. MySQL for Apache HTTP Server
    # yum install php-mysql

Ubuntu Apache-PHP-MySQL Server

After the default normal installation of Ubuntu, here are the additional steps I need to do to have a Apache-PHP-MySQL Server.

  1. SSH Server (for my remote access)

    sudo apt-get install ssh
  2. Database Server

    sudo apt-get install mysql-server
  3. Apache HTTP Server

    sudo apt-get install apache2
  4. PHP for Apache HTTP Server

    sudo apt-get install php4
  5. MYSQL for Apache HTTP Server

    sudo apt-get install libapache2-mod-auth-mysql