While going through threads , i found out experts are not recommending to use script for moodle installing moodle like bitnami and softaculous for production enivronment. That is fine. How about 1 click installion of LAMP , for example i am using digital ocean and they do have 1 click LAMP installer. So, friends Shall I also avoid 1 click installer even for LAMP ? Do you see any issues in troubleshooting later because of 1 click LAMP installer....please need guidence here....as I am starting to deploy a new server...and have basic linux skills only....1 click LAMP instller seems quite appealing...
BUT... this won't help you with checking the versions (particularly of PHP) are compatible with your chosen version of Moodle and it won't help if you need to make changes to any of the config files (e.g. PHP's php.ini and MySQL's my.cnf) - which you almost certainly will.
Having said that, DO is a well used system using standard versions of Linux OSs. There's nothing weird about it. You'll get loads of help online and you'll also get loads of help here if you need it.
" it won't help if you need to make changes to any of the config files (e.g. PHP's php.ini and MySQL's my.cnf) "
You wrote:
> i found out experts are not recommending to use script for moodle installing moodle like bitnami and softaculous for production environment.
Both are correct (that the community here do not recommend those scripts and that was justified).
> How about 1 click installion of LAMP ,
What is that? Can you give an example?
> for example i am using digital ocean and they do have 1 click LAMP installer.
OIC. You mean, your hosting package comes packaged in a web GUI? One click will give you LAMP, another click a Moodle? Then you are in a shared hosting! It is not what the experts were talking about. They start with a VPS.
> Shall I also avoid 1 click installer even for LAMP?
If I understood the "1 click installer" correctly, then No, it is also not the advice.
> I am starting to deploy a new server...and have basic linux skills only....
If you have Linux skills _only_ (!), you are the perfect candidate for a Linux VPS and installing LAMP from the Linux distributors packages.
So the same conclusion as what Howard was saying.
DO is pretty good / sensible.
Digital Ocean provide Linux
virtual machines. As well as a choice of Linux distros, they also
provide a LAMP stack which can be powered up as quickly as a blank OS.
The results are exactly the same as picking Ubuntu and then installing
the LAMP stack
using apt. You still have root access and can configure as much as
you desire - by command line as there is no GUI.
I would recommend using the
Ubuntu LAMP with DO. There is some useful configuration done already
such as enabling the firewall and some good installed stuff like Certbot to allow
https. You can read about it here
and these are things often forgotten when you create your own stack.
Once you get the server configured correctly, installing Moodle will be
dead easy. Follow the step by step guide for Ubuntu. One trap - check your php version and adjust if necessary for php extensions.
Plenty to learn about Linux - you will be busy enough as it is. I have used DO for a while now and you really need to start learning the command line.
(Edited by Howard Miller to remove slightly suspicious looking link - original submission Tuesday, 10 December 2019, 7:21 AM)