1/6/2024 0 Comments Git clone command ubuntuWell down in the file you will find the options to turn on debugging. You can create Moodle's config.php file by copying config-dist.php to config.php and editing it. If something goes wrong in the actual Moodle installation - switch on Debugging.Then go to the Site administration > Notifications page in Moodle to complete the upgrade. Using the repository we did gives you the latest weekly at any time. This secures the Moodle code, preventing it being overwritten by hackers.īecause we installed using Git, updating Moodle (on the same stable branch) becomes surprisingly simple. Open Firefox and go to address You should be able to install Moodle using the information indicated aboveĭon't skip this step. There is lots of information online, although do note that the Ubuntu Apache configuration is rather different to the standard layout. The standard configuration of Apache on Ubuntu should work fine and will give you a Moodle URL of (or If you need other configurations or a different form of URL, now is the time to configure this. When you install moodle the database is called 'moodle', the database user 'moodleuser' and the password as above.This is the password for your moodle database Set 'mypassword' to something you make up.The grant command creates the MySQL account 'moodleuser' with the supplied password and gives it rights to the moodle database all in one command.don't type 'mysql>', that's just the prompt from the mysql client.Mysql> grant all on moodle.* to identified by 'mypassword' Mysql> create database moodle default character set utf8 Unless you have changed it, this is same as your login password (or whatever you set up when you installed MySQL above). You will need the root database password. The moodle data location (for installation) is /var/moodledata.You can create this where you like (more or less) but I will do (assuming you are still superuser). The moodle code location (for installation) is /var/www/moodle.Still as superuser ('sudo su' from before): The chmod (temporarily) allows the installation script to write the config file. You could just download it, but this is more fun! The checkout switches to the latest (weekly) of the 2.6 branch. We're going to use Git to pull the latest code. (on Server) open a web browser on a remote machine and go to and make sure you see 'It works!'.(on Desktop) open a web browser and go to and make sure you see 'It works!'.Sudo su (you will need to enter your password)Īpt-get install php5-gd php5-curl php5-intl php5-xmlrpcĪpt-get install php5 mysql-server mysql-client apache2 php5-mysql become root (and stay there right through this), install some additional software (git and php extras Moodle needs):.Open a terminal window (from Applications>Accessories) on Desktop or log into the terminal on Server.Note: This old documentation uses PHP 5, but current Moodle 3.5 should use PHP 7
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |