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 | |
| sudo apt-get update | |
| sudo apt-get install -yq linux-image-extra-$(uname -r) linux-image-extra-virtual | |
| sudo apt-get install -yq apt-transport-https ca-certificates curl software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" |
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 | |
| # Install external dependencies. | |
| sudo yum install -y gcc make openssl-devel libffi-devel | |
| # Download and install Python 2.7.5. | |
| # Note that there are newer release versions available. | |
| wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz | |
| tar xzf Python-2.7.5.tgz | |
| cd Python-2.7.5 |