LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2012, 03:01 AM   #1
rcmsco
LQ Newbie
 
Registered: Dec 2011
Posts: 14

Rep: Reputation: Disabled
how to install and configure apache tomcat fot xampp


hi everyone ,
i installed xampp for linux in /opt/lampp and use it several times but now i need to install tomcat for xampp but i cant find how to do install it , howto change the port .
i want your helping hands Right now !
tnx
 
Old 07-21-2012, 01:01 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,204
Blog Entries: 1

Rep: Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059
Hi,

You should try to use your distro's package manager to install tomcat. Or you can download a precompiled binary from here
Extract the binary (for example in /opt/apache-tomcat-x.y.z) and use /opt/apache-tomcat-x.y.z/bin/startup.sh to start it.

By default tomcat listens on port 8080, so if you want to change that port number, open /opt/apache-tomcat-x.y.z/conf/server.xml with your favorite editor and change the following line accordingly:
Quote:
<Connector port="8080" protocol="HTTP/1.1" ...
Regards
 
  


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
Help needed to install Apache Tomcat pinga123 Linux - Newbie 16 11-09-2010 01:21 AM
Apache server fot testing. gardenair Linux - Newbie 2 06-11-2010 03:31 AM
install apache tomcat sandeepthug Linux - Server 4 03-19-2010 12:25 PM
Configure Redhat Linux on VMWare to use Apache and Tomcat beltzaser Linux - Networking 0 06-25-2004 03:02 AM
how to configure Tomcat with Apache ambuj General 1 04-20-2004 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:01 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