Created
July 13, 2017 18:03
-
-
Save yesoreyeram/1d1eb2dda4d480c8c1ea476abd3361a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # update hostname in hosts file (Will help to fix “sudo: unable to resolve hostname” issue while installing) | |
| echo $(hostname -I | cut -d\ -f1) $(hostname) | tee -a /etc/hosts | |
| # Install mono (required for octopus to connect) | |
| apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | |
| echo "deb http://download.mono-project.com/repo/ubuntu xenial main" | tee /etc/apt/sources.list.d/mono-official.list | |
| apt-get update | |
| apt-get install mono-devel --yes --allow-unauthenticated | |
| exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment