#!/bin/bash
# To install java and jre
sudo apt-get install sun-java6-jdk sun-java6-jre
# END
While installing java and jre it will ask “Licence Agreement”. How to write script to accept licence agreement.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
(partly from here for background info)
I highly recommend
for this kind of question. PaaS computing is the place to look for automatic deployment scripts 🙂