# LAMP

1. Build LAMP Server:

   https://www.tecmint.com/install-lamp-on-debian-10-server/

   Where is my site?

   https://www.tecmint.com/find-apache-documentroot-in-linux/

       # grep -i 'DocumentRoot' /etc/apache2/sites-available/000-default.conf
                DocumentRoot /var/www/html
       # grep -i 'DocumentRoot' /etc/apache2/sites-available/default-ssl.conf
                        DocumentRoot /var/www/html

2. Install DNSMasq (in case it's not already installed):

       # apt install dnsmasq

   Append to /etc/dnsmasq.conf

       interface=eth1
       address=/ufo.mars/10.0.10.1
       dhcp-range=eth1,10.0.10.20,10.0.10.25,12h

3. Follow this guide starting from: "# ANNEX C. # MARIA'S STUFF"

   http://nelus.tpt.edu.ee/txt/K2C60-ArchDay2and3.txt

   On rescue machine (connected to Gateway NIC eth1) Show this home page.

   http://ufo.mars/qtpt.php

   It should look so:

4. Create web page with containing joker.html source, and show this with resque machine browser:

## Links:

1. https://www.electrictoolbox.com/mysql-table-structure-describe/
2. https://www.tecmint.com/install-lamp-on-debian-10-server/
3. https://www.tecmint.com/find-apache-documentroot-in-linux/