You are on page 1of 1

lsb_release -a ---> validar version de S.O.

sudo apt update ---> validar actulizacioneas


sudo apt upgrade ---> aplicar actulizaciones
sudo apt install tasksel ---> herramienta para instalar GUI DEBIAN
sudo tasksel ---> mandamos a llamar herramienta
Startx ---> iniciar el GUI

#########################################################3
web server
sudo apt-get update
sudo apt-get install python3
sudo apt-get install python3-pip
pip3 install Django
django-admin startproject django_app
sudo apt-get update
sudo apt-get install apache2

a2enmod proxy proxy_http proxy_html


service apache2 restart

<VirtualHost *:80>
ServerName n1g1channel.duckdns.org
ProxyPreserveHost On
ProxyPass / http://localhost:5000/
ProxyPassReverse / http://localhost:5000/
#RewriteEngine on
#RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
#RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
#RewriteRule /(.*) ws://127.0.0.1:5000/$1 [P]
</VirtualHost>

You might also like