This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# update repo | |
sudo apt-get update | |
# upgrade and install latest updates | |
sudo apt-get upgrade | |
# generate UTF-8 lang | |
sudo locale-gen UTF-8 | |
# install lamp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php -q | |
<?php | |
date_default_timezone_set('UCT'); | |
$dryrun = FALSE; | |
$interval = '24 hours'; | |
$keep_for = '10 Days'; | |
$volumes = array('vol-9677d14a'); | |
$api_key = 'AKI****EYUA'; | |
$api_secret = 'IzMni****ct'; |