cd /path/to/backups
mysql -u root -h 127.0.0.1 -p --default-character-set=utf8
# Switch to database USE database_name;| version: "3" | |
| services: | |
| postgres15: | |
| image: 'nickblah/postgis:15-postgis-3' | |
| container_name: postgres-15 | |
| restart: unless-stopped | |
| ports: | |
| - "${FORWARD_PGSQL_PORT:-5432}:5432" | |
| volumes: |
| # /etc/nginx/sites-enabled/laravel.conf | |
| server { | |
| listen 80; | |
| # listen 443 ssl; | |
| # ssl_certificate /etc/nginx/certs/laravel.test.pem; | |
| # ssl_certificate_key /etc/nginx/certs/laravel.test-key.pem; | |
| server_name laravel.test *.laravel.test; |
| # This to be used when you need to implement SSL | |
| # Make sure that apache mod_ssl is on | |
| # You can generate self signed certificates for development | |
| # http://www.selfsignedcertificate.com/ | |
| <VirtualHost *:443> | |
| ServerName yourapp.test | |
| #ServerAlias www.yourapp.test |
| #!/bin/bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| # Ubuntu 20/22 dev Server | |
| # Run like (without sudo) - bash install_lamp.sh | |
| # Script should auto terminate on errors | |
| export DEBIAN_FRONTEND=noninteractive |