#Debian 8 DO Locale Issues Fix
##Problem
"Locale problems" in both the 32-bit & 64-bit versions of Debian 8 droplets
Create a new Debian 8 droplet and login as root:
#Debian 8 DO Locale Issues Fix
##Problem
"Locale problems" in both the 32-bit & 64-bit versions of Debian 8 droplets
Create a new Debian 8 droplet and login as root:
| #! /usr/bin/env bash | |
| # Variables | |
| APPENV=local | |
| DBHOST=localhost | |
| DBNAME=dbname | |
| DBUSER=dbuser | |
| DBPASSWD=test123 | |
| echo -e "\n--- Mkay, installing now... ---\n" |
| #!/bin/bash | |
| # Authorize TCP, SSH & ICMP for default Security Group | |
| #ec2-authorize default -P icmp -t -1:-1 -s 0.0.0.0/0 | |
| #ec2-authorize default -P tcp -p 22 -s 0.0.0.0/0 | |
| # The Static IP Address for this instance: | |
| IP_ADDRESS=$(cat ~/.ec2/ip_address) | |
| # Create new t1.micro instance using ami-cef405a7 (64 bit Ubuntu Server 10.10 Maverick Meerkat) |
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |
Getting started:
Related tutorials:
This is a collection of snippets, not a comprehensive guide. I suggest you start with Operational PGP.
Here is an incomplete list of things that are different from other approaches:
| #!/usr/bin/env python | |
| import ConfigParser | |
| import os | |
| import time | |
| import getpass | |
| def get_dump(): | |
| print "Enter user:" | |
| user = raw_input() |