This forum post has been removed
Number of replies: 8These videos may not be for your exact situation, but they might give you some insight.
https://moodle.org/mod/forum/discuss.php?d=401983#p1621924
This forum post has been removed
Does your cPanel have a Terminal icon?
IF it does, click it and at the prompt see if you have the online manual installed by typing: whereis man [ENTER]
If man is there, that's probably everything you didn't wanna know (but should know some) about commands such as chmod, chown, -R's, etc.!
man -k chmod
man -k chown
Could also google for those (chown or chmod) to see the same info via web browser.
'SoS', Ken
This forum post has been removed
Re: Ang: Re: Ang: Re: Newbee first time installation on webhost.
No cPanel is ok ... however, is there another panel - like DirectAdmin?
IF no panel at all, consider installing Webmin - an open sourced panel runs under Perl and has it's own web server - not apache/nginx - that has all the tools cPanel/DirectAdmin other panels have + the ability to do more! Newest version now as a Terminal link which is ssh! And one can program 'buttons' that execute bash shell scripts - other panels do not have that ability/allow.
https://webmin.com/screenshots/
Caution executing without knowing what some command does!!!!
This forum post has been removed
Follow up - actually a very wise question to ask ... caution ...
Most providers do not have a password for root user/group. If you think about it a minute, that's because they might be called upon to fix something for a customer.
So in moodle docs where you see root:root - translate that to customerlogin.
If you note, your cPanel login doesn't use root - phpmyadmin doesn't use root - cPanel DB tools do not use root ... all of those are 'customeridname'. Thus your ownerships to files of moodle code will be 'customerlogin'.
How to lock down/protect? Moodle code (files/folders) do need to allow 'others' to at least read folders/files. If using git for version control of your moodle code however, the hidden .git directory should allow only the owner access to read/write - group no and definitly not 'others' (those visiting your site with a web browser not authenticated).
So having knowledge of how to execute chmod/chown with -R (recursive) with ownerships as customerlogin is needed.
'SoS', Ken