-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slightly improve script and add docs #8612
Conversation
Need to test own instruction. I will wait for CI build. |
After that downloaded archives should be unpacked and installed with installation scripts. Example for the latest version: | ||
```bash | ||
export LATEST_VERSION=`curl https://api.github.com/repos/ClickHouse/ClickHouse/tags 2>/dev/null | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -n 1` | ||
curl -O https://repo.yandex.ru/clickhouse/tgz/clickhouse-common-static-$LATEST_VERSION.tgz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW curl
is usually less available than wget
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ docker run --network=host -it archlinux bash
[root@click /]# wget
bash: wget: command not found
[root@click /]# curl
curl: try 'curl --help' for more information
$ docker run --network=host -it gentoo/stage3-amd64 bash
click / # wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
click / # curl
curl: try 'curl --help' or 'curl --manual' for more information
$ docker run --network=host -it vbatts/slackware bash
bash-4.3# wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
bash-4.3# curl
bash: curl: command not found
parity!
docs/en/getting_started/install.md
Outdated
sudo clickhouse-common-static-dbg-$LATEST_VERSION/install/doinst.sh | ||
|
||
tar -xzvf clickhouse-server-$LATEST_VERSION.tgz | ||
sudo clickhouse-server-$LATEST_VERSION/install/predoinst.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious what is the purpose of separate predoinst
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know, alien
creates this script. Actually it's not required.
Checked on gentoo under root user in docker. Works. |
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
Changelog entry (up to few sentences, required except for Non-significant/Documentation categories):
Documentation for
.tgz
build and ability to work from any directory.