Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork30
A Moodle server and Wi-Fi router on Raspberry Pi Zero 2w, 3, 4 and 5
License
moodlebox/moodlebox
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A Moodle server and Wi-Fi router on Raspberry Pi.
Visit theMoodleBox web site for more information about the MoodleBox features or any question about the usage of a MoodleBox.
If you just want to use a MoodleBox, justinstall it with Raspberry Pi Imager on your Raspberry Pi Zero 2 W, 3A, 3B, 3B+, 4B, 400 or 5 and use it out of the box. Follow the instructions on theMoodleBox web site.
We have an activediscussion forum where users and developers can ask questions. Please don't use the GitHub issue tracker to ask questions.
If you just want to use a MoodleBox,you don't need to build the MoodleBox disk image yourself. Justinstall it with Raspberry Pi Imager on your Raspberry Pi Zero 2 W, 3A, 3B, 3B+, 4B, 400 or 5 and use it out of the box. Follow the instructions on theMoodleBox web site.
To build a MoodleBox from scratch with this script, you need a Raspberry Pi 3B, 3B+, 4B or 5.
- CloneRaspberry Pi OS (64-bit) Lite image on your microSD card.
- Create a
ssh.txtfile on thebootfspartition with any content. - Create a
userconf.txtfile on thebootfspartition, and add the following line to it:moodlebox:$6$rmLgDblolU16oLmc$i7QzARV8o84tCDQA/Kq1xU3eYwPWlocqVmpFTcSWqAqiWJpFyTLd.g9W5ktDDh16rq5lwYG9wpHY224m5nHLk0 - Insert the microSD card into your Raspberry Pi.
- Connect your Raspberry Pi to your Ethernet network and boot it.
- Install Ansible on your computer. On macOS, use e.g.
brew install ansible. - Install
sshpassto enable passing SSH password to the Raspberry Pi. On macOS, use e.g.brew tap esolitos/ipa; brew install sshpass. - Clone this repository to your local drive.
- Create a
keysdirectory in the repository folder and copy your public key into it, under the nameid_rsa.pub. - Get the IP address of your Raspberry Pi and change it in the
hosts.ymlfile. Do not change anything else, unless you know what you're doing. You're on your own. - Run
ansible-playbook moodlebox.ymlfrom the repository folder. - Wait 15–50 minutes, depending on your Raspberry Pi model, SD card speed and Internet bandwidth. You're done.
You can override any of the defaults configured indefault.config.yml by creating aconfig.yml file and setting the overrides in that file. For example, you can change the MoodleBox main credentials and the timezone with something like:
moodlebox_username: 'myusername'moodlebox_password: 'secret'moodlebox_timezone: 'Australia/Perth'Any variable can be overridden inconfig.yml; see the filedefault.config.yml for a list of available variables.
The code is available athttps://github.com/moodlebox/moodlebox.
SeeRelease notes.
MoodleBox is sponsored byE-learning Touch' Moodle Partner.
- To Daniel Méthot, for theidea of a MoodleBox
- To Christian Westphal, for thefirst POC of a MoodleBox
- To theRaspberry Pi Foundation, for a splendid small computer
- ToMartin Dougiamas, for giving us Moodle, and to theMoodle community
Copyright © 2016 onwards, Nicolas Martignoninicolas@martignoni.net.
All contributions to this repository are licensed under AGPLv3 or any later version.
MoodleBox doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if theychanged it substantially:
@copyright Copyright © <year>, <your name> (<your email address>)About
A Moodle server and Wi-Fi router on Raspberry Pi Zero 2w, 3, 4 and 5
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
