mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
Fix _includes/install/tgz.sh script for linux
This commit is contained in:
parent
1204b9e303
commit
3f967b1822
@ -14,8 +14,6 @@ do
|
|||||||
|| curl -fO "https://packages.clickhouse.com/tgz/stable/$PKG-$LATEST_VERSION.tgz"
|
|| curl -fO "https://packages.clickhouse.com/tgz/stable/$PKG-$LATEST_VERSION.tgz"
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
tar -xzvf "clickhouse-common-static-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-common-static-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|| tar -xzvf "clickhouse-common-static-$LATEST_VERSION.tgz"
|
|| tar -xzvf "clickhouse-common-static-$LATEST_VERSION.tgz"
|
||||||
sudo "clickhouse-common-static-$LATEST_VERSION/install/doinst.sh"
|
sudo "clickhouse-common-static-$LATEST_VERSION/install/doinst.sh"
|
||||||
@ -26,7 +24,7 @@ sudo "clickhouse-common-static-dbg-$LATEST_VERSION/install/doinst.sh"
|
|||||||
|
|
||||||
tar -xzvf "clickhouse-server-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-server-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|| tar -xzvf "clickhouse-server-$LATEST_VERSION.tgz"
|
|| tar -xzvf "clickhouse-server-$LATEST_VERSION.tgz"
|
||||||
sudo "clickhouse-server-$LATEST_VERSION/install/doinst.sh"
|
sudo "clickhouse-server-$LATEST_VERSION/install/doinst.sh" configure
|
||||||
sudo /etc/init.d/clickhouse-server start
|
sudo /etc/init.d/clickhouse-server start
|
||||||
|
|
||||||
tar -xzvf "clickhouse-client-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-client-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|
@ -140,8 +140,6 @@ do
|
|||||||
|| curl -fO "https://packages.clickhouse.com/tgz/stable/$PKG-$LATEST_VERSION.tgz"
|
|| curl -fO "https://packages.clickhouse.com/tgz/stable/$PKG-$LATEST_VERSION.tgz"
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
tar -xzvf "clickhouse-common-static-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-common-static-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|| tar -xzvf "clickhouse-common-static-$LATEST_VERSION.tgz"
|
|| tar -xzvf "clickhouse-common-static-$LATEST_VERSION.tgz"
|
||||||
sudo "clickhouse-common-static-$LATEST_VERSION/install/doinst.sh"
|
sudo "clickhouse-common-static-$LATEST_VERSION/install/doinst.sh"
|
||||||
@ -152,7 +150,7 @@ sudo "clickhouse-common-static-dbg-$LATEST_VERSION/install/doinst.sh"
|
|||||||
|
|
||||||
tar -xzvf "clickhouse-server-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-server-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|| tar -xzvf "clickhouse-server-$LATEST_VERSION.tgz"
|
|| tar -xzvf "clickhouse-server-$LATEST_VERSION.tgz"
|
||||||
sudo "clickhouse-server-$LATEST_VERSION/install/doinst.sh"
|
sudo "clickhouse-server-$LATEST_VERSION/install/doinst.sh" configure
|
||||||
sudo /etc/init.d/clickhouse-server start
|
sudo /etc/init.d/clickhouse-server start
|
||||||
|
|
||||||
tar -xzvf "clickhouse-client-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-client-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|
@ -137,8 +137,6 @@ do
|
|||||||
|| curl -fO "https://packages.clickhouse.com/tgz/stable/$PKG-$LATEST_VERSION.tgz"
|
|| curl -fO "https://packages.clickhouse.com/tgz/stable/$PKG-$LATEST_VERSION.tgz"
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
tar -xzvf "clickhouse-common-static-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-common-static-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|| tar -xzvf "clickhouse-common-static-$LATEST_VERSION.tgz"
|
|| tar -xzvf "clickhouse-common-static-$LATEST_VERSION.tgz"
|
||||||
sudo "clickhouse-common-static-$LATEST_VERSION/install/doinst.sh"
|
sudo "clickhouse-common-static-$LATEST_VERSION/install/doinst.sh"
|
||||||
@ -149,7 +147,7 @@ sudo "clickhouse-common-static-dbg-$LATEST_VERSION/install/doinst.sh"
|
|||||||
|
|
||||||
tar -xzvf "clickhouse-server-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-server-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|| tar -xzvf "clickhouse-server-$LATEST_VERSION.tgz"
|
|| tar -xzvf "clickhouse-server-$LATEST_VERSION.tgz"
|
||||||
sudo "clickhouse-server-$LATEST_VERSION/install/doinst.sh"
|
sudo "clickhouse-server-$LATEST_VERSION/install/doinst.sh" configure
|
||||||
sudo /etc/init.d/clickhouse-server start
|
sudo /etc/init.d/clickhouse-server start
|
||||||
|
|
||||||
tar -xzvf "clickhouse-client-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-client-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|
@ -134,8 +134,6 @@ do
|
|||||||
|| curl -fO "https://packages.clickhouse.com/tgz/stable/$PKG-$LATEST_VERSION.tgz"
|
|| curl -fO "https://packages.clickhouse.com/tgz/stable/$PKG-$LATEST_VERSION.tgz"
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
tar -xzvf "clickhouse-common-static-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-common-static-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|| tar -xzvf "clickhouse-common-static-$LATEST_VERSION.tgz"
|
|| tar -xzvf "clickhouse-common-static-$LATEST_VERSION.tgz"
|
||||||
sudo "clickhouse-common-static-$LATEST_VERSION/install/doinst.sh"
|
sudo "clickhouse-common-static-$LATEST_VERSION/install/doinst.sh"
|
||||||
@ -146,7 +144,7 @@ sudo "clickhouse-common-static-dbg-$LATEST_VERSION/install/doinst.sh"
|
|||||||
|
|
||||||
tar -xzvf "clickhouse-server-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-server-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|| tar -xzvf "clickhouse-server-$LATEST_VERSION.tgz"
|
|| tar -xzvf "clickhouse-server-$LATEST_VERSION.tgz"
|
||||||
sudo "clickhouse-server-$LATEST_VERSION/install/doinst.sh"
|
sudo "clickhouse-server-$LATEST_VERSION/install/doinst.sh" configure
|
||||||
sudo /etc/init.d/clickhouse-server start
|
sudo /etc/init.d/clickhouse-server start
|
||||||
|
|
||||||
tar -xzvf "clickhouse-client-$LATEST_VERSION-${ARCH}.tgz" \
|
tar -xzvf "clickhouse-client-$LATEST_VERSION-${ARCH}.tgz" \
|
||||||
|
Loading…
Reference in New Issue
Block a user