Professional Documents
Culture Documents
04
LAMP, is short for Linux + Apache + MySQL + PHP, is a software package to run a dynamic
web site and as a web server. LAMP consists of several components which all belong to the
family of open source. Namely Linux as its operating system, Apache as web server, MySQL
as the database, and PHP as the programming language.
In practice, LAMP is not in a bundle, meaning that each component separately. So stand on its
own. Both linux, apache, mysql and php its own stand. So all four are installed separately, after
installed then configured so that can go hand in hand. Although there are already in one bundle,
so apache, mysql and php (minus linux) it is in one package, just install one package has been
configured everything.
Many Linux distributions now include the LAMP package, so by installing a linux distro, all
the packages already installed, without the need to configure again. But there is also not yet
been installed. So had apache, mysql and php installed it manually.
In the distribution, apache, mysql and php consist in some kinds of packages. There are
versions of the source (tar.gz/tar.bz2), there is the rpm version (for red hat linux distribution
family), tgz (for family distro slackware), deb (for debian distros family), etc.. This time will
be discussed either how to install apache, mysql, and php into the ubuntu distro, and use its
version of the deb. The steps are as follows:
First make sure ubuntu has been installed properly and correctly,
Check the apache service via a browser, type the following address
http://localhost
Check phpmyadmin (optional) if it is running or not. Open the following address in your
browser:
http://localhost/phpmyadmin
Enter root for the user, while the password is not necessary in the content, because the
default installation mysql password has not been set, so do not need a password. If
successfully logged in then phpmyadmin is installed correctly.
Well, that was to install a LAMP-based web server. How the above is just a standard way,
meaning that the configuration is only done as needed, so there is no password set mysql,
domain settings, etc.. So just for the basic course, to learn more then please himself,