********************************************
**************** MOODLE ********************
********************************************
cd /var/www/html
sudo wget -c https://download.moodle.org/download.php/direct/stable39/moodle-3.9.tgz
sudo apt install php-curl php-gd php-intl php-mbstring php-soap php-xml php-xmlrpc php-zip
y
sudo tar xzvf moodle-3.9.tgz
sudo chown -R www-data:www-data moodle/
sudo mkdir /var/www/moodledata
sudo chown www-data:www-data /var/www/moodledata
sudo mysql -u root -p
create database moodledb character set utf8mb4 collate utf8mb4_unicode_ci;
create user moodleusr@localhost identified by 'eve';
grant all privileges on moodledb.* to moodleusr@localhost;
FLUSH PRIVILEGES;
exit;
systemctl restart apache2
http://10.10.10.133/moodle/my/
No hay comentarios.:
Publicar un comentario