-
Open the Terminal
-
Use
mysqldump
to backup your databases -
Check for MySQL processes with:
ps -ax | grep mysql
-
Stop and kill any MySQL processes
-
Analyze MySQL on HomeBrew:
brew remove mysql
#!/usr/bin/env php | |
<?php | |
/* | |
* Filter to fill the IP gaps in a MaxMind GeoLite tables. | |
* | |
* For every missing range in the file it puts a dummy one. | |
*/ | |
$types = [ | |
'asnum' => [0, 0, 1, "%s,%s,\"-\"\n"], | |
'blocks' => [2, 0, 1, "\"%s\",\"%s\",\"1\"\n"], |
upstream servers-frontend { | |
ip_hash; | |
server 10.10.137.100:80; # server-1 | |
server 10.10.126.101:80; # server-2 | |
} | |
upstream server-2 { | |
server 10.10.137.101:80; | |
} |
#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.
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