How to configure Heroku on Ubuntu 16.04.3 x64
Published in
1 min readFeb 4, 2018
Today, I purchased 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.gztar -xvzf heroku.tar.gzmkdir -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/herokuln -s /usr/local/lib/heroku/bin/heroku /usr/local/bin/heroku
And that’s it.