Coder Social home page Coder Social logo

sfbreno's Introduction

Site do Breno

Feito em Symfony 1.4

sfbreno's People

Contributors

lagden avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar

sfbreno's Issues

AWS LEMP

Debian 9

Atualizando o sistema

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Instalando Nginx

sudo apt-get update
sudo apt-get install nginx

PHP

sudo apt install gnupg2 -y
wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php7.x.list
sudo apt update
sudo apt upgrade
sudo apt install php7.4-fpm
sudo apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl -y

Certbot

echo "deb http://deb.debian.org/debian stretch-backports main" | sudo tee /etc/apt/sources.list.d/stretch-backports.list
sudo certbot --nginx -d brenoimoveis.com.br

Renew

crontab -e
15 3 * * * /usr/bin/certbot renew --quiet --post-hook "systemctl reload nginx"

Useful

Copia os dados de um arquivo remoto para área de trabsferencia

ssh -i ~/.ssh/aws_rsa [email protected] 'cat /etc/nginx/nginx.conf' | pbcopy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.