Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  •  Install Apache2 package
    •      sudo apt update
    •     sudo apt install apache2
  •    Check the firewall application profiles
    •     sudo ufw app list
  •    Modify firewall rules to allow Apache2
    •       sudo ufw allow 'Apache'   
  • Verify the status
    • sudo ufw status
  • Verify Apache2 service is running using systemd command
    • sudo systemctl status apache2
  • Server can be connected using http request, http://<ip of device> (ex: http://192.168.2.8)

  • Configuration files for Apache2 can be found in /etc/apache2/.
  • We should place tar file to document root folder for accessing it. Check document root folder mentioned in conf file. This can be found in path /etc/apache2/sites-available/. 


    Ex: vim /etc/apache2/sites-available/000-default.conf

    <VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    </VirtualHost>



Enabling the FirmwareControl Plugin:

...