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