Keydb: Skirtumas tarp puslapio versijų
Jump to navigation
Jump to search
(Naujas puslapis: == Debian 9 (stretch) install == wget https://download.keydb.dev/keydb-stable.tar.gz tar xzvf keydb-stable.tar.gz cd KeyDB/ apt-get install build-essential nasm autotools-...) |
|||
22 eilutė: | 22 eilutė: | ||
+ | == Kernel tune == | ||
+ | |||
+ | echo 'net.core.somaxconn=65365' >> /etc/sysctl.conf | ||
+ | echo 'vm.overcommit_memory = 1' >> /etc/sysctl.conf | ||
+ | sysctl -p | ||
+ | echo never > /sys/kernel/mm/transparent_hugepage/enabled | ||
[[Category:Tinklas]] | [[Category:Tinklas]] | ||
[[Category:Duombazės]] | [[Category:Duombazės]] | ||
{{Template:Distributions}} | {{Template:Distributions}} |
13:42, 9 sausio 2020 versija
Debian 9 (stretch) install
wget https://download.keydb.dev/keydb-stable.tar.gz tar xzvf keydb-stable.tar.gz cd KeyDB/ apt-get install build-essential nasm autotools-dev autoconf libjemalloc-dev tcl tcl-dev uuid-dev libcurl4-openssl-dev make distclean make && make install
Systemd service faila galima rasti cia, jį dedame į /etc/systemd/system/keydb.service Sukuriame failą /etc/keydb.conf ir sudedame keydb konfiguraciją kaip aprašyta žemiau:
Prieš įgalindami keydb servisą, turime išjungti senajį redis serverį.
systemctl stop redis systemctl disable redis
Įjungiame keydb
Kernel tune
echo 'net.core.somaxconn=65365' >> /etc/sysctl.conf echo 'vm.overcommit_memory = 1' >> /etc/sysctl.conf sysctl -p echo never > /sys/kernel/mm/transparent_hugepage/enabled