paint-brush
How to configure Heroku on Ubuntu 16.04.3 x64by@xameeramir
935 reads
935 reads

How to configure Heroku on Ubuntu 16.04.3 x64

by Zameer Ansari
Zameer Ansari HackerNoon profile picture

Zameer Ansari

@xameeramir

Senior Software Engineer

February 4th, 2018
Read on Terminal Reader
Read this story in a terminal
Print this story
Read this story w/o Javascript
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Today, I purchased <code class="markup--code markup--p-code u-paddingRight0 u-marginRight0"><a href="https://hackernoon.com/tagged/ubuntu" target="_blank">Ubuntu</a> 16.04.3 x64</code> server running on <a href="https://www.digitalocean.com/" target="_blank">DigitalOcean</a> <a href="https://hackernoon.com/tagged/infrastructure" target="_blank">infrastructure</a>. It’s not too different than the ones <a href="https://www.softwareadvice.com/resources/cloud-erp-vs-on-premise/" target="_blank">on premise</a>:

Company Mentioned

Mention Thumbnail
Heroku
featured image - How to configure Heroku on Ubuntu 16.04.3 x64
Zameer Ansari HackerNoon profile picture
Zameer Ansari

Zameer Ansari

@xameeramir

Senior Software Engineer

image

credit: https://randomdrake.com/2012/10/15/deploying-an-existing-django-app-to-heroku-on-ubuntu-12-04/

Today, I purchased [Ubuntu](https://hackernoon.com/tagged/ubuntu) 16.04.3 x64 server running on DigitalOcean infrastructure. It’s not too different than the ones on premise:

Configuring Heroku is quite straight-forward. After ssh-ing, run the following commands with sudo:

wget https://cli-assets.heroku.com/heroku-cli/channels/stable/heroku-cli-linux-x64.tar.gz -O heroku.tar.gz

tar -xvzf heroku.tar.gz

mkdir -p /usr/local/lib /usr/local/bin

List the content of the current directory with ls. I found this output:


heroku-cli-v6.15.22–3f1c4bd-linux-x64 heroku.tar.gz

This output determines the value in the next step, use the first file name in the next command:

mv heroku-cli-v6.15.22-3f1c4bd-linux-x64 /usr/local/lib/heroku

ln -s /usr/local/lib/heroku/bin/heroku /usr/local/bin/heroku

And that’s it.

L O A D I N G
. . . comments & more!

About Author

Zameer Ansari HackerNoon profile picture
Zameer Ansari@xameeramir
Senior Software Engineer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite

Mentioned in this story

companies