Reputation: 49
I have ClickHouse already installed on my server(Ubuntu 14.04 LTS) using root, and now can i install it on the same server with another user, and if yes then please provide necessary steps to install it.
Upvotes: 1
Views: 1712
Reputation: 911
If you want several different ClickHouse instances to work on same server, use separate configuration files for them and provide different data directories (path) and ports to listen.
To specify differen user to run ClickHouse, you could edit its init script (/etc/init.d/clickhouse-server). You could copy it to multiple init scripts to run multiple ClickHouse instances.
Upvotes: 0
Reputation: 451
I don't think that you can install clickhouse with different user. (because installations will have conflicting ports 9000, 8123, etc.)
I believe the best way to do this is use docker image https://hub.docker.com/r/yandex/clickhouse-server and configure different volume directories and port bindings.
Upvotes: 2