Create LXC Container as usual, but do not start it yet.
# Install NFS-Kernel on Host
apt install nfs-kernel-server
#!/bin/bash | |
#v=1.1 | |
TIMESTAMP=$(date +"%F-%H-%M") | |
SECONDS=0 | |
BACKUP_DIR="/root/backup/$TIMESTAMP" | |
MYSQL=/usr/bin/mysql | |
MYSQL_USER=root | |
MYSQL_PASSWORD=YOURMYSQLPASSWORDHERE | |
MYSQLDUMP=/usr/bin/mysqldump |
Verifying that "levifig.id" is my Blockstack ID. https://onename.com/levifig |
SSH into Root
$ ssh [email protected]
Change Root Password
# Reference http://stackoverflow.com/a/18490935/2037928 | |
# Login as root | |
# Install needed packages | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
cd /tmp | |
# Download appropriate ruby version https://www.ruby-lang.org/en/downloads/ |
This is a simple way to backup your MySQL tables to Amazon S3 for a nightly backup - this is all to be done on your server :-)
Sister Document - Restore MySQL from Amazon S3 - read that next
this is for Centos 5.6, see http://s3tools.org/repositories for other systems like ubuntu etc
### Keybase proof | |
I hereby claim: | |
* I am levifig on github. | |
* I am levifig (https://keybase.io/levifig) on keybase. | |
* I have a public key whose fingerprint is 5CC6 28F0 61B8 0B4D 44D3 498C D834 4ED0 94DD FCC9 | |
To claim this, I am signing this object: |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.0</real> | |
<key>Green Component</key> | |
<real>0.0</real> |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.48771023750305176</real> | |
<key>Green Component</key> | |
<real>0.48781105875968933</real> |