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

Поділитися
Вставка
  • Опубліковано 25 жов 2024

КОМЕНТАРІ • 36

  • @Metamor-phosis
    @Metamor-phosis 4 роки тому +5

    Totally underrated channel! Thanks a lot!

  • @thabomahlangu4533
    @thabomahlangu4533 4 роки тому +6

    These tutorials are very helpful thank you so much

  • @SachinBhagat1985
    @SachinBhagat1985 4 роки тому +4

    Thank you very much. This is a nice video.

  • @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.

  • @Magistrado1914
    @Magistrado1914 4 роки тому +2

    Excellent course
    27/07/2020

  • @ranarashid95
    @ranarashid95 4 роки тому +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

  • @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.

  • @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

  • @gagankapoor3811
    @gagankapoor3811 4 роки тому

    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.

  • @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

  • @sanjeewathrima3851
    @sanjeewathrima3851 2 роки тому

    Lot of thanks

  • @punaapurimac5020
    @punaapurimac5020 4 роки тому +1

    very useful!!

  • @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 ua-cam.com/video/RED3SJYjkZU/v-deo.html , enjoy :)

    • @exequielvibar2371
      @exequielvibar2371 4 роки тому +1

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

  • @bobishak6793
    @bobishak6793 3 роки тому

    is that same for kali?

    • @moodletips
      @moodletips  3 роки тому

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

  • @toxatoxich4582
    @toxatoxich4582 3 роки тому +1

    thanks bro)

  • @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!