Moodle Ubuntu: Install

Поделиться
HTML-код
  • Опубликовано: 9 апр 2023
  • 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/TOWiOS/MOODLE-Ubuntu
    Other Moodle Videos:
    • Moodle Ubuntu: Backup ...
    • Moodle Ubuntu: Upgrade
    Moodle:
    moodle.org/
  • НаукаНаука

Комментарии • 26

  • @olayinkaojo8828
    @olayinkaojo8828 11 дней назад +2

    This tutorial is very briliant and straight forward.

    • @towios462
      @towios462  11 дней назад +1

      Thank you so much 😊👍

  • @stephenmcguire92
    @stephenmcguire92 Месяц назад +2

    Incredibly helpful, thank you.

    • @towios462
      @towios462  Месяц назад +1

      You're very welcome!

  • @SoloPlax
    @SoloPlax Год назад +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.

    • @towios462
      @towios462  Год назад +1

      Thank you for your feedback

  • @dastandaniyarov4433
    @dastandaniyarov4433 Год назад +2

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

  • @Gamesoldier68
    @Gamesoldier68 9 месяцев назад +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  9 месяцев назад +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  9 месяцев назад +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 9 месяцев назад +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.

  • @JaimeRuiz-ls8op
    @JaimeRuiz-ls8op 10 месяцев назад +1

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

  • @santiagobarcos4361
    @santiagobarcos4361 Год назад +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  Год назад +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 Год назад +1

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

    • @santiagobarcos4361
      @santiagobarcos4361 Год назад +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  Год назад +2

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

    • @santiagobarcos4361
      @santiagobarcos4361 Год назад +1

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

  • @munnavasu7282
    @munnavasu7282 2 месяца назад +1

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

    • @towios462
      @towios462  9 дней назад +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 Год назад +1

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

    • @towios462
      @towios462  Год назад +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.