mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 05:19:40 +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"
|
||||
|
||||
#---------------------
|
||||
# REDIS
|
||||
# Valkey
|
||||
#---------------------
|
||||
apt install -y build-essential tcl
|
||||
apt install -y build-essential tcl pkg-config
|
||||
|
||||
if [ -d "redis" ];
|
||||
if [ -d "valkey" ];
|
||||
then
|
||||
cd redis
|
||||
cd valkey
|
||||
else
|
||||
git clone https://github.com/redis/redis.git
|
||||
cd redis
|
||||
git checkout 6.2
|
||||
git clone https://github.com/valkey-io/valkey.git
|
||||
cd valkey
|
||||
git checkout 8.0
|
||||
make -j 4
|
||||
fi
|
||||
make
|
||||
# Optionally, you can run the tests:
|
||||
# make test
|
||||
cd ..
|
||||
|
||||
chown -R $SUDO_USER redis
|
||||
chown -R $SUDO_USER valkey
|
||||
|
||||
#---------------------
|
||||
# Kvrocks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue