Time for action installing Tomcat

Tomcat is an open source project from the Apache Software Foundation, the same guys that are behind Apache Roller. Isn't that great? In a few seconds, you're going to have in your hands one of the most popular and powerful Java servlet engines around, used by a lot of big industries and organizations worldwide. Ready for some action? Let's begin.

  1. Open your web browser and go to http://tomcat.apache.org. Look for the Download section and click on the Tomcat 6.x link:
    Time for action installing TomcatTomcat, Roller installation on Windowsabout
  2. Scroll down the Tomcat 6 Downloads web page, until you locate the Binary Distributions section, and click on the Windows Service Installer link:
    Time for action installing TomcatTomcat, Roller installation on Windowsabout
  3. Click on the Save File button in the Open apache-tomcat dialog box and wait for the file to download. When finished, go to the directory where you downloaded the file and double-click on it to start the installation process, and click on the Run button in the Open File dialog box that will show up. The Apache Tomcat Setup Wizard will appear afterwards. Click on Next to continue.
  4. Click on the I Agree button in the License Agreement dialog box. The Choose Components dialog will appear next. Leave the default options selected and click on Next to continue.
  5. In the Choose Install Location dialog box, leave the default folder installation option and click on Next to continue.
  6. Next you will see the Configuration dialog box. Leave the default HTTP/1.1 Connector Port number (8080). Fill in the User Name and Password fields with a username and a password for your Tomcat administrator. You can use admin as the username, just make sure to choose a strong password, as shown in the following screenshot:
    Time for action installing TomcatTomcat, Roller installation on Windowsabout
  7. Now, the Java Virtual Machine dialog box will appear. You can leave the default option, as the Tomcat setup wizard detects your JDK installation automatically. Click on Install to begin installing Tomcat on your computer.
  8. At the end of the installation process, you will see the Completing the Apache Tomcat Setup Wizard dialog box. Uncheck the Show Readme box and click on the Finish button.
  9. The Apache Service Manager will try to run Tomcat. To test your installation, open your web browser and type http://localhost:8080 in the address bar. You should see the following Welcome to Tomcat web page:
    Time for action installing TomcatTomcat, Roller installation on Windowsabout
  10. You can close your web browser now.

What just happened?

This was the third installation exercise on our way to blogger's land. Tomcat's installation as a service in Windows is a piece of cake. You don't need to tweak any of the default settings to start using it right away; that's the beauty of it. Although there's another way to install Tomcat on Windows using the standard zip file, it's better to install it as a service, because it means that when you shutdown and restart your computer, Tomcat will start up automatically.

We already have a web server, a Java environment, and a servlet engine. Now it's time to install the MySQL Database server—the data-handling component for Apache Roller.

MySQL database server

The MySQL database server is a powerful open source application, capable of running the most data-intensive applications for small, medium, and big companies worldwide. So, along with the other three components that we've already installed (Apache, Java, and Tomcat), you don't have anything to worry about MySQL, because you're in good hands.