3

how to automate an installation script suppressing user interaction

view full story
linux-howto

http://www.linuxquestions.org – Hello All, Im new to linux and this is my first post... Im working on ubuntu and i need to install glassfish on my machine often. I want to write a script which can automate this installation and the post installation work so that I can run this script when i leave office and have everything done by the time I reach office the next day. But after running the installation command there will be a license agreement which i need to accept by typing "A" at the console. Now How I can automate this so that the scipt can take this from a txt file? Please help..... mv /home/liferay-portal-glassfish-linux-5.2.3.jar /opt/argon/ cd /opt/argon java -Xmx256m -jar liferay-portal-glassfish-linux-5.2.3.jar <Here The console expects to type "A" accepting the lisence agreement> cd glassfish chmod -R +x lib/ant/bin ...... .... .... ... linuxubuntu aditi is online now Tag This Post No tags yet, please tag this post - what is this? Your Tags: Edit/Delete Message Reply With Quote aditi View Public Profile View LQ Blog View Bookmarks View Review Entries View HCL Entries Find More Posts by aditi Add aditi to Your Contacts Reply (HowTos)