If you haven't, install VirtualBox.
Then:
bash init.sh
OR the hard way (this is the contents of the init.sh script):
bundle
librarian-chef install
vagrant up
- bundle pulls the gems. knife-solo, librarian, vagrant specifically.
- librarian-chef install pulls the cookbooks from opscode.
- vagrant up runs the recipes fetched by Librarian and boots the VM. It also sets some config stuff, like setting the root mysql password to 'helloworld'
Is probably something like this:
mysql --port=3306 --protocol=TCP -u root -h 127.0.0.1 -p
Restoring a DB backup might look like:
mysql --port=3306 --protocol=TCP -u root -h 127.0.0.1 -p wordpress < db.sql
-
Auto-restore a database dump. We keep DB snapshots in S3, so this is probably a s3cmd command and some minor plumbing.
-
Lots of other things.