The idea is to install moodle on a local server and have the students connect through a wireless network to the platform.
Best regards
Thank you for your comments
It seems that the only way out of the doubt will be to install and test Moodle on the hardware of my choice.
Initially, regardless of the performance of the server with respect to the number of concurrent users, my main concern is whether I can install and run Moodle on both types of hardware (Orange Pi5 or NAS). Then would come the tests to evaluate the performance with respect to the number of users.
QNAP NAS allow to create virtual machines and support some versions of operating systems, from windows to linux, so from that point of view, it should work with Moodle.
Best regards
I
understand
"From the beginning I thought that if the Moodlebox works well with the
Rapsberry Pi and has been very successful, there should be no problem to
run Moodle on the ORANGE Pi 5, if it is known that some of its
specifications are superior to the RP. Is this comparison correct?"
Basically, the answer is yes, with the noted limitation that the Orange Pi5 comes in various models some of which include WiFi and some that do not. The one I bought does not have it included, but since I am usually the only user, it doesn't really matter to me.
I think that the WIFI option is not important in this case, but the RAM is.
Is 8 GB enough ? Or better to upgrade to 16 GB?
I have also
read that it is advisable to implement a WEB server and a database server
separately.
In this project there will be few users (less than 20 students). Do you consider necessary to use two servers? Could I use the Orange PI 5 for both services?
RegardsAl is very important your advice, it is better to have everything in a single PC, at least in this project (few users), I will adopt it.
thanks
As an added note, I went ahead and got another Orange Pi 5, this one with 16GB of RAM, but still without WiFi. I also got two Samsung SSD 256GB Nvme M.2 internal solid state drives, one for each Pi.
It did not take very long to get the Orange Pi 1.1.4 Jammy operating system installed along with Apache2, MariaDB, phpMyAdmin, and the master branch of Moodle installed and running. I forgot to look but it was somewhere around an hour to complete the setup.
I needed another QA Testing server and I must stay that so far I have been pretty impressed with the performance of both Pi's. Without actually measuring yet, the Orange Pi 5's do definitely seem to outperform the Raspberry Pi 4's.
Had to measure so just went and ran the Bench mark but at the moment, I am comparing apples raspberries and oranges. They're not running the same Moodle versions and both are giving me cURL errors, but the OP score was 70 points and RP score was 310. Quite a difference!
Hi Hugo,
Sorry, I was not more clear in what I typed. The Raspberry Pi 4 was running the latest Moodle 4.1.2+ on the full ARM server version of Ubuntu 22.04 LTS.
The Orange Pi 5 was running the master branch code of Moodle, that in a couple of weeks will be released as Moodle 4.2.0, using the Orange Pi ARM server operating system Jammy 1.1.4. I am pretty sure that it might be based on Ubuntu as all the bits and pieces of code I have looked at, are all in the same place and work the same way.
I ran the plugin, Moodle Benchmark, which you can get and install from here: https://moodle.org/plugins/report_benchmark
Note that when looking at the resulting Benchmark Score, that LOWER is better. So the Orange Pi score of 70, is MUCH MUCH better than the Raspberry Pi score of 310. Note that the first run for both was slightly better than four more runs on both Pi's. (Just ran benchmark on the OP two times and the first was 84, which is very good, but the second, was a 58!)
For the past couple of months, when I could work, I have been using the Raspberry Pi 4 setup as my development server, but with the Orange Pi being so much faster, yesterday I started transferring all my development code to it. Just need to do a database dump from the RP4 and import to the OP5.
Do you think that even with 8 GB of RAM the ORANGE Pi 5 will be superior to the PI4? - Yes I do as I have everything setup and working fine on both my original 8GB Orange Pi 5 and my 16 GB one. Granted, yesterday when I loaded up my dev site the Benchmark scores went up on average to about 115, but that is still about three times better the the Pi4 scores.
... but will it be better to use Debian than Ubuntu? - I don't know. I have not used Debian, that I can remember, in a long time. I think it just mainly comes down to your personal preference as at their heart, they are both Linux, with a few differences that each set of maintainers have added. My personal preference was Centos but it seems to be changing to Stream, which is why I have temporarily moved my development setup to a SBC. I needed to move everything so I could rebuild my main server and replace the old 500GB SSD with a new 2 TB SSD. Then I got sick and had eye infections and the whole process has drug on to the point I have not even started the rebuild, plus other projects and needed updates to my plugins keep intruding.
I'm sorry you are sick
According to the benchmark scores you kindly shared with me, the OP would not only be useful for running Moodle, but also for other projects, and best of all , it's available
For example, at the moment, I need to configure a DHCP server to install an entertainment platform for users on a local wireless network in passengers buses.
This cover with heat sink included seems to be very useful too.
OP aluminum case with enclosure
I hope you recover your health very soon
Best regards
Thanks for your concern. I have been getting better.
I would imagine that for the DHCP server, you could probably go with any of the smaller and cheaper Pi's, using ones from Raspberry or Orange sources. It's been done already by others and you might be able to get more info by doing a DuckDuck Go or Google search.
I thought about using that same cover, but have decided to build my own dog bone tower that will let me stack both of my Orange Pi 5's and both of my Raspberry Pi's.
> I read on the Moodle website that for every 50 users 1 GB of memory is required,
Source please?
Is it possible that you overlooked a word, a critical one? Namely, that it is about _concurrent_ users as in:
The term "concurrent users" is used to mean those users for whom the server is actively doing something . It may by processing a webpage written in PHP, querying the database or simply transferring a file. (see also Wikipedia Concurrency). Strictly speaking we mean the number of active web server processes (each of which consume memory) and also the number of database connections.
Source https://docs.moodle.org/401/en/Performance_FAQ#How_do_you_define_.22concurrent_users.22.3F.