1 / 9

Alex Büchner Geschäftsführer @mcbuchner

Alex Büchner Geschäftsführer @mcbuchner. Das Moodle CLI Command Line Interface. Interface. Operation. CLI. CLI Aufruf. Auf Shell- Ebene Gleicher Nutzer wie Web Server: www-data / apache Verzeichnis : admin/cli Beispiel :

eamon
Download Presentation

Alex Büchner Geschäftsführer @mcbuchner

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Alex Büchner Geschäftsführer @mcbuchner Das Moodle CLI Command Line Interface

  2. Interface Operation CLI

  3. CLI Aufruf Auf Shell-Ebene GleicherNutzerwie Web Server: www-data / apache Verzeichnis: admin/cli Beispiel: sudo –u www-data /usr/bin/php admin/cli/maintenance.php–enable TESTEN, TESTEN, TESTEN & BACKUP!

  4. Installation /usr/bin/phpadmin/cli/install.php--help /usr/bin/phpinstall.php--wwwroot=http://123.54.67.89/moodle--dataroot=/var/moodledata/ --dbtype=mysqli--dbhost=localhost --dbname=moodle --dbuser=moodle--dbpass=Password123! --fullname=moodle2 --shortname=moodle2--adminpass=Password123! --non-interactive –agree-license

  5. Updates gitfetch /usr/bin/php admin/cli/maintenance.php--enable gitmerge origin/cvshead /usr/bin/php admin/cli/upgrade.php --non-interactive /usr/bin/php admin/cli/maintenance.php --disable

  6. AndereSkripte in admin/cli Automatisierung von Backups /usr/bin/php admin/cli/automated_backups.php Passwortzurücksetzen /usr/bin/php admin/cli/reset_password.php user1 Konvertierung von MySQL ISAM nachInnoDB /usr/bin/php admin/cli/automated_backups.php--engine=InnoDB Aufrufallercrons /usr/bin/php admin/cli/cron.php

  7. Authentifizierung & Einschreiben Synchronisations-Skriptefür LDAP, CAS, etc Aufrufvomcron 30 4 * * * sudo –u www-data /usr/bin/php⏎ /var/www/moodle/auth/ldap/cli/sync_users.php 45 4 * * * sudo –u www-data /usr/bin/php⏎ /var/www/moodle/enrol/ldap/cli/sync.php

  8. Zukunft • MehrSkripte! • CSV Import von Benutzern / GlobalenGruppen • Berichte • Rollen & Rechtezuweisen • Etc, etc, etc… • Komplette Admin-Funktionalität??? • Web Services

  9. Vielen Dank www.synergy-learning.com

More Related