1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Tomcat The Definitive Guide pptx

496 3,2K 0

Đ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

Thông tin cơ bản

Định dạng
Số trang 496
Dung lượng 4,99 MB

Nội dung

[...]... 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