Secure your installation

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

One of our main goals is to configure Bitnami applications in the most secure way. However, sometimes, it is necessary to find a compromise between security and ease of use.

This is the case with Moodle since version 2.5. In Moodle 2.5, a new feature for installing add-ons from the admin web interface has been implemented. However, to allow this feature on Unix, it is required to grant write permissions to the web server group. You can make your configuration more secure by disabling this feature and installing Moodle plugins by copying the files to the right directory. However, this will require uploading the files to your server using other tools like SFTP clients or scp.

Last modification September 4, 2018