LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-29-2010, 09:33 PM   #1
foottuns
Member
 
Registered: Nov 2009
Location: London
Distribution: Fedora 16
Posts: 92

Rep: Reputation: 17
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.
 
Old 10-31-2010, 08:22 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
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
 
Old 11-15-2010, 06:55 PM   #3
foottuns
Member
 
Registered: Nov 2009
Location: London
Distribution: Fedora 16
Posts: 92

Original Poster
Rep: Reputation: 17
thanks for advice but can i have some examples. i know i ask to much but i am new with this....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
java install help (heading towards tomcat) twistedrhymes Ubuntu 4 08-16-2010 11:55 AM
how to install java and tomcat to CentOS release 5.4 anjanbacchu Linux - Server 4 06-11-2010 08:21 AM
How to install apache-tomcat-5.5.27-admin.tar.gz srinivasmiriyalu Solaris / OpenSolaris 10 08-13-2009 03:17 AM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
install Java (Servlet), Tomcat on Fedora need help. learn Fedora 2 02-24-2004 11:28 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration