Also, if you want to know if Apache is running, you can use the following command. # sudo apt updateĪfter the installation process is complete, the Apache webserver should start automatically and run at system boot when booting.
You do not need to use this command if you are also logged in as a root user, otherwise, you should use it.įirst, update your server software packages, then install the Apache server using the following commands. Note: I do not need to use the Sudo command because I logged in to the server as a root user.
In this step, we are going to explain how to install the apache web server on Ubuntu 18.04 along with the firewall setting configuration for HTTP and HTTPS traffics. Installing each of these programs has its own steps, so we will install them one by one.Īpache Web Server (HTTP) is one of the most common web servers in the world. Note: You can use a cheap Linux VPS to run your Lamp on it with the ubuntu 18 operating system.
(These programs are also called FOSS, meaning free or open-source software). Each of these programs is a complete and reference program that is available as open-source. Michael Kunze in the German magazine C’t in 1998, and in that year the four words were first used in one word.ĭespite this naming, it can still not be concluded that these programs were made to work with each other. The idea of using the word LAMP was first coined by Mr. Perl or Python programming languages may be used instead of PHP in different projects). Web Stack uses Linux as the operating system, Apache as the webserver, Mysql as the RDBMS ( Relational Data Base Management System), and PHP as the object-oriented programming language.
To install lamp on ubuntu 18, we should know that LAMP is abbreviated as Linux, Apache, MySQL, PHP. These 4 programs are among the most popular Open-Source programs in the web world, which are known as Web Stack.