mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 13:29:42 +02:00
fix install
This commit is contained in:
parent
611765e1d7
commit
423bb54729
1 changed files with 9 additions and 9 deletions
18
install.sh
18
install.sh
|
@ -42,24 +42,24 @@ su - $SUDO_USER -c "curl -sSL https://install.python-poetry.org | python3 -"
|
||||||
su - $SUDO_USER -c "poetry --version"
|
su - $SUDO_USER -c "poetry --version"
|
||||||
|
|
||||||
#---------------------
|
#---------------------
|
||||||
# REDIS
|
# Valkey
|
||||||
#---------------------
|
#---------------------
|
||||||
apt install -y build-essential tcl
|
apt install -y build-essential tcl pkg-config
|
||||||
|
|
||||||
if [ -d "redis" ];
|
if [ -d "valkey" ];
|
||||||
then
|
then
|
||||||
cd redis
|
cd valkey
|
||||||
else
|
else
|
||||||
git clone https://github.com/redis/redis.git
|
git clone https://github.com/valkey-io/valkey.git
|
||||||
cd redis
|
cd valkey
|
||||||
git checkout 6.2
|
git checkout 8.0
|
||||||
|
make -j 4
|
||||||
fi
|
fi
|
||||||
make
|
|
||||||
# Optionally, you can run the tests:
|
# Optionally, you can run the tests:
|
||||||
# make test
|
# make test
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
chown -R $SUDO_USER redis
|
chown -R $SUDO_USER valkey
|
||||||
|
|
||||||
#---------------------
|
#---------------------
|
||||||
# Kvrocks
|
# Kvrocks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue