Does Stack plugin works on Rocky Linux

Does Stack plugin works on Rocky Linux

Sudhir Singhal -
回帖数:12
I wanted to use Moodle stack Maths plugin, but my present share hosting on Bluehost, does not support it.
From the developer, I got to know that it needs Maxima on the server, which I am trying to find with different hosting companies.
Yesterday only, I found one Moodle hosting at: https://www.scalahosting.com/moodle-hosting.html
They are using Rocky Linux OS on VPS, Their technical team said they never tried Maxima earlier but said it should work on any Linux server.

So anyone confirm if Maxima and Stack work well on Rocky Linux or not?
Also any idea or experience with scalahosting services?
回复Sudhir Singhal

Re: Does Stack plugin works on Rocky Linux

Marcus Green -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
"but said it should work on any Linux server."
In theory it should, but sometimes practice does not match theory. Approximately nobody in these forums will be using Maxima and Rocky Linux together so if you have a problem people will probably suggest switching to something they know works. Why not use something like AWS, DigitalOcean or Linode where you can run just about any flavour of Linux. I pay for DigitalOcean from my own pocket and it works for me.

回复Marcus Green

Re: Does Stack plugin works on Rocky Linux

Sudhir Singhal -
Thanks for your reply.
AWS servers seem complicated to set up, although many videos are available, but it seems more technical to set up on AWS, I may be wrong, but this is what I feel from the initial details provided there.
DigitalOcean also seems good. But again, lit bit more technical, I am exploring it. Could you please tell me which plan are you using? I know it is as per the user requirement, but I just want to shortlist from various options available.
Also, on the link: https://marketplace.digitalocean.com/apps/moodle, it shows Moodle version 3.10 only, so are you using ver 3.10, or is there an option to upgrade or do you have a different plan?
回复Sudhir Singhal

Re: Does Stack plugin works on Rocky Linux

Marcus Green -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
I am not exactly certain what sort of account I have, I think it costs me about $USD 14 a month, and is some sort of Droplet. I don't use that 3.10 linked thing and would not recommend that sort of install. Installing "from scratch" on a droplet or similar is the best long term solution and if you install on a common operating system (e.g. Ubuntu), the people in these forums can offer lots of support and you will gain some valuable skills. However you should be aware that setting up Maxima is probably the hard bit. It would be nice if there was an "instant Stack/Maxima solution (just ad water and microwave)" But there is not ...

Can anyone else suggest an easier way to start experimenting with Stack, short of growing a beard, abandoning any social life and learning Linux/Maxima/AWS/Bash scripting
etc etc?
回复Marcus Green

Re: Does Stack plugin works on Rocky Linux

Sudhir Singhal -
Thanks, Marcus, for your valuable input.
I still working to finalize the best Moodle hosting solution to use Stack.
I have a few more queries:
1) Once we install Moodle successfully, does it matter which Linux version we are using?
Till now I don't have to work directly on Linux for any settings, maybe it would be required when we have large data or when some issue comes.

2) What is the major difference between installing Moodle using Softaculous apps installer or directly?
Actually, I installed earlier using Softaculous and found it very easy as I don't have to set the database separately.
Now I have setup a new server now, so just wanted to correct all the mistakes.

3) Once VPS is set up and Moodle is installed, then do I need services to manage the server or management processes can be automated or easy to manage?
Just confused if I can manage Moodle website directly or if I need Server manage services also in the hosting plan. I am not a technical person, I need to focus my work on my website and courses.
So wanted to learn from other user experiences, what do you say?
回复Sudhir Singhal

Re: Does Stack plugin works on Rocky Linux

Sudhir Singhal -
Can anyone else share their experience and suggestions for the above?
回复Sudhir Singhal

Re: Does Stack plugin works on Rocky Linux

Carly Born -
FWIW, I am also hoping to install STACK on Rocky OS 8. That is what our institution uses as their Linux distro. I'm still struggling to get Maxima installed. I have no help to offer, but would eagerly follow this thread.
回复Sudhir Singhal

Re: Does Stack plugin works on Rocky Linux

Marcus Green -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像

1) Once we install Moodle successfully, does it matter which Linux version we are using?
In theory no, in practice possibly.

TL:DR Use Ubuntu. The Longer version: the key sources of issues are not the underlying operating system (Linux in this case) but the PHP, it's extensions and possibly the web server. In theory these install and run on just about any Linux. Sometimes there are subtle differences and it is hard to tell what they are. There are even subtle differences between the same version of Linux.


2) What is the major difference between installing Moodle using Softaculous apps installer or directly?

TLDR. Don’t use Softactulous. The longer version….Installing under Softaculous will typically give you a working Moodle that people in these forums will not know about and if you have a problem they will assume it is a Softaculous issue. It offers short term gain with potential long term pain. The problems may come later when you upgrade or need something slightly unusual. Do a search on these forums for the word Softactulous to see typical questions and responses.

3) Once VPS is set up and Moodle is installed, then do I need services to manage the server or management processes can be automated or easy to manage?

No Short version: Most of the time it will require little intervention. However once a year or so you really, really want to upgrade. Not just for the features but to ensure it is secure and supported. It would be much easier to get someone who knows about these things. The people who manage your VPS will probably know very little about upgrading Moodle.

At some point you will need a person who is familiar with web server administration. Its a bit like replacing a significant bit of your car. I have non mechanic friends who can do this sort of stuff but I take my car to someone who does this sort of thing regularly. Would you replace the head gaskit on your car or take it to a mechanic?

There is a global network of specialists who do nothing but look after Moodle they are called Moodle partners https://moodle.com/solutions/certified-service-providers They are rarely the cheapest option but are almost always the best.

If you use a standard setup (e.g. Ubuntu with non Softaculous install), the people in these forums are very knowledgable, many with over 10 years of day to day experience and a desire to answer well asked questions (like how you asked this question)

*I have no idea what a head gaskit is..


回复Marcus Green

Re: Does Stack plugin works on Rocky Linux

Marcus Green -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
One more note, you were asking about the STACK question type in your original question. You should look at the Moodle formulas question type, it is generally not as powerful as STACK but it is wildly easier to install and configure. https://dynamiccourseware.org.
回复Marcus Green

Re: Does Stack plugin works on Rocky Linux

Sudhir Singhal -
Thanks Marcus!
I understand now that I should install Moodle directly.
I am going to try VPS server by https://www.scalahosting.com/moodle-hosting.html
Although they have Rocky Linux but they are saying they will support installing Maxima and Moodle. So let's try how it works.

Moodle formula questions are really good and I am using them. Dominique is very supportive and helps me a lot in the quiz forum.
Why I am looking for Stack is as I think it will help students to give answers in mathematical equations also. Although I am not sure how much easier it would be for the students.
I tried another similar Wiris question type also, but they are very expensive and not agreeing to give an account for less than 1000 users.
Can anyone suggest some other plugin using which we can take math equations as answers input or maybe convert handwritten text to math?
回复Sudhir Singhal

Re: Does Stack plugin works on Rocky Linux

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
I was wondering why you say one hosting is more complicated than the other, I would argue that all Linux VPS are equal in difficulty, the differences come from the exact distribution and how well you know it.

On STACK: Once you get it going, there are absolutely no differences amoung the Linux flavours. But getting it going is different, by definition, confirmed through practice. Here is my own story: Installing STACK on Ubuntu Linux 22.04 (LTS), no success

The trouble is worth it, I assure you!
眨眼

回复Sudhir Singhal

Re: Does Stack plugin works on Rocky Linux

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
I think Maxima should work on any Linux. You basically just need to work through the install instructions: https://docs.stack-assessment.org/en/Installation/

Once you have the Moodle bit working, with the STACK plugins installed, there is then a 'healthcheck' page in the STACK area of Moodle's admin pages, which help you get the Maxima bit set up, and verify that it is work.

Really, the best way to work this out is to try it for yourself. Expect a bit of head-scratching the first time you work through the process (feel free to ask sepecific questions here as you work on it), but once you have got it working, it should continue to work just fine.

This final bit depends a bit on your exact requirements, but for anything but the most basic install, it is probably best to run the Maxima bit elsewhere (or possibly on the same server, but contained). These days, the best way to do that is to use https://github.com/mathinstitut/goemaxima, which packages up the Maxima bit of STACK in a Docker container.