Configurar um servidor na AWS

João Pina  - eu[at]tomahock.com

Easy Way

http://wiki.bitnami.com/Amazon_cloud

Tune it!

$ ssh -i CHAVE.pem ubuntu@<ip>

$  vi /opt/bitnami/apps/phpmyadmin/conf/nginx-app.conf

$ sudo ./ctlscript.sh restart nginx

http://54.171.73.234/phpmyadmin/

Right Click

Localhost

PHPStorm

Filezilla

Filezilla

Filezilla

Semi Easy Way

  • Servidor limpo na AWS
  • Instalar pacotes necessários manualmente
    • https://www.linode.com/docs/websites/lemp/
    • https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-14-04

 

Hard Way

  • wget http://nginx.org/download/nginx-1.7.6.tar.gz
  • tar -zxvf nginx-1.7.6.tar.gz
  • cd nginx-1.7.6
  • ./configure --prefix=/servers/nginx-1.7
  • make
  • make test
  • make install

Dúvidas ou questões?

@tomahock

eu[at]tomahock.com

Made with Slides.com