![]() Restore the database backup as described on the MySQL page.Įdit the backup ~/owncloud-backup/config/config.php file and change the dbpassword parameter using the new one that can be found in the new installdir/apps/owncloud/htdocs/config/config.php file. ![]() Uninstall the previous ownCloud packaged by Bitnami.ĭownload the latest version of the ownCloud packaged by Bitnami and install it. $ sudo cp installdir/apps/owncloud/htdocs/config ~/owncloud-backup $ sudo cp -rf installdir/apps/owncloud/conf/ ~/owncloud-backup ![]() You can use the commands below (on Linux and Mac OS X): $ sudo cp -rf installdir/apps/owncloud/data ~/owncloud-backup You can use the commands below (on Linux and Mac OS X): $ mkdir ~/owncloud-backupīackup the bitnami_owncloud database as described on the MySQL page.Ĭopy the conf/, data and htdocs//config directories to your backup directory. Upgrade ownCloud and all stack components (recommended)Ĭreate a directory to save all the data you need to backup. If you have important data, create and try to restore a backup to ensure that everything works properly. It is strongly recommended to create a backup before starting the update process. Learn more about the Bitnami stack environment and about OS X VMs. On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Minify your JavaScript code, and consider using a CDN for static content like images.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). 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, If your application is database-heavy, you’ll gain performance by giving the MariaDB server more memory. ![]() 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. Make sure your APC cache has enough memory and a long TTL. 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. LAMP packaged by Bitnami includes APCu, a popular PHP bytecode cache.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |