Post installation best checklist

Post installation best checklist

by QLD BNE -
Number of replies: 5

Hi,

Finally I have installed production server with Moodle 2.5+ and did following post installation settings for our school. I was wondering if you have any other setting that you may suggest for best practices? Is there any tool for the server that you can suggest?

 

Installation of Ubuntu 12.04.2 LTS

Roles: SSH and LAMPsudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo reboot
sudo apt-get install php5 php5-mysql php5-curl php5-xmlrpc php5-intl php5-gd php5-ldap

Installed PHPMYADMIN
sudo apt-get install phpmyadmin
Select apache2 and OK

Installed FTP Server

#Install vsftpd (FTP)
sudo apt-get install vsftpd

Change the configurations file
/etc$ sudo vim vsftpd.conf
anonymous_enable=NO
local_enable=YES
write_enable=YES
#Adding a “fake” shell
    /etc$ sudo vim shells
    /bin/sh
    /bin/bash
    /bin/false

-Changed Favicon
-Changed upload max size limit by doing
Site administration > Location > Location settings

- Ediited post sizes by doing
/etc/php5/apache2/

    sudo nano /etc/php5/apache2/php.ini
    Ctrl and W and type "post_max_size"
    Change the value to the number of Mb you want your site to accept as uploads
    Ctrl and W and type "upload_max_filesize"
    Change the value to the number of Mb you want your site to accept as uploads
    Ctrl and W and type "max_execution_time"
    Change the value to 600
    Ctrl and O then Enter
    Ctrl and X
    sudo /etc/init.d/apache2 restart

New file size limit appeared in Administration > Security > Site Policies > Maximum uploaded file size
User quota 314572800=300MB
#########################################
CRON SETUP
sudo crontab -e
select nano (option 2)
15 * * * * /usr/bin/php  /var/www/admin/cli/cron.php >/dev/null
Crtl+O
Enter
Ctrl+X

#########################################
Site administration > Plugins > Activity modules > Forum
-Maximum attachment size forum_maxbytes Default is 500KB. Increased to 96MB

#########################################
Filter Settings
Site administration > Plugins > Filters > Manage filters
-Turned on: Display emoticons as images, TeX notation, Glossary auto-linking, Activity names auto-linking, Multimedia plugins

Repositories
    Site administration > Users > Permissions > Define roles

-Turn on repositories
-Go to "Allow role switches" tab and check the student box for Teacher!

#########################################
Additional language package installation
    Site administration > Language > Language packs

Average of ratings: Useful (1)
In reply to QLD BNE

Re: Post installation best checklist

by Ken Task -
Picture of Particularly helpful Moodlers

Something to check/help tweak MySQL ... mysqltuner or mysqltuner 2.

Now that 2 has TinyMCE showing Math forumula's button might investigate getting whatever required to use it.  ImageMagik, TexAlive, netpbm, etc..

Check out file system repos ... maybe mount points to Windows shares? as well as other repos like Google, etc.  LDAP authentication as most schools are probably heavily invested in Windows workstations.

If school is looking into or begun tablets/handhelds start looking into what tweaks one might need to do to facilitate usage.

You've got a good start!  'Best Practice', BTW, is what works for your entity.

'spirit of sharing', Ken

In reply to Ken Task

Re: Post installation best checklist

by QLD BNE -

Thanks Ken, much appreciated.I am having difficulties when I try to install plug ins.  Obviously a permission issue on Ubuntu server. Which user should have write permission and how can I do that?

There is a request to install add-on HTML5 content editable editor (editor_contenteditable) version 2013052300 from the Moodle plugins directory on this site. However, the plugin type location /var/www/lib/editor is not writable. You need to give write access for the web server user to the plugin type location, then press the continue button to repeat the check.

In reply to QLD BNE

Re: Post installation best checklist

by Ken Task -
Picture of Particularly helpful Moodlers

The apache server user is www-data on 'typical' Ubuntu machines.  That user needs at least read access in in some cases write (as you have discovered).

If I re-call, document root is /var/www-data?  So one would use:

chown www-data:www-data * -R which should get moodle however installed.

and then to set permissions:

chmod u+rw * -R

u = user = www-data

+rw = read and write permissions.

'spirit of sharing', Ken

Average of ratings: Useful (1)
In reply to Ken Task

Re: Post installation best checklist

by QLD BNE -

Thanks Ken,

Used the command as below and worked

sudo chown -R www-data:www-data /var/www/lib/editor
sudo chown -R www-data:www-data /var/www/course/format