- download the learning vm
- watch these youtube videos
- [Getting Started with
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
SHOW VERSION; |
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
sed -i "s/php_admin_value\[open_basedir.*/php_admin_value\[open_basedir\]\ \=\ \/var\/www\/html\/\:\/tmp\:\/data\/moodledata\//g" /etc/php5/fpm/pool.d/app.conf |
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
<?php | |
# | |
# | |
$url = $_SERVER['REQUEST_URI']; | |
$schoolid = explode("/", $url)[2]; | |
$ch = curl_init(); | |
#$consul = $_ENV['CONSUL_HOST'] . ":" . $_ENV['CONSUL_PORT'] . "/pulse/tenant/?recursive"; | |
$consul_host = getenv('CONSUL_HOST'); |
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/env bash | |
set -o errexit | |
set -o nounset | |
set -x | |
export RETRIES=3 | |
# Document box build time | |
echo "Built by Packer on $(date +'%Y-%m-%d %H:%M:%S %Z')" \ |
NewerOlder