2 ms·
that is exaxtly what it does ;) if you don't feel comfortable with curl | sh , you can download clickhouse binary from the repo here https://github.com/ClickHou
by ebfe1 3y ago
that is exaxtly what it does ;) if you don't feel comfortable with curl | sh , you can download clickhouse binary from the repo here https://github.com/ClickHouse/ClickHouse/releases https://github.com/ClickHouse/ClickHouse/releases
;)
- pcthrowaway 3y agoChanging the content from an html page to a shell script based on user-agent is a pretty bad abuse of HTTP. Why not at least require `-H 'Accept: text/x-shellscript'`? Or be more basic and give the script its own URL
- SomaticPirate 3y agoBased on what reasoning? (Honestly curious)
- remram 3y agoIf I want to download your homepage with curl to read offline, I get a script? If I use a tool you don't know you get the installer, I execute HTML? If I run curl on Windows, do I get this script? A PowerShell version? Why not make it https://clickhouse.com/linux-installer https://clickhouse.com/linux-installer?
- ebfe1 3y agoThese are totally legit concerns, while the behaviour of the site has been around for quite sometimes and many ClickHouse installation script may have them so we will keep it for backward compatibility, we will add the usual install.sh url later and start sharing them more often. (Pull request is in ... it should be deployed on Monday and you can use https://clickhouse.com/install.sh https://clickhouse.com/install.sh ). Love the feedbacks, please keep them coming!
- never_inline 3y agoBecause someone may want to preview the script in browser. Because someone may not have curl and use another tool your server doesn't know.
- dotancohen 3y agoTo what Resourse does this URL (universal Resourse locator) refer? A web page or a script?