Installation
This page will show you how to install and configure SQLpipe.
SQLpipe is available for download according to the following URL convention:
https://downloads.sqlpipe.com/<version>/<operating-system>/<processor-architecture>/sqlpipe[.exe]
- Replace
<version>
with the version you want, orlatest
. - Replace
<operating-system>
with one of[macos, linux, windows, freebsd]
- Replace
<processor-architecture>
with one of[arm, x86]
- If downloading a Windows version, add
.exe
to the end
The following curl commands will download SQLpipe version 1.0.1:
# Linux x86
curl -O https://downloads.sqlpipe.com/1.0.1/linux/x86/sqlpipe
# macOS x86
curl -O https://downloads.sqlpipe.com/1.0.1/macos/x86/sqlpipe
# Linux ARM
curl -O https://downloads.sqlpipe.com/1.0.1/linux/arm/sqlpipe
# macOS ARM
curl -O https://downloads.sqlpipe.com/1.0.1/macos/arm/sqlpipe
If we do not offer a download for your specific system... Or you just like doing things the hard way :-) You may compile SQLpipe from source.
If using Linux, macOS or FreeBSD, grant the current user permission to execute the file:
sudo chmod +x sqlpipe
SQLpipe can be used as:
- A command line tool
- A long-lived server
First, choose which operation mode you want, then follow the appropriate setup steps below.
If you are in the same directory as SQLpipe, you may run it like so:
./sqlpipe <command>
Where
<command>
is one of SQLpipe's commands.However, we recommend adding SQLpipe to your
/usr/local/bin
directory:sudo mv sqlpipe /usr/local/bin
Then, you can test your installation with the following command:
sqlpipe version
If SQLpipe prints a version number, you're good to go!
Visit our SQLpipe CLI Usage Guide to learn how to use SQLpipe as a command line tool.
SQLpipe requires TLS to encrypt HTTP traffic. If you're unfamiliar with TLS, check out this article.
To use SQLpipe as a server, you must:
- 1.Create a directory
- 2.Move the SQLpipe executable to the directory
- 3.Create a folder for TLS certificates
- 4.Create TLS certificates
You can call the directory whatever you want.
mkdir ~/sqlpipe-server-directory
mv sqlpipe ~/sqlpipe-server-directory
cd ~/sqlpipe-server-directory
mkdir tls
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out tls/cert.pem -keyout tls/key.pem
The program will prompt you for the following information. However, for the purposes of a self signed certificate, none of this really matters.
You must enter a value for at least one field, but it doesn't have to be real information. For example, you could enter
my-org
for the organization name, and leave everything else blank.Country Name (2 letter code) []:
State or Province Name (full name) []:
Locality Name (eg, city) []:
Organization Name (eg, company) []:
Organizational Unit Name (eg, section) []:
Common Name (eg, fully qualified host name) []:
Email Address []:
Then, you can test your installation with the following command:
./sqlpipe version
If SQLpipe prints a version number, you're good to go!
Visit the SQLpipe Server Usage Guide to learn how to run a SQLpipe server.
Last modified 6mo ago