Frontpage





LAMP - Installation

Like there is more than one way to the finishing line. There are more ways to install a LAMP stack. You can download the sourcecodes, and compile them yourself.
Another method is to install the seperate softwares via the OS's software manager/repository.

Also, another way to be found, on the opposite end of the galaxy, is a site named www.bitnami.com. They offer some very interesting installation packages for many OSS; the LAMP stack, WAMP stack, Drupal, Wordpress, Joomla, Magento... the list is very long. Bitnami have prepared installers for the software.
So here you can find a LAMP stack for easy installation of the Apache Webserver, MySQL database server, PHP scripting language, and phpMyAdmin the database manager. At this is written I find 174 stacks for download.

There is yet a way to install the servers needed. You can in the terminal make use of "apt-get", or "apt". They are ways to manage installation of software, - a repository. The help from "apt-get" tells you this;

"apt-get is a command line interface for retrieval of packages, and information about them from, authenticated sources and, for installation, upgrade and removal of packages together, with their dependencies".

But even in the "apt" repository there are more than one way to do things. You can point out which exact version you want of f.x. PHP or MySQL. Or to get the latest you can simply do like so; "apt install php".

You can add some more "P's" to the LAMP stack. They are Python, and Perl. Again a script language and a "CGI" language. Perl have been around for a longer periode, but Python have becomed welknown and used by many. Where on the other hand Perl was big in the earlier days of the web. But have been overtaken by serverside scripts like PHP.

Here I add two other ways of installing the stack:
Using the Tasksel. First install it, and then install the LAMP stack, via the "one-does-it-all" command.

sudo apt install tasksel
sudo tasksel install lamp-server
And another way - from the repository, if you want to do the programs seperately;

sudo apt install apache2
sudo apt install mysql-server
sudo apt install php7.2 libapache2-mod-php7.2 php-mysql
sudo apt install php-curl php-json php-cgi

Welcome to the newst incarnation of webpages.dk... You can now find some texts here. About Web developing in a OSS environment, a new document. My old ebook about photography, while we wait for the second edition.. The old text; "The Creative Kitchen". The PHP snippet collection. Find some valuable tips here.... and ofcource you still find the photo album here also.