Sign inSign up

elaskin/lamp-moodle

By elaskin

•Updated over 9 years ago

Image
0

193

elaskin/lamp-moodle repository overview

Directions:

  1. cd to the moodle-to-be directory
  2. git clone -b MOODLE_33_STABLE git://git.moodle.org/moodle.git --depth=1
  3. download my Dockerfile from bitbucket, https://[email protected]/eeg1/ubuntu-apache2-php-mysql-moodle.git⁠
  4. At this point you should have a directory with a Dockerfile and moodle directory
  5. from here docker build -t lamp-moodle .
  6. docker run -p 80:80 -ti lamp-moodle /bin/bash
  7. This gave you an interactive shell in the moodle container.
  8. start apache service apache2 start
  9. start mysql service mysql start
  10. follow directions here to create moodle database https://docs.moodle.org/31/en/Step-by-step_Installation_Guide_for_Ubuntu⁠
  11. visit localhost/install.php and follow the installation interface or install via command line php /var/www/html/admin/cli/install.php
  12. Please note that the script that installs apache (upon which this image is based) is configured specifically for usage on my pc.

Tag summary

Content type

Image

Digest

Size

346.2 MB

Last updated

over 9 years ago

docker pull elaskin/lamp-moodle