Apache-tomcat-6.0.26.tar.gz1. after the download is successful, upload it to any directory on the server. I will put it under mineftp now. 2. in mineftp input: tarzxvfapache-tomcat-6.0.26.tar.gzTomcat is green software, decompression can be used 3. move the extracted directory to mine and rename it tomcat6mvapache-tomca
Apache-McAt-6.0.26.tar.gz
1. After the download is successful, upload it to any directory on the server. I will put it in/mine/FtpLower
2. Enter:
Tar zxvf apache-tomCat-6.0.26.tar.gz
Tomcat is a green software,ExtractYou can use it.
3. Move the decompressed directory to/mine and change the name to tomcat6.
MvApache-tomcat-6.0.26/mine/tomcat6
4. Set Tomcat Environment Variables
Vi/etc/proFileAppend the following content to it:
TOMCAT_HOME =/mine/tomcat6
ExPort TOMCAT_HOME
5. Test Tomcat:
Start tomcat:/mine/tomcat6/bin/startup. sh
CommandLine input: wget http: // localhost: 8080/
If:
-- 13:21:28 -- http: // localhost: 8080/
Parsing host localhost... 127.0.0.1
Connecting to localhost | 127.0.0.1 |: 8080... connected.
An HTTP request has been sent and is waiting for response... 200 OK
Length: 7777 (7.6 K) [text/html]
Saving to: 'index.html 1'
............
The installation is successful!
6. Stop tomcat:/mine/tomcat6/bin/shutdown. sh