User Tools

Site Tools


mariadb_128mb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
mariadb_128mb [2017/05/12 20:27] – created neoonmariadb_128mb [2021/09/16 14:01] – old revision restored (2017/05/12 21:31) neoon
Line 1: Line 1:
 === MariaDB 128MB Setup === === MariaDB 128MB Setup ===
 +
 +  mkdir /etc/mysql
 +  mkdir /etc/mysql/conf.d
 +  vim /etc/mysql/conf.d/lowendbox.cnf
 +**Config**
 +
 + [mysqld]
 + key_buffer = 16K
 + max_allowed_packet = 1M
 + table_cache = 4
 + sort_buffer_size = 64K
 + read_buffer_size = 256K
 + key_buffer_size         = 32M
 + myisam_sort_buffer_size = 32M
 + read_rnd_buffer_size = 256K
 + net_buffer_length = 2K
 + thread_stack = 64K
 +**Install MariaDB**
 +  apt-get install mariadb-server
 +  
 +Original config: https://lowendbox.com/blog/yes-you-can-run-18-static-sites-on-a-64mb-link-1-vps/
 +
mariadb_128mb.txt · Last modified: 2021/11/25 22:42 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki