Newbee first time installation on webhost.

Это сообщение на форуме было удалено

Количество ответов: 8
Содержание этого сообщения на форуме было удалено и больше недоступно.
В ответ на Пользователь удален

Re: Newbee first time installation on webhost.

от Rick Jerz -
Изображение пользователя Particularly helpful Moodlers Изображение пользователя Testers
Different hosting companies can be different.

These 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
В ответ на Rick Jerz

Это сообщение на форуме было удалено

Содержание этого сообщения на форуме было удалено и больше недоступно.
В ответ на Пользователь удален

Re: Ang: Re: Newbee first time installation on webhost.

от Ken Task -
Изображение пользователя Particularly helpful Moodlers

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


В ответ на Ken Task

Это сообщение на форуме было удалено

Содержание этого сообщения на форуме было удалено и больше недоступно.
В ответ на Пользователь удален

Re: Ang: Re: Ang: Re: Newbee first time installation on webhost.

от Ken Task -
Изображение пользователя Particularly helpful Moodlers

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/

https://webmin.com/screenshots/

Caution executing without knowing what some command does!!!!

 chown -R root [foldername]

Operation not permitted :/ 

One has to know where one is located to set ownerships/permissions on moodle code ... that's why error above ... you were located at / which is top of the tree and not in /path/to/moodlecode/

hint/clue: pwd [ENTER]
shows present working directory.

'SoS', Ken

В ответ на Ken Task

Это сообщение на форуме было удалено

Содержание этого сообщения на форуме было удалено и больше недоступно.
В ответ на Пользователь удален

Re: Newbee first time installation on webhost.

от Ken Task -
Изображение пользователя Particularly helpful Moodlers

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