install packages first:
yay -S xl2tpd strongswan networkmanager-l2tp
ref: https://wiki.archlinux.org/index.php/Openswan_L2TP/IPsec_VPN_client_setup
FROM php_base:latest | |
RUN apt update -y && apt upgrade -y | |
WORKDIR /var/www/html | |
RUN composer update --optimize-autoloader | |
COPY src/. /var/www/html | |
COPY build/php/.env.local /var/www/html/.env |
install packages first:
yay -S xl2tpd strongswan networkmanager-l2tp
ref: https://wiki.archlinux.org/index.php/Openswan_L2TP/IPsec_VPN_client_setup
*Pré requisitos ********* | |
=> git instalado | |
=> heroku cli instalado | |
=> aplicação gerenciada pelo git | |
************************* | |
#Login no heroku | |
heroku login | |
#Criando aplicação |
Please visit https://asistencia.in/blogs/1-mysql-5-5-installation-guide
Thank you
#!/bin/bash | |
## Install PageSpeed on Debian 8/9 and Ubuntu 16.04 64Bits | |
## https://www.howtoforge.com/tutorial/how-to-install-nginx-and-google-pagespeed-on-ubuntu-16-04/ | |
## http://nginx.org/en/linux_packages.html | |
## https://www.modpagespeed.com/doc/build_ngx_pagespeed_from_source | |
## https://developers.google.com/speed/pagespeed/module/ | |
## Debian ISO: https://cdimage.debian.org/cdimage/archive/8.9.0/amd64/iso-cd/ | |
## No Link abaixo tem o pacote do Nginx para o Debian 8 64Bits | |
## https://github.com/jniltinho/ispconfig/tree/master/packages/debian/jessie | |
## Run as root (sudo su) |
#!/usr/bin/env bash | |
#################################################################################### | |
# Slack Bash console script for sending messages. | |
#################################################################################### | |
# Installation | |
# $ curl -s https://gist.githubusercontent.com/andkirby/67a774513215d7ba06384186dd441d9e/raw --output /usr/bin/slack | |
# $ chmod +x /usr/bin/slack | |
#################################################################################### | |
# USAGE | |
# Send message to slack channel/user |
FROM php:7.1.2-apache | |
RUN docker-php-ext-install mysqli |
#!/bin/bash | |
## Author: Jose Nilton >> www.linuxpro.com.br | |
## Install ISPConfig 3 on Debian 9 64Bits | |
## ISPConfig3 3 + Nginx + Debian 9 64Bits | |
## VM HD 50GB, swap 2GB, / 20GB, /var/www all | |
## Filesystem ext4 | |
## Run as root | |
## Link: https://www.howtoforge.com/tutorial/perfect-server-debian-jessie-nginx-bind-dovecot-ispconfig-3.1/ |
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
# | |
# Auth filter /etc/fail2ban/filter.d/nginx-auth.conf: | |
# | |
# Blocks IPs that makes too much accesses to the server | |
# | |
[Definition] | |
failregex = ^<HOST> -.*"(GET|POST).*HTTP.*" | |
ignoreregex = |