Last active
January 1, 2016 19:09
-
-
Save mikekunze/8188726 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
export DEBIAN_FRONTEND=noninteractive | |
echo "deb http://archive.ubuntu.com/ubuntu/ precise main universe" > /etc/apt/sources.list; apt-get update; | |
apt-get -y install apache2 php5 php5-gd libapache2-mod-php5 postfix wget supervisor ssh php5-pgsql vim curl libcurl3 libcurl3-dev php5-curl php5-xmlrpc php5-intl | |
echo "root:admin" | chpasswd; mkdir /var/run/sshd | |
cd /tmp; tar zxvf moodle-2.6.tgz; mv /tmp/moodle /var/www | |
chown -R www-data:www-data /var/www/moodle | |
mkdir /var/moodledata | |
chown -R www-data:www-data /var/moodledata; chmod 777 /var/moodledata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment