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(TM) LMS since version 2.5. In Moodle LMS 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 LMS 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 November 17, 2020