mirror of
https://github.com/adulau/hashlookup-server.git
synced 2024-12-12 03:47:23 +00:00
chg: [kvrocks] update the kvrocks install script
This commit is contained in:
parent
439dd83fbf
commit
74efc57b3d
2 changed files with 11 additions and 4 deletions
|
@ -1,6 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
git clone --recursive https://github.com/KvrocksLabs/kvrocks.git
|
||||
if [[ ! ./kvrocks ]]
|
||||
then
|
||||
git clone --recursive https://github.com/apache/incubator-kvrocks.git kvrocks
|
||||
fi
|
||||
cd kvrocks
|
||||
git checkout 2.0.1
|
||||
make -j4
|
||||
git pull
|
||||
git submodule update
|
||||
#git checkout 2.0.1
|
||||
#make -j4
|
||||
mkdir build
|
||||
./build.sh ./build
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
ulimit -n 700000
|
||||
./kvrocks/src/kvrocks -c ../etc/kvrocks.conf
|
||||
./kvrocks/build/kvrocks -c ../etc/kvrocks.conf
|
||||
|
|
Loading…
Reference in a new issue