Cannot install KrakenD on Linux using Generic Linux binary

165 views
Skip to first unread message

Piyush Kapoor

unread,
Apr 11, 2022, 6:19:14 AM4/11/22
to KrakenD Community
Hello,

We are currently running Oracle Linux "Oracle Linux Server 7.9" and I am trying to install KrakenD using the linux binary from the download page.

After I unzip the file I get below -- screenshot attached for reference.

Now when i m trying to "Verifying packages (PGP and SHA256)" and "Running KrakenD server". I get below errors -- 

[user@sampleserver krakenD]$ gpg --keyserver keyserver.ubuntu.com --recv-key 5DE6FD698AD6FDD2
gpg: keyring `/home/oracle/.gnupg/secring.gpg' created
gpg: requesting key 8AD6FDD2 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: Keyserver error

[user@sampleserver krakenD]$ krakend run -h
-bash: krakend: command not found


Kindly assist as we are trying to find a replacement for our currently implemented API Gateway.
krakenUnzip.jpg

Albert Lombarte

unread,
Apr 11, 2022, 9:56:28 AM4/11/22
to KrakenD Community, piyus...@gmail.com
Hi,

For the install method based on the tar,gz file, you don't need GPG to make KrakenD work. This is for Debian-based, and CentoOS/Redhat based distros, not your case with Oracle Linux.

After decompressing the targz, you can see in the screenshot you have shared, that it creates a folder /home/oracle/usr/bin with the binary "krakend" inside (and other files). You can simply move the binary to any directory that is included in your PATH (find it out by typing "echo $PATH"). For instance, you can do:

mv /home/oracle/usr/bin/krakend /usr/local/bin/krakend

Then the krakend command will work.

Hope this helps move forward

El dia dilluns, 11 d’abril de 2022 a les 12:19:14 UTC+2, piyus...@gmail.com va escriure:

Piyush Kapoor

unread,
Apr 12, 2022, 3:59:31 AM4/12/22
to KrakenD Community, alb...@krakend.io, Piyush Kapoor
Hello El,

Thank you for the response, It helped and now I am able to run Kraken D now by adding the krakend path in system PATH variable.
Reply all
Reply to author
Forward
0 new messages