This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04 | |
# https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04 | |
# PHP My Admin Secure | |
# https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04 | |
# ================================================= | |
# At many places it will ask for your inputs for using disk space |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# /*================================= | |
# = VARIABLES = | |
# =================================*/ | |
INSTALL_NGINX_INSTEAD=1 | |
WELCOME_MESSAGE=' | |
____ ____ ____ ____ ____ | |
||D ||||e ||||v ||||I ||||T || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# /*================================= | |
# = VARIABLES = | |
# =================================*/ | |
WELCOME_MESSAGE=' | |
____ ____ ____ ____ ____ | |
||N ||||G ||||I ||||N ||||X || | |
||__||||__||||__||||__||||__|| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Add this to your config/app.php file | |
'debug_blacklist' => [ | |
'_ENV' => [ | |
'APP_KEY', | |
'DB_PASSWORD', | |
'REDIS_PASSWORD', | |
'MAIL_PASSWORD', | |
'PUSHER_APP_KEY', | |
'PUSHER_APP_SECRET', | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#---------------------------------------- | |
# OPTIONS | |
#---------------------------------------- | |
USER='root' # MySQL User | |
PASSWORD='password' # MySQL Password | |
DAYS_TO_KEEP=0 # 0 to keep forever | |
GZIP=1 # 1 = Compress | |
BACKUP_PATH='/backups/mysql' | |
#---------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#---------------------------------------- | |
# OPTIONS | |
#---------------------------------------- | |
DAYS_TO_KEEP=7 # 0 to keep forever | |
WWW_PATH='/var/www/public' | |
BACKUP_PATH='/backups/www' | |
#---------------------------------------- | |
# Create the backup folder |