Desplegament d'aplicacions web
La revisió el 12:57, 13 gen 2014 per Enric (discussió | contribucions) (→UF4: Control de versions i documentació)
Continguts per l'assignatura de DAW M8 Desplegament d'aplicacions web.
Per seguir el curs és interessant (si no imprescindible) utiltizar un servidor públic. És molt convenient fer-nos un compte de AWS: Amazon Web Services amb el que podem gaudir d'un any de servidor gratuïtament.
Contingut
UF1: Servidors web i de transferència de fitxers
Introducció:
- Comandes Linux per xarxes. Aquí podeu trobar l'arxiu que cal esborrar per "oblidar" les @MAC dels Ubuntu Servers.
 - Encriptació (teoria): Seguretat i connexió remota. Xifratge i sistemes de clau compartida i de clau pública/privada.
 - Exercici SSH: la base per treballar amb servidors remots.
- Potser necessites això: Comandes Linux per xarxes.
 
 - AWS: Amazon Web Services: configura el teu VPS (Virtual Private Server)
 
Servidor web Apache:
- Apache2 en GNU/Linux. Configura diversos dominis en una màquina (virtual hosts).
 - Autenticació Apache
 - SSL (Secure Socket Layer) i certificats: Certificats_Autofirmats_amb_Apache2_i_openSSL Certificats autofirmats.
 - Apache i DNIe. Ens caldrà habilitar el servidor HTTPS i crear els certificats.
 
Servidors de transferència de fitxers (FTP):
- Practica VSFTPD: Very Secure FTP Daemon en GNU/Linux
 - Practica PROFTPD: un altre servidor per GNU/Linux
 
Altres servidors web:
- IIS amb PHP. Habilitarem el servidor web IIS (Internet Information Services) en Windows 2008 Server i habilitarem el PHP.
 - FTP en Windows 2008:
- Ingerat en IIS
 - Filezilla Server
 
 
UF2: Servidors d'aplicacions web
Apache i Python (WSGI)
- Pyramid framework: Fase de deployment (a cacauet.org). Continguts (accés ràpid):
- Apache i WSGI: http://code.google.com/p/modwsgi/wiki/InstallationInstructions
 - Configurant WSGI: http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
 - Setup WSGI per executar arxius .wsgi o .py: http://ubuntuforums.org/showthread.php?t=833766
 - Integració de Apache WSGI i Pylons: http://code.google.com/p/modwsgi/wiki/IntegrationWithPylons
 
 - Buildout: per construir projectes Pyramid i facilitar el desplegament.
 - Python: Pyramid framework#Autenticació: per control d'usuaris i sessions.
 
Servidors d'aplicacions web
- Apache Tomcat: servidor d'apps. Java per Apache
- Pàgina oficial: http://tomcat.apache.org/
 - Tutorial Tomcat+Eclipse+Servlets: http://www.coreservlets.com/Apache-Tomcat-Tutorial/
 - Tutorial (obsolet): http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
 
 - Zope: servidor d'aplicacions per Python
- Plone: CMS basat en Python
 - Per crear projecte de Plone: http://plone.org/products/zopeskel/
 
 - Google AppEngine
 
Altres
- Autenticació en Pyramid.
 - Dominis de seguretat.
 - Sessions
 - Comunicació servidor web <-> servidor d'aplicacions
 - Servidor d'aplicacions amb SSL
 
UF3: Desplegament d'aplicacions web
- DNS
- Root name servers: les arrels del sistema DNS mundial.
 - DNS Linux en producció
 
 - Integració d'aplicacions web amb serveis de directori
 - Autenticació en directoris: LDAP
 
UF4: Control de versions i documentació
Control de versions:
- Control de versions (aritcle de teoria
 - Git: comandes
 - SVN: Subversion. No el veurem en aquest curs.
 
Documentació:
- Sphinx:
- Pàgina oficial: http://sphinx.pocoo.org/
 - Tutorial per un primer projecte: http://codeandchaos.wordpress.com/2012/07/30/sphinx-autodoc-tutorial-for-dummies/
 - Pyramid: documentant amb Sphinx
 
 - Doxygen
 - Mercurial
 - Wiki (mediawiki/trac)