[sysprep|https://nathanwebster.me/2017/sysprep-ec2-with-ansible/]
This file contains 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 | |
# This will install Sun (Oracle) Java on your Ubuntu-based Linux | |
# Run this script as root or "sudo install_sunjava.sh" | |
echo "deb http://www.duinsoft.nl/pkg debs all" | tee /etc/apt/sources.list.d/duinsoft-java.list | |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E18CE6625CB26B26 | |
apt-get update | |
apt-get install update-sun-jre |