modificar collation e charset de uma base de dados

verificar collation e charset aqui

modificar o default collation da base de dados:

SELECT DISTINCT concat('ALTER DATABASE ', TABLE_SCHEMA, ' CHARACTER SET utf8 COLLATE utf8_general_ci;') from information_schema.tables where TABLE_SCHEMA like 'database_name';

http://stackoverflow.com/questions/5906585/how-to-change-the-default-collation-of-a-database

modificar o default charset e collation de todas as tabelas na base de dados:

alterar tamanho máximo dos ficheiros a enviar no moodle

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.

bonding

# apt-get install ifenslave

alterar o ficheiro /etc/network/interfaces:

auto bond0

iface bond0 inet static
address 10.31.1.5
netmask 255.255.255.0
network 10.31.1.0
gateway 10.31.1.254
slaves eth0 eth1
bond_mode active-backup
bond_miimon 100
bond_downdelay 200
bond_updelay 200

# reboot

https://wiki.debian.org/Bonding

Subscrever