This article is only the introduction installation
As more of the description please confidence Baidu
1. linux version
[root@localhost /]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
2. Check whether the system supports clickhouse installation
[root@localhost /]# grep -q sse4_2 /proc/cpuinfo && echo “SSE 4.2 supported” || echo “SSE 4.2 not supported.
“SSE 4.2 supported”
If the display is SSE4.2suported you can continue to install as the latter:
Well unfortunately tells you that your computer does not support the cpu sse instruction set, please think of ways since.
3. download the corresponding packet https://packagecloud.io/Altinity/clickhouse/ clickhouse
After 3.1 copying operation, it will be added to the corresponding packet linux
[root@localhost clickhouse]# curl -s https://packagecloud.io/install/repositories/Altinity/clickhouse/script.rpm.sh | sudo bash
3.2 can be installed to view clickhouse
[root@localhost clickhouse]# yum list clickhouse*
3.3 Direct installation services directly to the end customer [installation also installed on the server]
[root@localhost clickhouse]# rpm -ivp clickhouse-client.x86_64
4. Start services
[root @ localhost clickhouse] # service clickhouse-server start
The connection client
[root@localhost clickhouse]# clickhouse-client
6. execute the query
localhost :) select 1
[Figure 4.5.6]
Completed. . .