#1.sudo vim /etc/security/limits.conf sudo vim /etc/security/limits.d/20-nproc.conf
* soft nofile 65536
* hard nofile 65536
* soft nproc 131072
* hard nproc 131072
#2 上述两个文件的集群节点分发
#3 依赖安装
sudo yum install -y libtool
sudo yum install -y *unixODBC*
#4 修改并分发 sudo vim /etc/selinux/config
SELINUX=disabled
#5. mkdir clickhouse
sudo rpm -ivh *.rpm
#6. sudo vim /etc/clickhouse-server/config.xml <listen_host>::</listen_host> 的注释打开
sudo vim /etc/clickhouse-server/config.xml
#7
sudo systemctl start clickhouse-server
sudo systemctl disable clickhouse-server
clickhouse-client -m
clickhouse-client --user=default --password=123456