Skip to content

Instantly share code, notes, and snippets.

View leandrodaf's full-sized avatar
:octocat:

Leandro Ferreira leandrodaf

:octocat:
  • Mercado Livre
  • São Paulo
  • 00:31 (UTC -03:00)
View GitHub Profile
@leandrodaf
leandrodaf / .gitlab-ci.yml
Created June 1, 2021 17:07 — forked from andregaldino/.gitlab-ci.yml
Vue Gitlab CI - Node 10
image: node:10-alpine
.init_ssh: &init_ssh |
eval $(ssh-agent -s)
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
mkdir -p ~/.ssh
chmod 700 ~/.ssh
[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
.requirements: &requirements |
@leandrodaf
leandrodaf / Laravel PHP7 LEMP AWS.md
Created April 27, 2017 01:20 — forked from santoshachari/Laravel PHP7 LEMP AWS.md
Laravel 5.x on Ubuntu 16.x, PHP 7.x, Nginx 1.9.x

#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.

Install PHP 7 on Ubuntu

Run the following commands in sequence.

sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip