This file contains hidden or 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
APP_ENV=local | |
APP_DEBUG=true | |
APP_KEY=TwlfgT5igsg2CKRV9Z1K4L5yw2eLiDy6 | |
DB_HOST=localhost | |
DB_DATABASE=NOME-DO-BANCO-DE-DADOS | |
DB_USERNAME=USUARIO-BANCO-DE-DADOS | |
DB_PASSWORD=SENHA | |
CACHE_DRIVER=file |
This file contains hidden or 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 | |
cd | |
apt-get install curl git -y | |
curl -sS https://getcomposer.org/installer | php | |
mv composer.phar /usr/local/bin/composer |
This file contains hidden or 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
<?php | |
$cfg['blowfish_secret'] = 'EnsoExtremeBushidoTech'; | |
$i = 0; | |
$i++; | |
/* Authentication type */ | |
$cfg['Servers'][$i]['auth_type'] = 'cookie'; | |
/* Server parameters */ | |
$cfg['Servers'][$i]['host'] = 'localhost'; |
This file contains hidden or 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
GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'senha'; | |
GRANT USAGE ON mysql.* TO 'pma'@'srv.dominio.com' IDENTIFIED BY 'senha'; | |
GRANT USAGE ON mysql.* TO 'pma'@'%' IDENTIFIED BY 'senha'; | |
GRANT SELECT ( | |
Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv, | |
Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, | |
File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, | |
Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv, | |
Execute_priv, Repl_slave_priv, Repl_client_priv |
This file contains hidden or 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 | |
cd | |
wget http://ufpr.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.4.10/phpMyAdmin-4.4.10-all-languages.zip | |
apt-get install unzip -y | |
unzip phpMyAdmin-4.4.10-all-languages.zip | |
mv phpMyAdmin-4.4.10-all-languages /var/www/phpmyadmin/ | |
chown -R www-data:www-data /var/www/ | |
chmod 775 -R /var/www/ |
This file contains hidden or 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
location ~ \.(hh|php)$ { | |
proxy_intercept_errors on; | |
error_page 502 = @fallback; | |
try_files $uri =404; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
fastcgi_keep_conn on; | |
include /etc/nginx.custom.d/fastcgi_params; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; |
This file contains hidden or 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
# Copyright (c) 1993-2009 Microsoft Corp. | |
# | |
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows. | |
# | |
# This file contains the mappings of IP addresses to host names. Each | |
# entry should be kept on an individual line. The IP address should | |
# be placed in the first column followed by the corresponding host name. | |
# The IP address and the host name should be separated by at least one | |
# space. | |
# |
This file contains hidden or 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
location ~ \.(hh|php)$ { | |
proxy_intercept_errors on; | |
error_page 502 = @fallback; | |
try_files $uri =404; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
fastcgi_keep_conn on; | |
include /etc/nginx.custom.d/fastcgi_params; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; |
This file contains hidden or 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
fastcgi_param QUERY_STRING $query_string; | |
fastcgi_param REQUEST_METHOD $request_method; | |
fastcgi_param CONTENT_TYPE $content_type; | |
fastcgi_param CONTENT_LENGTH $content_length; | |
fastcgi_param SCRIPT_NAME $fastcgi_script_name; | |
fastcgi_param REQUEST_URI $request_uri; | |
fastcgi_param DOCUMENT_URI $document_uri; | |
fastcgi_param DOCUMENT_ROOT $document_root; |
This file contains hidden or 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
$TTL 604800 | |
@ IN SOA ns1.abc.com. hostmaster.abc.com. ( | |
5 ; Serial | |
604800 ; Refresh | |
86400 ; Retry | |
2419200 ; Expire | |
604800 ) ; Negative Cache TTL | |
; |