v5[edit]

v5.1.1[edit]

LAMP Install[edit]

Apache 2.4[edit]
dnf install httpd
dnf install mod_ssl
<IfModule dir_module>
    DirectoryIndex index.html  index.php
</IfModule>
AddType application/x-httpd-php .php .php4
AddType application/x-httpd-php-source .phps .php4s
MariaDB[edit]
dnf module install mariadb
systemctl start mariadb
ps ax|grep mariadb
mariadb-admin -u root password *****
mariadb -u root -p
Enter password:

MariaDB [(none)]> create database db_name default character set utf8mb4;
MariaDB [(none)]> grant all on moodle_db.* to  moodle_user identified by 'moodle_pass';
MariaDB [(none)]> flush privileges;
MariaDB [(none)]> exit
PHP v8.3[edit]
dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
dnf module list | grep php
dnf module reset php
dnf module install php:remi-8.3
php --version
dnf install php-zip
dnf install php-mysqlnd
dnf install libsodium libsodium-devel
dnf install php-gd php-intl

Download and setup of Moodle[edit]

wget https://download.moodle.org/download.php/direct/stable501/moodle-latest-501.tgz
zcat moodle-latest-501.tgz |tar xfv -
mv moodle moodle-5.1.1+
chown -R apache: moodle-5.1.1+/
cd htdocs_ssl
ln -s ../moodle-5.1.1+/public  moodle
ウェブサーバが設定されていません。
あなたのウェブサーバは「/public」ディレクトリの外のファイルへのアクセスを防止するよう設定されていません。あなたのウェブサーバの設定方法詳細に関してhttps://moodledev.io/docs/5.1/guides/restructureをご覧ください。再設定後、ウェブルートに再度アクセスしてください。
 
 

トップ   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS