I. Introduction
Tomcat is a free and open-source Serlvet container. It is a core project of the Jakarta project of the Apache Foundation, developed by Apache, sun, and other companies and individuals. With Sun's participation and support, the latest Servlet and JSP specifications can always be reflected in Tomcat.
Tomcat is a solid and independent web server
Install JDK, Tomcat, and MySQL basic software in Linux.
1. Install JDK
After Centos6.5 is installed, OpenJDK is installed by default for Base Server. You must first Delete OpenJDK.
1.1 view the previous jdk
Check whether openjdk has been installed before.
If you are not a root user, you need to switch to the root user (su-root)
Command: rpm-qa | grep java
It is s
Tomcat 5 allows you to easily configure servers by running the configuration application in a web browser. This application is called Tomcat administration Web application. However, Tomcat 5.5 and later binary core installation versions no longer provide Tomcat administration Web applications. To
Install JDK and Tomcat in LinuxView environment variablesWhereis javaWhich java (java execution path)Echo $ JAVA_HOMEEcho $ PATHIi. InstallationSelect the location where you want to install java, such as in the/usr/directory, and create a folder named java (mkdir java)# Mkdir-p/usr/javaDownload jdk-8u31-linux-x64.tar.gz to/usr/java.# Cd/usr/java# Tar-zxvf jdk-8u3
5-JEESZ distributed framework-install Tomcat 7 in CentOs (Environment preparation) and centostomcat7Statement: Because the running environment of the JEESZ distributed framework is based on the linux system, this section also summarizes some information on the Internet. Considering the post-blog as the native tutorial of the framework, this section provides detailed installation records, I also hope to help
Installation instructionsInstallation environment: CentOS-6.3Installation Method: source code InstallationSoftware: apache-tomcat-7.0.29.tar.gz: Http://tomcat.apache.org/download-70.cgiPrerequisitesThe system must have JDK6 + installed, see install and configure the CentOS-6.3 in the JDK-7.Install tomcatUpload the apache-tomc
page)1. Open /etc/apache2/httpd.conf" DirectoryIndex index2.html//This changes to the file you want to display (of course, first, this folder must have this file)2. Then restart Apache to take effectSudoSecond, custom download configuration version:We can go to Apache Tomcat and download different versions of Tomcat and install it on your Mac.# #一,:http://tomcat
First, install the JDK
Go to the Java website to download the latest Jdk,java SE Downloads
Decompression, TAR-ZXVF jdk-7u45-linux-i586.tar.gz, will extract the generated jdk1.7.0_45 into the directory you need to place, I placed in the/usr/share/directory
Configure Environment variables
1.java_home Environment variables
Function: It points to the installation directory of the JDK, and software such as Ecplise/netbeans/
In the company's testing environment, you need to install and configure JDK + TOMCAT + MYSQL under CENTOS6.4. Below is an installation note for backup.
I. System Environment and software packages
[Root @ localhost/] # uname-r
2.6.32-358. el6.x86 _ 64
[Root @ localhost/] # cat/etc/centos-release
CentOS release 6.4 (Final)
Software Package
Jdk-6u43-linux-x64-rpm.bin
Apache-
Tomcat daemon, and then exits and closes the service after CTRL + C Attention:(1) by way of one, mode two start Tomcat has a disadvantage, when the client connection disconnects, the Tomcat service will also stop immediately. (2) through the way the Tomcat is started, its log will be written to the corresponding log
Tomcat is a lightweight application server that consumes less system resources and has good scalability and supports load balancing.
1. Install jdkjavaDevelopmentkit first)
Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html # download the corresponding version of jdk [root @ zhu1 ~] # Tar zxvf jdk-7u40-linux-i586.tar.gz [root @ zhu1 ~] # Mv jdk1.7.0 _ 40 // usr/local/jdk
2
Tags: start ADL sql Max one create sans Java ashInstalling TomcatYum Install TomcatAnswer y install tomcat at the confirmation prompt. This will install Tomcat 7 and its related items, such as Java, which will also create a tomcat
be automatically installed
Run the following command after entering the same directory as the RPM package
#rpm-hiv./mysql-3.22.27-1.i386.rpm
#rpm-hiv./mysql-devel-3.22.27-1.i386.rpm
#rpm-hiv./mysql-client-3.22.27-1.i386.rpm
In this way, you have completed the installation of MySQL, the system and automatically started the MySQL service, you can directly typing MySQL can be a SQL operation;
5. Install Tomcat
Install Tomcat 6 under Ubuntu 10.041, download apache-tomcat6,Address link:http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.28/bin/Choose Ubuntu Linux for version, which is the apache-tomcat-6.0.28.tar.gz file,2, Copy the installation file to the /usr/local/ directory, en
That is, in Windows, of course, we want to be able to put or manage software in an easy way. You may choose to install Tomcat by using the Setup program, but as a developer who is accustomed to downloading the zip package directly, there is no need to reinstall it, just a two-step process to manually complete the service installation.
First, we switch to the Tomcat
specific support. $var _must_ is set to either true or false.The following configuration statements are added below this lineSpecify the directory for Tomcat and the directory for the JDKCATALINA_HOME=/JAVA/TOMCAT7 Java_home=/java/jdk7Save after exiting VI attempt to start Tomcat succeededRun startup.sh directly under Tomcat under the Bin directorySH startup.shO
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.