Moodle setup tutorial 1/4 - how to install Moodle with apache, php and mysql on ubuntu

Поделиться
HTML-код
  • Опубликовано: 24 авг 2024
  • In this video we go through the moodle set up guide to install moodle on a clean ubuntu 18.04.We configure the apache2 'document root' to look at the directory where we have our moodle code.
    We also install mysql and configure moodle to be able to talk to the database using moodle's config.php file.
    Similar steps should work on mac and windows.
    docs.moodle.or...
    support.racksp...
    Get the full course on Udemy: www.udemy.com/...
    For custom development work, one on one training, or Moodle hosting, get in touch with us over at ringertech.org...

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

  • @Metamor-phosis
    @Metamor-phosis 3 года назад +5

    Totally underrated channel! Thanks a lot!

  • @thabomahlangu4533
    @thabomahlangu4533 4 года назад +6

    These tutorials are very helpful thank you so much

  • @SachinBhagat1985
    @SachinBhagat1985 3 года назад +4

    Thank you very much. This is a nice video.

  • @Magistrado1914
    @Magistrado1914 4 года назад +2

    Excellent course
    27/07/2020

  • @ranarashid95
    @ranarashid95 3 года назад +1

    its helpful but i am confused in many steps because i am not familiar with ubuntu kindly use windows platform for moodle plugin and theme development its my humble request to you sir thanku

  • @behroozhussaini2339
    @behroozhussaini2339 3 года назад +1

    thank you. there should be a 5th tutorial changing the upload max size from 2MB to higher, I tried everything online change the php.ini but moodle still does change the upload size.

    • @moodletips
      @moodletips  3 года назад

      That can be tricky to fix because there are a few different places to check. I would read their docs on it here: docs.moodle.org/310/en/File_upload_size#Upload_file_size_restrictions

  • @sundaramsharma2949
    @sundaramsharma2949 2 года назад +2

    are all these steps required if I am using wamp (or xampp) ? I am simply trying to change the code after running moodle on wamp but I can't see any change. Am I missing something ?

    • @moodletips
      @moodletips  2 года назад +1

      Xampp should do all this for you, it manages the server, database and running php. It can be nice to understand the different pieces though as a developer.
      Is your moodle site working in the browser? You would at least have had to set up the moodle config.php file, which means you can edit the codebase. Find where that file is and see if you can put in a die(); and that you've got the right directory.

  • @punaapurimac5020
    @punaapurimac5020 4 года назад +1

    very useful!!

  • @mikekilikis4657
    @mikekilikis4657 3 года назад +1

    I followed the instructions step by step, but in localhost/install.php appears php script instead of moodle frontend...

    • @moodletips
      @moodletips  3 года назад

      You see the actual php code in your Web browser? That means the server doesn't have php installed and is just viewing the file as html. You might have missed the installing php part

  • @Mumdadjohn
    @Mumdadjohn 3 года назад +1

    I have got as far as changing the DocumentRoot but i cant remember the command or keyboard sequence to save the edited file

    • @swish1234567890
      @swish1234567890 3 года назад +1

      You can edit it with any editor. In vim you would do :wq, like it says in the install doc.
      Another editor is gedit which is maybe easier to use

    • @Mumdadjohn
      @Mumdadjohn 3 года назад +2

      @@swish1234567890 Thank you.

  • @sanjeewathrima3851
    @sanjeewathrima3851 2 года назад

    Lot of thanks

  • @toxatoxich4582
    @toxatoxich4582 3 года назад +1

    thanks bro)

  • @gagankapoor3811
    @gagankapoor3811 3 года назад

    while installation why you have skipped for https error during the installation. I have installed moodle from this document available at Moodle site but not able to understand the https process to secure moodle site

    • @moodletips
      @moodletips  3 года назад

      Here we just set up a local development environment, so didn't worry about doing the next step of https. If you want to do that, there are some docs here: docs.moodle.org/310/en/Transitioning_to_HTTPS

  • @jyt769
    @jyt769 2 года назад

    How can I run apache2 default page and moodle at the same time ie localhost for apache2 and localhost/moodle for moodle page

    • @moodletips
      @moodletips  2 года назад +1

      You should be able to just put the moodle code into a folder called moodle, inside the default apache document root directory.

  • @exequielvibar2371
    @exequielvibar2371 4 года назад +1

    Can you please create a tutorial about form api? I'm so confused on how to create my own custom form using form api. I want the form to have validation and submit it into database. I hope you create one please. hehe

    • @moodletips
      @moodletips  4 года назад

      I can do that. Keep tuned :)

    • @exequielvibar2371
      @exequielvibar2371 4 года назад +1

      @@moodletips I watched most of your tutorials about moodle, it helps me a lot, I'm looking forward for the form api tuts, hehe , ^_^ thank you so much ... !!!

    • @moodletips
      @moodletips  4 года назад

      @@exequielvibar2371 I've released a new series about this, here is a video on forms specifically ruclips.net/video/RED3SJYjkZU/видео.html , enjoy :)

    • @exequielvibar2371
      @exequielvibar2371 4 года назад +1

      @@moodletips Wow, Thank you so much, !! I'm gonna watch it!!! ^_^

  • @venzonlacambra4368
    @venzonlacambra4368 2 года назад

    Helloo. Im stock in cloning moodle. In the Receiving Objects. Its not continuing to download. I leave it for 11% yesterday and until now it stays at 11%. How can i Fix it? Thank you

    • @moodletips
      @moodletips  2 года назад

      If you’re stuck trying to clone moodle try using ssh instead of https, it’s more reliable

  • @fernandopierola
    @fernandopierola Год назад

    Hey! Great video I have been also following the step by step website of moodle but when I change the /var/www/html to /moodle folder I don't get the front page. I know this is because php is not correctly installed in apache2 however have tried like 5 times and can't make it work. Could you please help me out? Thanks buddy!

    • @fernandopierola
      @fernandopierola Год назад

      My next step is trying with the latest version of moodle that supports php8 but would like to know the answer in case the latter option doesn't work either

  • @bobishak6793
    @bobishak6793 3 года назад

    is that same for kali?

    • @moodletips
      @moodletips  3 года назад

      It should be similar but I haven't tried these steps there

  • @noeminemeth3578
    @noeminemeth3578 2 года назад

    i followed the tutorial step by step. and after i modify the DocumentRoot to /var/www/html/moodle i get an error:
    Deprecated: Return type of moodle_recordset::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/moodle/lib/dml/moodle_recordset.php on line 61
    Fatal error: Method lang_string::__set_state() must take exactly 1 argument in /var/www/html/moodle/lib/moodlelib.php on line 10617
    thank you, if you can help, i have no experience in these things

    • @moodletips
      @moodletips  2 года назад

      You're using php 8.1, that's where that returntypewillchange attribute was added to php. Looks like you have to switch to the right php version. Each moodle version can need a different php version.
      You could instead switch to the latest moodle branch which might be compatible with php 8.1

    • @noeminemeth3578
      @noeminemeth3578 2 года назад

      @@moodletips thank you for your quick answer!