GithubHelp home page GithubHelp logo

karaitiana / make-moodlebox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moodlebox/moodlebox

0.0 1.0 0.0 4.49 MB

A project to build a Moodle server and Wi-Fi router on a Raspberry Pi 3

License: GNU General Public License v3.0

Shell 97.96% HTML 2.04%

make-moodlebox's Introduction

MoodleBox

A project to build a Moodle server and Wi-Fi router on a Raspberry Pi 3.

How to use a MoodleBox

Visit the MoodleBox web site for any question about the usage of a MoodleBox.

Features of the MoodleBox

  • MoodleBox hostname is moodlebox. It's reachable on the local network with FQDN moodlebox.home. Access via SSH is enabled on port 22 ; username: moodlebox, password: Moodlebox4$ (e.g. ssh [email protected]).
  • Wi-Fi access point. SSID: MoodleBox; password: moodlebox.
  • Internet access: when the MoodleBox is connected via ethernet to a network connected to Internet, the MoodleBox acts as a router (IP forwarding) and the Wi-Fi clients have access to Internet.
  • Moodle 3.3.x LMS reachable via Wi-Fi (or ethernet, see below), URL: http://moodlebox.home/; standard configuration of Moodle with no customisation. An admin account for the Moodle, username: admin, password: Moodlebox4$. The Moodle server is configured to accept the clients from the Moodle official mobile app. The maximal size of uploaded files is set to 50Mb. The cron is launched every 3 minutes.
  • When a USB key is inserted in the MoodleBox, all the files on it are available for the admins and teachers of the Moodle server, via a File system repository.
  • Integrated in Moodle administration interface (MoodleBox plugin):
    • GUI to restart and shutdown the MoodleBox.
    • GUI to change the password of the MoodleBox.
    • GUI to change the password of the Wi-Fi network published by the MoodleBox.
    • GUI to set date and time of the MoodleBox (when away from Internet connection).
  • PhpMyAdmin is installed with an admin account; username: moodlebox, password: Moodlebox4$.

Building the MoodleBox

To build a MoodleBox from scratch with this script, you need a Raspberri Pi 3 (Wi-Fi!) and follow these instructions.

  1. Clone Rasbpian Jessie Lite on your microSD card
  2. Create a ssh file on the boot partition, e.g. touch ssh
  3. Login to your RPi with the default user pi: ssh [email protected]
  4. Upgrade your Raspbian installation: sudo apt-get update && sudo apt-get dist-upgrade -y
  5. Install rsync: sudo apt-get install rsync, then logout
  6. Prepare a file authorized_keys containing your public keys
  7. Launch bash copy-sshkeys-to-rpi.sh and enter the pi user default password (raspberry)
  8. Login to your RPi with the user root (no password required): ssh [email protected]
  9. Launch curl -L https://raw.githubusercontent.com/martignoni/make-moodlebox/master/make_moodlebox.sh | bash

Building a MoodleBox manually

If you prefer to build a MoodleBox manually, follow the instructions given in the documentation included in the doc folder of this project, as a LaTeX document (in french; sorry, no english version as of now, pull request highly desirable).

Availability

The code is available at https://github.com/martignoni/make-moodlebox.

A prepared disk image of the latest released version is available for downloading, cloning on your microSD card and using out of the box on your Raspberry Pi 3.

Release notes

See Release notes.

Thanks

License

Copyright © 2016 onwards, Nicolas Martignoni [email protected]

  • All the source code is licensed under GPL 3 or any later version
  • The documentation is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

make-moodlebox's People

Contributors

martignoni avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.