Lms: Difference between revisions
No edit summary |
|||
| Line 1: | Line 1: | ||
Untuk menginstal Learning Management System (LMS), langkah-langkah yang diperlukan dapat bervariasi tergantung pada platform LMS yang Anda pilih. Berikut adalah panduan umum untuk menginstal LMS populer seperti Moodle: | |||
### Persiapan | |||
1. **Server**: Pastikan Anda memiliki server (baik lokal maupun online) yang mendukung PHP, MySQL/MariaDB, dan memiliki akses SSH jika diperlukan. | |||
2. **Dependencies**: Install dependencies yang diperlukan seperti PHP, MySQL/MariaDB, dan server web (misalnya Apache atau Nginx). | |||
### Langkah-langkah Instalasi Moodle | |||
1. **Download Moodle**: | |||
- Kunjungi [situs resmi Moodle](https://download.moodle.org/). | |||
- Unduh versi terbaru Moodle. | |||
2. **Unggah ke Server**: | |||
- Unggah file yang diunduh ke server Anda menggunakan FTP atau SCP. | |||
3. **Ekstrak File**: | |||
- Ekstrak file Moodle di direktori server web Anda, misalnya di `/var/www/html/moodle`. | |||
4. **Buat Database**: | |||
- Masuk ke MySQL/MariaDB dan buat database baru untuk Moodle: | |||
```sql | |||
CREATE DATABASE moodle DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |||
CREATE USER 'moodleuser'@'localhost' IDENTIFIED BY 'password'; | |||
GRANT ALL PRIVILEGES ON moodle.* TO 'moodleuser'@'localhost'; | |||
FLUSH PRIVILEGES; | |||
``` | |||
5. **Set Permissions**: | |||
- Pastikan direktori Moodle dan subdirektorinya memiliki izin yang benar: | |||
```bash | |||
sudo chown -R www-data:www-data /var/www/html/moodle | |||
sudo chmod -R 755 /var/www/html/moodle | |||
``` | |||
6. **Konfigurasi Web Server**: | |||
- Konfigurasi server web Anda (Apache atau Nginx) untuk menunjuk ke direktori instalasi Moodle. Contoh konfigurasi untuk Apache: | |||
```apache | |||
<VirtualHost *:80> | |||
DocumentRoot /var/www/html/moodle | |||
ServerName yourdomain.com | |||
<Directory /var/www/html/moodle> | |||
Options +FollowSymlinks | |||
AllowOverride All | |||
Require all granted | |||
</Directory> | |||
ErrorLog ${APACHE_LOG_DIR}/moodle_error.log | |||
CustomLog ${APACHE_LOG_DIR}/moodle_access.log combined | |||
</VirtualHost> | |||
``` | |||
- Aktifkan konfigurasi dan restart server web: | |||
```bash | |||
sudo a2ensite moodle.conf | |||
sudo systemctl restart apache2 | |||
``` | |||
7. **Akses Instalasi Moodle**: | |||
- Buka browser dan akses URL server Anda, misalnya `http://yourdomain.com/moodle`. | |||
- Ikuti panduan instalasi di browser untuk menyelesaikan konfigurasi, termasuk mengisi informasi database yang telah dibuat sebelumnya. | |||
8. **Selesaikan Instalasi**: | |||
- Setelah selesai mengikuti wizard instalasi, Anda akan dapat mengakses dashboard Moodle dan mulai mengkonfigurasi kursus serta pengaturan lainnya. | |||
### Instalasi Dependencies | |||
Jika belum memiliki PHP, MySQL/MariaDB, atau server web yang terinstall, berikut adalah cara untuk menginstalnya di Ubuntu: | |||
```bash | |||
# Install Apache | |||
sudo apt update | |||
sudo apt install apache2 | |||
# Install MySQL | |||
sudo apt install mysql-server | |||
sudo mysql_secure_installation | |||
# Install PHP | |||
sudo apt install php libapache2-mod-php php-mysql | |||
# Install additional PHP modules required by Moodle | |||
sudo apt install php-xml php-intl php-zip php-gd php-curl php-mbstring php-xmlrpc php-soap | |||
``` | |||
Semoga panduan ini membantu Anda dalam menginstal LMS Moodle. Jika Anda memiliki LMS lain yang ingin diinstal, silakan sebutkan nama LMS-nya untuk panduan spesifik. | |||
Revision as of 14:55, 27 June 2024
Untuk menginstal Learning Management System (LMS), langkah-langkah yang diperlukan dapat bervariasi tergantung pada platform LMS yang Anda pilih. Berikut adalah panduan umum untuk menginstal LMS populer seperti Moodle:
- Persiapan
1. **Server**: Pastikan Anda memiliki server (baik lokal maupun online) yang mendukung PHP, MySQL/MariaDB, dan memiliki akses SSH jika diperlukan. 2. **Dependencies**: Install dependencies yang diperlukan seperti PHP, MySQL/MariaDB, dan server web (misalnya Apache atau Nginx).
- Langkah-langkah Instalasi Moodle
1. **Download Moodle**:
- Kunjungi [situs resmi Moodle](https://download.moodle.org/). - Unduh versi terbaru Moodle.
2. **Unggah ke Server**:
- Unggah file yang diunduh ke server Anda menggunakan FTP atau SCP.
3. **Ekstrak File**:
- Ekstrak file Moodle di direktori server web Anda, misalnya di `/var/www/html/moodle`.
4. **Buat Database**:
- Masuk ke MySQL/MariaDB dan buat database baru untuk Moodle:
```sql
CREATE DATABASE moodle DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'moodleuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON moodle.* TO 'moodleuser'@'localhost';
FLUSH PRIVILEGES;
```
5. **Set Permissions**:
- Pastikan direktori Moodle dan subdirektorinya memiliki izin yang benar:
```bash
sudo chown -R www-data:www-data /var/www/html/moodle
sudo chmod -R 755 /var/www/html/moodle
```
6. **Konfigurasi Web Server**:
- Konfigurasi server web Anda (Apache atau Nginx) untuk menunjuk ke direktori instalasi Moodle. Contoh konfigurasi untuk Apache:
```apache
<VirtualHost *:80>
DocumentRoot /var/www/html/moodle
ServerName yourdomain.com
<Directory /var/www/html/moodle>
Options +FollowSymlinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/moodle_error.log
CustomLog ${APACHE_LOG_DIR}/moodle_access.log combined
</VirtualHost>
```
- Aktifkan konfigurasi dan restart server web:
```bash
sudo a2ensite moodle.conf
sudo systemctl restart apache2
```
7. **Akses Instalasi Moodle**:
- Buka browser dan akses URL server Anda, misalnya `http://yourdomain.com/moodle`. - Ikuti panduan instalasi di browser untuk menyelesaikan konfigurasi, termasuk mengisi informasi database yang telah dibuat sebelumnya.
8. **Selesaikan Instalasi**:
- Setelah selesai mengikuti wizard instalasi, Anda akan dapat mengakses dashboard Moodle dan mulai mengkonfigurasi kursus serta pengaturan lainnya.
- Instalasi Dependencies
Jika belum memiliki PHP, MySQL/MariaDB, atau server web yang terinstall, berikut adalah cara untuk menginstalnya di Ubuntu:
```bash
- Install Apache
sudo apt update sudo apt install apache2
- Install MySQL
sudo apt install mysql-server sudo mysql_secure_installation
- Install PHP
sudo apt install php libapache2-mod-php php-mysql
- Install additional PHP modules required by Moodle
sudo apt install php-xml php-intl php-zip php-gd php-curl php-mbstring php-xmlrpc php-soap ```
Semoga panduan ini membantu Anda dalam menginstal LMS Moodle. Jika Anda memiliki LMS lain yang ingin diinstal, silakan sebutkan nama LMS-nya untuk panduan spesifik.