https://github.com/altinity/clickhouse-deb-install
https://github.com/altinity/clickhouse-deb-install
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/altinity/clickhouse-deb-install
- Owner: Altinity
- License: mit
- Created: 2018-04-12T14:18:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-12T14:29:00.000Z (almost 8 years ago)
- Last Synced: 2025-08-15T11:50:11.040Z (6 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clickhouse-deb-install
ClickHouse DEB packages installation from packagecloud.io
# Install Altinity packagecloud.io repo
```bash
curl -s https://packagecloud.io/install/repositories/Altinity/clickhouse/script.deb.sh | sudo bash
```
# Install GCC-7
ClickHouse for Debian required gcc-7 and glibc 2.27, which is distributed with gcc-7
Install `gcc-7`
Append in `/etc/apt/sources.list` entries for test packages. So far `gcc-7` is still a test package for debian
```bash
sudo bash -c 'echo "deb http://deb.debian.org/debian testing main" >> /etc/apt/sources.list'
```
Now install `gcc-7`
```bash
sudo apt-get update
sudo apt-get install -y gcc-7 g++-7
```
Now install `clickhouse`
```bash
sudo apt install 'clickhouse*'
```
And restart `ClickHouse` service
```bash
sudo /etc/init.d/clickhouse-server restart
```