LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Script to install Java and Tomcat from tar files (https://www.linuxquestions.org/questions/programming-9/script-to-install-java-and-tomcat-from-tar-files-841286/)

foottuns 10-29-2010 09:33 PM

Script to install Java and Tomcat from tar files
 
hello there,

I am trying to write a script where I can install Java and Tomcat from tar file, I don't need to use any rmp files, that's why I am asking if there's a way how to install them. I am thinking at perl to do that or shell, but I prefer if you could give me an advice.

thank you.

kbp 10-31-2010 08:22 PM

I'm not sure why perl would be required but feel free, its pretty straight forward with a shell script. Java (jdk) can just be extracted wherever you want and referenced accordingly and Tomcat will probably have a Makefile that you can call if it's a source tarball.

hth

foottuns 11-15-2010 06:55 PM

thanks for advice but can i have some examples. i know i ask to much but i am new with this....:)


All times are GMT -5. The time now is 09:05 PM.