Each Unix-based (I just call them Unix based since these new OS now were non existent at the time that only Unix and later on Linux were around) OS has a package manager command that will do the downloading and installation of the package specified. If you want to do installations the old fashion way … downloading the file, extracting and moving it to the desired location it’s still pretty easy for say, Apache Tomcat 6 Server. Do the following steps.
- wget http://apache.hoxt.com/tomcat/tomcat-6/v6.0.16/bin/apache-tomcat-6.0.14.tar.gz
- tar xvzf apache-tomcat-6.0.16.tar.gz
- Check the Apache Tomcat’s website for any new version and just change the path and filename for it.
- mv apache-tomcat-6.0.16 /usr/local/tomcat
- You can place it anywhere you want in the file system. It is a matter of personal preference. In this case, the new folder will be tomcat instead of apache-tomcat-6.0.16
- cd bin
This is assumed that you have Java installed. If it is not installed, then Apache Tomcat will not run as it is dependent on the Java Runtime Environment.