sudo apt-get install apache2
sudo apt-get install libapache2-mod-wsgi
edit the file /etc/apache2/sites-enabled/000-default.conf
add the following line at the end of the <VirtualHost *:80> block, right before the closing </VirtualHost> line: WSGIScriptAlias / /var/www/html/myapp.wsgi
sudo apache2ctl restart
sudo nano /var/www/html/myapp.wsgi