Skip to content

Instantly share code, notes, and snippets.

@abi
Created July 12, 2011 02:11
Show Gist options
  • Save abi/1077265 to your computer and use it in GitHub Desktop.
Save abi/1077265 to your computer and use it in GitHub Desktop.
Installing Java and MySQL without stupid ncurses prompts
#JAVA
#Thanks to http://www.davidpashley.com/blog/debian/java-license
sun-java5-jdk shared/accepted-sun-dlj-v1-1 select true
sun-java5-jre shared/accepted-sun-dlj-v1-1 select true
sun-java6-jdk shared/accepted-sun-dlj-v1-1 select true
sun-java6-jre shared/accepted-sun-dlj-v1-1 select true
#MySQL
#Thanks to http://www.muhuk.com/2010/05/how-to-install-mysql-with-fabric/
mysql-server mysql-server/root_password password ''
mysql-server mysql-server/root_password_again password ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment