SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
Best Practices in Moodle
     Administration
       Jonathan Moore
 CTO and Vice President RL-UK
RL Background and Context


    Over 3000 hosted Moodle sites

    Over 12 million registered Moodle
    accounts

    Over 2,000,000 Moodle courses

    Hosting Moodle sites since 2004

    Virtualized Infrastructure
Know What's Happening
on Your Server

    Monitoring: Cacti
      SNMP monitoring
      Round robin log storage

    Alerts and Notifications: Nagios
      SNMP alert system
      Have your servers page or text you!
Roles

    Don't change built in roles
      Remember reset defaults option

    Know what level to apply roles at
      Admin: global
      Course Creator: global, or category
      Student, Teacher: course

    Know what level capabilities work at

    Make new roles by copying most
    similar existing role
Performance Tips

    PHP Accelerator – APC

    MySQL –
      Buffers and Query Caching
      Use InnoDB
      Use Percona build

    Sessions

    Moodle source code location
Performance Testing


    Try jMeter

    Try Apache ab
Just-in-Case Model


    Automate user creation, course creation and
    enrolments

    Use LDAP auth + external DB enrolment

    Get higher adoption rates from instructors

    Instructor can focus more time on teaching less
    on the technology
Backups Management


    Course backups not a full backup!

    Disable automated course backups?

    Yesterday instance

    Backup Elements
      Moodle code
      Moodledata
      Database
Platform Selection

    Linux most used for scalability

    Windows significantly lower
    performance for PHP apps

    Mac OSX forking performance
    issue
      Apache and MySQL concurrency
      issue
Issue Tracker

    Use notification screen to confirm
    version

    Moodle Issue Tracker
      Vote for bugs
      Set a Watch your important bugs
phpMyAdmin

    Useful and powerful, but
    dangerous

    Useful to pull reports not built into
    Moodle

    Change settings values not in GUI

    Fix Moodle when “broken” by user
    error

    Reset administrator password if
    locked out
Various Admin Helpers
 
     Moodle debug
       General debugging
       Performance debugging
 
     phpinfo – confirm your php build
 
     iperf – test your network
 
     iostat – linux disk usage stats
 
     strace – see what a process is
     doing
Custom Development and
Modules
 
     Don't load modules just because
     they are available
 
     Use modules over “hacks”
 
     Use the forums to evaluate
     modules
 
     Use the author's profile to research
     the creator
Change Management

• Enforce change controls
• Engage stack holders in change
  management
• Visible Ops
Security - Update


    Security report

    Use password salts

    User passwords – less secure then
    ever

    Don't give web server user write
    permissions to Moodle source
General Security

    Select Enterprise class OS with long
    term support.

    Automate or schedule updates

    Moodledata outside of web root

    Try mod_sec

    Consider using git for Moodle
    auto/scheduled updates

    Consider forced logins

    HTTPS logins
More Security


    Disable MySQL networking

    Set the MySQL root user password

    See Moodle Docs Security Page
      http://docs.moodle.org/en/Security
Email delivery

    Make sure you have valid reverse
    DNS

    Make sure you have permission to
    send email for primary
    administrator's email account

    Use email debug to help diagnose
    problems.
Custom themes
 
     Start with a basic theme
 
     Copy existing theme to a new
     folder name
 
     Prevents upgrades from wiping
     out
Questions?

 Email:
 jonathan@remote-learner.co.uk
 Twitter:
 moorejon

Mais conteúdo relacionado

Destaque

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Best Practices in Moodle Administration

  • 1. Best Practices in Moodle Administration Jonathan Moore CTO and Vice President RL-UK
  • 2. RL Background and Context  Over 3000 hosted Moodle sites  Over 12 million registered Moodle accounts  Over 2,000,000 Moodle courses  Hosting Moodle sites since 2004  Virtualized Infrastructure
  • 3. Know What's Happening on Your Server  Monitoring: Cacti SNMP monitoring Round robin log storage  Alerts and Notifications: Nagios SNMP alert system Have your servers page or text you!
  • 4. Roles  Don't change built in roles Remember reset defaults option  Know what level to apply roles at Admin: global Course Creator: global, or category Student, Teacher: course  Know what level capabilities work at  Make new roles by copying most similar existing role
  • 5. Performance Tips  PHP Accelerator – APC  MySQL – Buffers and Query Caching Use InnoDB Use Percona build  Sessions  Moodle source code location
  • 6. Performance Testing  Try jMeter  Try Apache ab
  • 7. Just-in-Case Model  Automate user creation, course creation and enrolments  Use LDAP auth + external DB enrolment  Get higher adoption rates from instructors  Instructor can focus more time on teaching less on the technology
  • 8. Backups Management  Course backups not a full backup!  Disable automated course backups?  Yesterday instance  Backup Elements Moodle code Moodledata Database
  • 9. Platform Selection  Linux most used for scalability  Windows significantly lower performance for PHP apps  Mac OSX forking performance issue Apache and MySQL concurrency issue
  • 10. Issue Tracker  Use notification screen to confirm version  Moodle Issue Tracker Vote for bugs Set a Watch your important bugs
  • 11. phpMyAdmin  Useful and powerful, but dangerous  Useful to pull reports not built into Moodle  Change settings values not in GUI  Fix Moodle when “broken” by user error  Reset administrator password if locked out
  • 12. Various Admin Helpers  Moodle debug General debugging Performance debugging  phpinfo – confirm your php build  iperf – test your network  iostat – linux disk usage stats  strace – see what a process is doing
  • 13. Custom Development and Modules  Don't load modules just because they are available  Use modules over “hacks”  Use the forums to evaluate modules  Use the author's profile to research the creator
  • 14. Change Management • Enforce change controls • Engage stack holders in change management • Visible Ops
  • 15. Security - Update  Security report  Use password salts  User passwords – less secure then ever  Don't give web server user write permissions to Moodle source
  • 16. General Security  Select Enterprise class OS with long term support.  Automate or schedule updates  Moodledata outside of web root  Try mod_sec  Consider using git for Moodle auto/scheduled updates  Consider forced logins  HTTPS logins
  • 17. More Security  Disable MySQL networking  Set the MySQL root user password  See Moodle Docs Security Page http://docs.moodle.org/en/Security
  • 18. Email delivery  Make sure you have valid reverse DNS  Make sure you have permission to send email for primary administrator's email account  Use email debug to help diagnose problems.
  • 19. Custom themes  Start with a basic theme  Copy existing theme to a new folder name  Prevents upgrades from wiping out