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... |
You can download it from linuxpackages and use installpkg procedure to install it.
|
You can follow the informations in this thread.
I for myself would not use packages from linuxpackages.net, but everyone as he likes.... |
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. |
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 |
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.
|
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. |