instalação do moodle no debian buster
apt update
apt full-upgrade
apt install nginx mariadb-server php-fpm php-mysql
mysql_secure_installation
https://www.digitalocean.com/community/tutorials/how-to-install-linux-n…
apt update
apt full-upgrade
apt install nginx mariadb-server php-fpm php-mysql
mysql_secure_installation
https://www.digitalocean.com/community/tutorials/how-to-install-linux-n…
use moodle;
update mdl_user set username = '289' where id=276;
eliminar o utilizador novo com o mesmo username no moodle
To do this for all teachers globally:
Site administration > Users > Permissions > Define roles
Select the editing teacher role;
Click to edit the role
Click the Show advanced button
Type in the search box accessallgroups
When it appears, click PreventTo do this within a course:
Course administration > Users > Permissions
Type accessallgroups into the filter
Click the X to remove from the editing teacher (Teacher) role.
use novomoodle;
update mdl_user, users set mdl_user.username=users.uid where mdl_user.email=users.mail and mdl_user.auth='oidc';
UPDATE
Sales_Import SI,
RetrieveAccountNumber RAN
SET
SI.AccountNumber = RAN.AccountNumber
WHERE
SI.LeadID = RAN.LeadID;
moodle
$ cd /path/to/your/webroot
$ git clone git://git.moodle.org/moodle.git moodle - clonar moodle para a pasta moodle
$ cd moodle
$ git branch -a - mostra os ramos
$ git branch --track MOODLE_29_STABLE origin/MOODLE_29_STABLE - cria um ramo local e prepara-o para fazer o track desse ramo com o remoto da versão MOODLE_29_STABLE
$ git checkout MOODLE_29_STABLE - muda para o novo ramo local
alterar no php.ini:
upload_max_filesize 50M
post_max_size 50M
memory_limit 128M
alterar na base de dados do moodle:
update `mdl_config` set value=134217728 where id=67;
https://moodle.org/mod/forum/discuss.php?d=49836
editado a 20211024:
para realizar alterações a nível do contexto do site podemos realizar uma pesquisa por Limite de carregamento no contexto Site na página de administração do site.