LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   installing tomcat on slackware 12.1 (https://www.linuxquestions.org/questions/slackware-14/installing-tomcat-on-slackware-12-1-a-685482/)

warun 11-23-2008 12:26 AM

installing tomcat on slackware 12.1
 
hello everyone,

I am using slackware 12.1. I nedd to install and use TOMCAT apache on my system. How do i do it?

Thanks in advance...

bathory 11-23-2008 02:50 AM

You can download it from linuxpackages and use installpkg procedure to install it.

ppr:kut 11-23-2008 04:59 AM

You can follow the informations in this thread.

I for myself would not use packages from linuxpackages.net, but everyone as he likes....

vitalstrike82 11-26-2008 12:31 AM

I will download the tomcat server package from the apache website itself: http://tomcat.apache.org/download-60.cgi

Down the binary distribution. Untar the file and place lets say in the home dorectory.

Then go into this directory: cd /home/tomcat<version>/bin

next : ./startup.sh to run the tomcat.

Be sure to set the environment variablesor classpaths in the ./bashrc file for the tomcat to run successfully.

Ho0ligaN 11-29-2008 10:23 AM

please don't bash me for posting again, I thought if I post about tomcat in a mysql thread I won't get quick responses.. so here goes again

how do I set classpath for tomcat? I have downloaded apache-tomcat-6.0.18.tar.gz(which I used on my previous two distros also, mandriva 2009 and opensuse 11.0), now I have extracted to /home/user directory, I ran ./startup.sh and the server is indeed up and running. but I cant seem to find .bash_profile file to set classpath(like I did in my previous two installs).. there's only a .bash_history file. Also, there is no servlet api .jar file in /usr/share/java :-S

T3slider 11-29-2008 09:04 PM

Just create the ~/.bash_profile file and log out and back in. Technically you could source the file without logging out and back in, but it's up to you.

Ho0ligaN 11-30-2008 01:22 AM

yeah I figured that out, now the problem is I can't seem to find where the .jar file for servlet APIs are. I could find only one in /home/username/apache-tomcat-6.0.18/lib/servlet-api.jar and that doesn't seem to be the right one. In my previous distros there was tomcat servlet api.jar files /usr/share/java :-S


All times are GMT -5. The time now is 04:20 AM.