![]() ![]() Password: passwordformoodledude (the password for the user you created) User: moodledude (the user you created when setting up the database) Note - If you are not comfortable using terminal to create the config.php file that needs to be created when going through the installer, you should temporarily make the webroot writable by doing the following:Īfter you have ran the installer and you have moodle setup, you NEED to revert permissions so that it is no longer writable using the below command. ![]() Mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,CREATE TEMPORARY TABLES,DROP,INDEX,ALTER ON moodle.* TO IDENTIFIED BY 'passwordformoodledude' Where it says "moodledude" and "passwordformoodledude" you should change to the username and password of your choosing. Mysql> CREATE DATABASE moodle DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci Now we need to create the Moodle MySQL User with the correct permissions Restart MySQL Server for changes to take affect In order to save my.cnf using the editor, type the following in sequence which will save :w then close the editor :q Scroll down to the section and under Basic Settings add the following line under the last statement Sudo git checkout MOODLE_25_STABLE Step 5: Copy local repository to /var/www sudo cp -R /opt/moodle /var/www/ sudo mkdir /var/moodledata sudo chown -R www-data /var/moodledata sudo chmod -R 777 /var/moodledata sudo chmod -R 0755 /var/www/moodle Step 6: Setup MySQL Serverįirst we need to change the default storage engine to innodb Sudo git branch -track MOODLE_25_STABLE origin/MOODLE_25_STABLE Setup your local repository and download Moodle, We will use /opt for the local repository. Sudo apt-get install git-core Step 4: Download Moodle We will be using Git to install/update the Moodle Core Application Restart Apache so that the modules are loaded correctly Step 3: Install Additional Software sudo apt-get install aspell graphviz php5-pspell php5-curl php5-gd php5-intl php5-mysql php5-xmlrpc php5-ldap ' It will prompt you to set the root password for mysql - take note of it, you will need it in step 6. Sudo apt-get update sudo apt-get install apache2 mysql-client mysql-server php5 Open up Terminal and install the following 9 Suggestions: Install APC/Change Document Root.7.5 Create a Site Administrator Account.5 Step 5: Copy local repository to /var/www. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |