Bitnami stacks tend to install large amounts of files, since the include all dependencies and servers required for running the bundled web application. If you are installing a Bitnami application on a Windows machine that has an Antivirus enabled, this may slow down the installation significantly, and there is also a chance that one of the servers (web server, database server) may be blocked by the Antivirus software.
If you have an Antivirus enabled, check the following settings for running Bitnami stacks without performance issues:
- Add exceptions in the Firewall: If you have Windows Firewall enabled by default you will probably see this alert when the servers will be started. The servers require network access if you want to access to the Bitnami application from other computers in your same local network.
If your antivirus also has firewall capabilites, check that the default ports for the servers are not blocked. The default ports for the Bitnami applications are the following.
|Apache (PHP and Python apps)||80, 443|
|Apache Tomcat (Java apps)||8080, 8005, 8009|
|Thin servers (Ruby On Rails apps)||3001, 3002|
Depending on the Bitnami stack that you are installing, you should give access to the correct ports or applications in your firewall.
- Scan files when executing: If you have enabled the antivirus scan for all files, the executable files for the servers may slow down. We would recommend to disable the scan for the executable server files. For example, you can configure your antivirus to not scan "httpd.exe" file or "mysqld.exe" files.
- Web scanning: Antivirus also scans the traffic for different URLs. If you are developing with Bitnami stacks on your own machine, you can exclude "localhost" traffic in the Antivirus settings.
Avast is a popular antivirus software for Windows. You can see below how to change the antivirus configuration for a better performance of the Bitnami servers but the configuration should be similar for other antivirus software.
Disable scan file when executing
Go to "Security panel" -> "File System Shield" -> "Settings". Then you can add several "exclusions" for the server executable files. For example, the following screenshot shows how you can disable the antivirus scan for MySQL and Apache servers in Bitnami WAMP stack.
Disable web scanning for localhost
Go to "Security panel" -> "Web Shield" -> "Settings". Then you can add an "Exclusion" for the "localhost" traffic. You can also add more exclusions if your application is running in a local network.