Minify your JavaScript code, and consider using a CDN for static content like images. Unload Apache modules which you don’t need to save memory, and adjust the log level to errors only. For example, if your tables are all MyISAM, disable InnoDB in your my.cnf file to save further memory. To identify which server parameters need tuning, and incrementally make changes to your server’s cache and buffers to improve performance. You may use the MariaDB Optimization and Tuning guides, Dolibarr ERP & CRM is a Web based Open Source software to manage a. If your application is database-heavy, you’ll gain performance by giving the MariaDB server more memory. Main Dolibarr features include: Main modules edit Sales Management Purchase. You can use tools like mysqldumpslow or mysql-slow-query-log-visualizer to parse and analyze the slow query logs generated. This lets you track which of your queries are performing inefficiently and adjust them, either structurally or by applying table indexes as needed, to improve performance. Turn on MariaDB’s slow query log and set MariaDB’s 'long_query_time' variable to a low number. Consider using memcache to store frequently-accessed fragments of data in memory as arrays, thereby reducing the load on your MariaDB database server. Memcache is a high-performance, distributed memory object caching system. LAMP packaged by Bitnami also includes the PHP memcache extension. Read more about APCu and how to use APC with PHP and Bitnami. Using two directives in the same context seems useless, as only the second one matters. So the last one wins (for that specific context). Since there can be only one, in a given context, each subsequent call will overwrite the previous one. Make sure your APC cache has enough memory and a long TTL. DocumentRoot is a directive that sets a value. APC provides a framework for opcode caching, thereby speeding up PHP applications without needing any code changes. Usually, when a PHP script is executed, the PHP compiler converts the script to opcodes and then executes the opcodes. You should now be able to access your application using an HTTPS URL.LAMP packaged by Bitnami includes APCu, a popular PHP bytecode cache. sudo /opt/bitnami/ctlscript.sh restart nginx Refer to the FAQ for more information.ĥ.- Restart the Nginx server. Sudo chmod 600 /opt/bitnami/apps/APPNAME/conf/certs/server*Ĥ.- Open port 443 in the server firewall. Follow these steps to activate SSL support:ġ.- Use the table below to identify the correct locations for your certificate and configuration files.Ĭurrent application URL Nginx configuration file /opt/bitnami/apps/APPNAME/conf/nfĬertificate file /opt/bitnami/apps/APPNAME/conf/certs/server.crtĬertificate key file /opt/bitnami/apps/APPNAME/conf/certs/server.keyĢ.-Copy your SSL certificate and certificate key file to the specified locations.ģ.- Once you have copied all the server certificate files, you may make them readable by the root user only with the following commands: sudo chown root:root /opt/bitnami/apps/APPNAME/conf/certs/server* Once you obtain the certificate and certificate key files, you will need to update your server to use them. You can either generate this on your own (explained here) or you can purchase one from a commercial certificate authority. Although this dummy certificate is fine for testing and development purposes, you will usually want to use a valid SSL certificate for production use. Placeholder with the name of your application directory.īitnami images come with SSL support already pre-configured and with a dummy certificate in place. In the following steps, replace the APPNAME NOTE: The steps below assume that you are using a custom domain nameĪnd that you have already configured the custom domain name to point
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |