Moodle Ubuntu: Install

Sdílet
Vložit
  • čas přidán 24. 08. 2024
  • Install Moodle on Ubuntu in 6 steps:
    1 - Install required software packages (PHP, Apache2, MySQL).
    2 - Amend php.ini and start Apache2.
    3 - Download MOODLE.
    4 - MySQL.
    5 - Permissions.
    6 - Install MOODLE.
    Download free (PDF) guide:
    github.com/TOW...
    Other Moodle Videos:
    • Moodle Ubuntu: Backup ...
    • Moodle Ubuntu: Upgrade
    Moodle:
    moodle.org/

Komentáře • 26

  • @olayinkaojo8828
    @olayinkaojo8828 Před měsícem +2

    This tutorial is very briliant and straight forward.

    • @towios462
      @towios462  Před měsícem +1

      Thank you so much 😊👍

  • @stephenmcguire92
    @stephenmcguire92 Před 2 měsíci +2

    Incredibly helpful, thank you.

  • @SoloPlax
    @SoloPlax Před rokem +2

    Thank you very much. The only change I made was using Git (same instruction as on Moodle Docs) because I am using a headless server. Otherwise, your instructions works very well for me. Thank You.

  • @dastandaniyarov4433
    @dastandaniyarov4433 Před rokem +2

    Здравствуйте, пишу я вас Кыргызстана, ваш метод очель легкий и понятный, да еще с документацией Moodle 4.2 на PHP 8. Нуу Вообщем лайк и подписка. Спасибо еще раз)))

  • @JaimeRuiz-ls8op
    @JaimeRuiz-ls8op Před 11 měsíci +1

    Ty, also work in debian 12, i was very stressed

  • @Gamesoldier68
    @Gamesoldier68 Před 11 měsíci +2

    Thank you very much for the very informative video. I do have a question. I have been trying to use not only MySQL but also Mariadb. Would you happen to have any information regarding Mariadb installation? I have attempted this a couple of times now and cannot get MySQL to start up or restart. Moodle site does have some MariaDB information, but some of the instructions are confusing. Thank you!

    • @towios462
      @towios462  Před 11 měsíci +1

      MOODLE AND MARIADB:
      A) INSTALL MARIADB
      - sudo apt install mariadb-server mariadb-client -y
      - sudo systemctl status mariadb
      - sudo systemctl start mariadb
      - sudo systemctl enable mariadb
      B) RUN MARIADB / CREATE DB
      - sudo mariadb -u root -p
      - CREATE DATABASE moodle DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
      - show databases;
      - create user 'moodleuser'@'localhost' IDENTIFIED BY 'password123';
      - GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,CREATE TEMPORARY TABLES,DROP,INDEX,ALTER ON moodle.* TO 'moodleuser'@'localhost';
      C) AMEND THE FOLLOWING:
      (If you are using MariaDB and the moodle installer complains about the wrong version of MySQL, edit)
      - cd var/www/html/moodle/
      - nano config-dist.php
      - Ensure that the following CFG properties match this:
      $CFG->dbtype = 'mariadb';
      $CFG->dblibrary = 'native';
      D) INSTALL MOODLE USING MARIADB
      - During installation, when asked to select the Database ‘Type’, from the dropdown menu, select: ‘MariaDB (native/mariadb)
      REFERENCES:
      www.cherryservers.com/blog/how-to-install-and-start-using-mariadb-on-ubuntu-20-04
      wiki.archlinux.org/title/moodle

    • @towios462
      @towios462  Před 11 měsíci +2

      Re MySQL, ensure that all commands if copied then pasted from the instructions into the terminal Konsole have no additional spaces. If the very first command had extra spaces in (when installing the required software) you will later run into problems. There could be a number of reasons to your issue, but I would start from the beginning again, making sure all commands have no additional spaces.

    • @Gamesoldier68
      @Gamesoldier68 Před 11 měsíci +1

      @@towios462 Thank you! I'll make sure to copy and paste all commands with no additional spaces. I will also look at the Mariadb install instructions closely, to make sure all commands entered are correct.

  • @munnavasu7282
    @munnavasu7282 Před 3 měsíci +1

    is it possible for change the name in url after lochalhost "moodle"

    • @towios462
      @towios462  Před měsícem +1

      So localhost/moodle is referring to the directory /var/www/html/moodle (Step 5 of the PDF instructions). You can create a new directory in /var/www/html/ named mysite (for example), but you then need to assign the correct permissions, and set /var/www/html/mysite (for example) for the 'Moodle directory'. Refer to steps 5 and 6 on the PDF.

  • @givemoremoyo5389
    @givemoremoyo5389 Před rokem +1

    Hi when i extract its saying directory: Not found in archive

    • @towios462
      @towios462  Před rokem +1

      Hi are you referring to step 3?
      If so, Note: The version of Moodle may vary. At the time of writing, it was 401. Ensure the relevant username is entered and Moodle version.

  • @santiagobarcos4361
    @santiagobarcos4361 Před rokem +1

    hi, great tutorial, i have a question though. In the server checks step of the installation in the moodle web I have a report that says that i should set max_input_vars to 5000 although i already did it. i even set them to 8000 and that didn't work. I'm doing this for a university project and need help. Thanks and greetings from Uruguay

    • @towios462
      @towios462  Před rokem +2

      After amending the PHP file have you:
      1) saved it.
      2) restarted Apache web server : sudo systemctl restart apache2
      3) reloaded the webpage.

    • @santiagobarcos4361
      @santiagobarcos4361 Před rokem +1

      @@towios462 yes, i even tried by restarting apache again and it didnt work

    • @santiagobarcos4361
      @santiagobarcos4361 Před rokem +1

      would it be ok if i sent you the screenshots via email? sorry to bother but i have a task to hand in tomorrow and could use a hand as nobody could figure out what was wrong. thanks

    • @towios462
      @towios462  Před rokem +2

      Does max_input_vars have a ; Infront of it, if so remove it. Save it. Restart Apache. Reload webpage.

    • @santiagobarcos4361
      @santiagobarcos4361 Před rokem +1

      i could solve it, i forgot to save when taking the ; off. thanks for the solution.