mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 05:19:40 +02:00
Update install.sh
This commit is contained in:
parent
897d2d93c8
commit
aa4723a2d3
1 changed files with 15 additions and 18 deletions
33
install.sh
33
install.sh
|
@ -46,12 +46,12 @@ su - $SUDO_USER -c "poetry --version"
|
||||||
#---------------------
|
#---------------------
|
||||||
apt install -y build-essential tcl pkg-config
|
apt install -y build-essential tcl pkg-config
|
||||||
|
|
||||||
if [ ! -d "valkey" ];
|
if [ ! -d "valkey" ]; then
|
||||||
then
|
git clone https://github.com/valkey-io/valkey.git
|
||||||
git clone https://github.com/valkey-io/valkey.git
|
cd valkey
|
||||||
cd valkey
|
git checkout 8.0
|
||||||
git checkout 8.0
|
make -j 4
|
||||||
make -j 4
|
cd ..
|
||||||
fi
|
fi
|
||||||
# Optionally, you can run the tests:
|
# Optionally, you can run the tests:
|
||||||
# make test
|
# make test
|
||||||
|
@ -64,25 +64,22 @@ chown -R $SUDO_USER valkey
|
||||||
apt-get update
|
apt-get update
|
||||||
apt install -y git gcc g++ make cmake autoconf automake libtool python3 libssl-dev
|
apt install -y git gcc g++ make cmake autoconf automake libtool python3 libssl-dev
|
||||||
|
|
||||||
if [ ! -d "kvrocks" ];
|
if [ ! -d "kvrocks" ]; then
|
||||||
then
|
git clone --recursive https://github.com/apache/incubator-kvrocks.git kvrocks
|
||||||
git clone --recursive https://github.com/apache/incubator-kvrocks.git kvrocks
|
cd kvrocks
|
||||||
cd kvrocks
|
git checkout 2.10
|
||||||
git checkout 2.10
|
./x.py build
|
||||||
./x.py build
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
chown -R $SUDO_USER kvrocks
|
chown -R $SUDO_USER kvrocks
|
||||||
|
|
||||||
#---------------------
|
#---------------------
|
||||||
# Pandora
|
# Pandora
|
||||||
#---------------------
|
#---------------------
|
||||||
if [ ! -d "pandora" ];
|
if [ ! -d "pandora" ]; then
|
||||||
then
|
git clone https://github.com/pandora-analysis/pandora.git
|
||||||
git clone https://github.com/pandora-analysis/pandora.git
|
chown -R $SUDO_USER pandora
|
||||||
chown -R $SUDO_USER pandora
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# fix broken packages
|
# fix broken packages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue