How to install a server Apache under Debian
Apache server
The Apache server is very widespread for its modularity and its configurations, There are three versions of Apache:
* Apache2-mpm-worker * Apache2-mpm-event * Apache2-mpm-prefork
We will see in this article how to install Apache2 on Debian.
"root" will be the default user with full rights
xxx.xxx.xxx.xxxwill match the IP address of your server[1]
What is Apache?
The Apache HTTP Server free software is an HTTP server created and maintained within the Apache[2] foundation. It is the most popular HTTP server on the World Wide Web. It is distributed under the terms of Apache liscence. Apache[3] supports many modules giving it additional functionality: interpretation of the Perl language, PHP, Python, Ruby. The configuration possibilities of Apache are a flagship feature. It is based on a hierarchy of configuration files, which can be managed independently. This feature is particularly useful for hosts that can easily serve the sites of several clients using a single HTTP server. This functionality is made visible by the .htaccess file
Rotary
To log in. 1. Please enter "ssh root@xxx.xxx.xxx.xxx" to connect to your server[4] if you are using any terminal (from Linux, Mac ...) 2. Please enter the user password. After logging in, you must then install the packages for Apache2. 3. Please enter "apt-get update" to update the list of available packages. 4. Please enter "apt-get install apache2" and confirm the different installation steps. 5. To check if the default Apache page is displayed, enter your server's[5] IP address in a browser.