Created
June 22, 2018 03:27
-
-
Save emacsist/ebb98839c814cdb2f16e20efcef9474e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
grep -q sse4_2 /proc/cpuinfo && echo "SSE 4.2 supported" || echo "SSE 4.2 not supported" | |
grep -q sse4_2 /proc/cpuinfo || exit 1 | |
sudo echo "deb http://repo.yandex.ru/clickhouse/deb/stable/ main/" > /etc/apt/sources.list.d/clickhouse.list | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4 -y | |
sudo apt-get update -y | |
sudo apt-get install clickhouse-client clickhouse-server -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment