LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install and configure apache tomcat fot xampp (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-and-configure-apache-tomcat-fot-xampp-4175417744/)

rcmsco 07-20-2012 03:01 AM

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

bathory 07-21-2012 01:01 PM

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


All times are GMT -5. The time now is 05:35 AM.