Giter Site home page Giter Site logo

giastfader / vagrant-moodlebox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from heitorsilva/vagrant-moodlebox

0.0 2.0 0.0 41.83 MB

Vagrant box to build up a Debian server running NGINX (latest), PHP 7, MySQL 5.7, NodeJS 6 and Moodle 3.1.

License: GNU General Public License v3.0

Shell 100.00%

vagrant-moodlebox's Introduction

MoodleBox

This repository is a Vagrant box to build up a Debian server running NGINX (latest), PHP 7, MySQL 5.7, NodeJS 6 and Moodle 3.1.

====================

Instructions

This box was made in a way that supports Vagrant 1.8.1 or higher. It also requires VirtualBox 5.

After cloning this repository on your computer, from inside the vagrant-moodlebox directory, type:

vagrant up

You can log to this box by using:

vagrant ssh

The default user is vagrant, and its password is vagrant.

You can access this box with 2 addresses:

http://192.168.1.2 # which points to /home/vagrant/public_html
http://192.168.1.2/moodle # which points to a working Moodle installation

ATTENTION
If you run Vagrant on a Unix-like operating system, it's possible that it will ask a password every time you do vagrant up or vagrant halt.
This password will be the one from the user that has the right to run sudo commands.
In case you want Vagrant to never ask for a password again when using the mentioned commands, you must add one line in the sudoers file.

sudo visudo

At the end of the file, add this:

Cmnd_Alias VAGRANT_HOSTMANAGER_UPDATE = /bin/cp /home/<YOUR_USER>/.vagrant.d/tmp/hosts.local /etc/hosts
%sudo ALL=(root) NOPASSWD: VAGRANT_HOSTMANAGER_UPDATE

Change <YOUR_USER> for the user that you use on your operating system, that has permission to run sudo commands.

Reference: http://www.josheaton.org/how-to-automatically-add-hosts-to-vagrant-without-a-password-on-os-x/

====================

Passwords

Debian:

username=vagrant
password=vagrant

MySQL:

username=root
password=

Moodle:

username=admin
password=Admin1234

vagrant-moodlebox's People

Contributors

heitorsilva avatar

Watchers

James Cloos avatar  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.