Tài liệu Tomcat The Definitive Guide pptx

496 3.2K 0
Tài liệu Tomcat The Definitive Guide pptx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... listed on the Tomcat home page at http:/ /tomcat. apache.org Download all the tar.gz archive files for the version of Tomcat that you’ve chosen Move all the Tomcat binary release archive files into the tomcatbook-examples/ tomcat- package/ directory so they can be included in the RPM package set you’re about to build: # cp apache -tomcat- 6.0.14*.tar.gz tomcatbook-examples /tomcat- package/ Edit the conf /tomcat- env.sh... Installing Tomcat | 9 There is no CSW package for Tomcat 5.0, so the Tomcat 5.5 package is called CSWtomcat5 If it tells you that some of the scripts must run as the superuser and asks you if you are sure you want to install the packages, just type y and hit enter Installing the CSWtomcat5 package also starts it When the installation is complete, you’re already running Tomcat! Test it at the URL http://localhost:8080... clickable Click it and the installer will begin installing Tomcat Once the installation completes normally, you should see the message “Completing the Apache Tomcat Setup Wizard” at the end, as shown in Figure 1-4 From the installer, you can select to start Tomcat and click Finish Then, in your web browser, type in the URL to your Tomcat, such as http://localhost:8080, and you should see the Tomcat start page... with the installation is to read the online Tomcat changelog for your branch of Tomcat For example, Tomcat 6.0’s online changelog is at http:/ /tomcat. apache.org/ tomcat- 6.0-doc/changelog.html Regardless of the version of Tomcat you install and use, you should look at the bugs listed in the changelog because bugs that exist in your version are fixed in newer versions of Tomcat and will show up in the. .. installed, the base install directory is /opt/csw/share /tomcat5 , and the init script is installed as /etc/init.d/cswtomcat5 When you first get this Tomcat package installed, you should read the comments at the top of the init script to learn details about your Solaris Tomcat package The details can change with each revision of the package Installing Tomcat on Windows For Windows systems, Tomcat is available... Gentoo Linux, there is an ebuild of Tomcat 6 that you can install and use See the guide for it by William L Thomson Jr at http://www.gentoo.org/proj/en/java/ tomcat6 -guide. xml Also, see the Tomcat Gentoo ebuild page on the Gentoo Wiki at http://gentoo-wiki.com /Tomcat_ Gentoo_ebuild In addition to the ebuild, the RPM package from this book is written to install and run on Gentoo; just install the rpm command... files, and then installs them all where they should be installed on FreeBSD When that is done, edit your /etc/rc.conf file and add these lines to the end: tomcat6 0_enable="YES" tomcat6 0_java_opts="-Djava.net.preferIPv4Stack=true" The first line enables the RCng init script—this init script has code that will not try to start Tomcat unless the tomcat6 0_enable variable is enabled this way, to prevent Tomcat. .. web site for the details The JPackage.org Tomcat 5.5 RPM creates a user and group both named tomcat5 and runs Tomcat with that user and group The default shell of the tomcat5 user is /bin/sh Don’t try to change this or Tomcat will stop running correctly Installing Tomcat on Solaris Before you install a new Tomcat package on Solaris, you should probably inspect your system to find out if there is already... Although Java 1.5.x runtimes work fine with Tomcat 6, it is suggested that you use Java 1.6.x If you’ll be running Tomcat as user tomcat (or any user other than the one you log in as), you must install the files so that this user may read and write those files After you have unpacked the archives, you must set the file permissions on the Tomcat files so that the tomcat user has read/write permissions To... it’s functioning properly As of this writing, there are several production-ready versions of Tomcat available, but we strongly suggest you use the latest stable version of the 6.0 branch or whichever is the latest stable version of Tomcat by the time you read this See the Apache Tomcat home page (http:/ /tomcat apache.org) to find the latest stable version For Tomcat versions 5.5 and 6.0, this book provides . you use the latest stable version of the 6.0 branch or whichever is the latest stable version of Tomcat by the time you read this. See the Apache Tomcat. Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Tomcat: The Definitive Guide, the image of

Ngày đăng: 18/02/2014, 05:20

Từ khóa liên quan

Mục lục

  • Tomcat: The Definitive Guide, Second Edition

    • Table of Contents

    • Preface

      • What’s This Book About?

      • Why an Entire Book on Tomcat?

      • Who This Book Is For

      • Conventions Used in This Book

      • Using Code Examples

      • We’d Like to Hear from You

      • Safari® Books Online

      • Acknowledgments

        • Jason Brittain’s Acknowledgments

        • Ian Darwin’s Acknowledgments

        • Getting Started with Tomcat

          • Installing Tomcat

            • Installing Tomcat on Linux

              • Installing Tomcat from an Apache multiplatform binary release

              • Installing Tomcat from this book’s Linux RPM packages

              • Installing Tomcat from the JPackage.org Linux RPM packages

              • Installing Tomcat on Solaris

              • Installing Tomcat on Windows

              • Installing Tomcat on Mac OS X

              • Installing Tomcat on FreeBSD

              • Starting, Stopping, and Restarting Tomcat

                • Starting Up and Shutting Down

                  • Environment variables

                  • Starting and stopping: The general case

                  • Starting and stopping on Linux

Tài liệu cùng người dùng

Tài liệu liên quan