Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Oracle Enterprise Linux 64-bit install apache-tomcat-7.0.53 step     - Source encountered problems and solutions when installing SaltStack (Server)

- Linux common network tools: batch scanning of nmap hosting service (Linux)

- Doubly linked list basic operations (Linux)

- When Linux virtual machine to another copy of the operating system, a static IP NAT mode Invalid (Linux)

- S5PV210 development board for embedded development environment to build under Ubuntu (Linux)

- How to convert images, audio and video formats on Ubuntu (Linux)

- ActionContext and ServletActionContext Summary (Programming)

- C # assembly calls across constants, variables and functions (Programming)

- How to merge two pictures in Cacti (Linux)

- Jigsaw project will solve the problem of Java JAR hell Mody (Programming)

- Common Linux system performance monitoring command (Linux)

- CentOS 6.5 installation and configuration Cobbler (Server)

- Nginx-1.9.7 TCP reverse proxy (Server)

- Oracle10g 64-bit installation solution in Windows 2008 Server R2 (Database)

- SSH security note (Linux)

- Linux RPM (Linux)

- Linux, MySQL root privilege escalation another method (Linux)

- Hadoop namenode do NFS disaster recovery (Server)

- Ubuntu 14.04 set auto sleep time (Linux)

- grep command output highlighted word (Linux)

  Oracle Enterprise Linux 64-bit install apache-tomcat-7.0.53 step
  Add Date : 2018-11-21      
  Test environment: VMware Workstation v9.0.2 software installed Oracle Enterprise Linux 5.8 64-bit virtual machine

Install the software: jdk-7u40-linux-x64.rpm + apache-tomcat-7.0.53.tar.gz

Installation Instructions: Download jdk-7u40-linux-x64.rpm and apache-tomcat-7.0.53.tar.gz to Linux virtual machine / u02 directory from the official website

Installation steps: Open the VMware virtual machine, using the root user login Linux virtual machine, into the system, point the desktop right click and select Open Terminal, execute the following command.

First, install the JDK

rpm -ivh /u02/jdk-7u40-linux-x64.rpm

java -version

cd /

Second, install Tomcat

rm -rf / usr / tomcat7
cd / usr
cd /

tar zxvf /u02/apache-tomcat-7.0.53.tar.gz

cd /root/apache-tomcat-7.0.53
cd /
mv apache-tomcat-7.0.53 / usr / tomcat7

cd / usr / tomcat7
chmod + x / usr / tomcat7

Third, set the environment variable

Execute vim / etc / profile command, add the environment variable code is as follows

#jdk config
export JAVA_HOME = / usr / java / jdk1.7.0_40
export CALSSPATH = $ JAVA_HOME / lib /*.*
#tomcat config
export TOMCAT_HOME = / usr / tomcat7
export CATALINA_HOME = / usr / tomcat7
#path config
export PATH = $ PATH: $ JAVA_HOME / bin: $ TOMCAT_HOME / bin

Instruction source / etc / profile refresh environment variables

Fourth, start Tomcat

sh /usr/tomcat7/bin/startup.sh

Open the URL http in Firefox browser: // localhost: 8080 test

Close Tomcat command sh /usr/tomcat7/bin/shutdown.sh

V. deleted Tomcat installation test directory

rm -rf / usr / tomcat7
cd / usr
- Oracle query start with connect by tree (Database)
- To install OwnCloud 7.0.4 under Ubuntu (Linux)
- Learning MySQL data types (Database)
- Smooth upgrade to OpenSSH 6.7 Procedure (Linux)
- Java 8 stream parsed into SQL (Programming)
- Java source implementation of the observer pattern instance (Programming)
- A step by step teach have to install multi-node cluster configuration Hadoop (Server)
- Linux automatically install service components and optimize the kernel parameters (Linux)
- The array of C language (Programming)
- The sublime into IDE (Linux)
- GNU Linux system variables (sysctl configuration commands) integrated use (Linux)
- Spring-depth understanding of the various annotations (Programming)
- PostgreSQL procedural language learning (Database)
- The virtual memory (Linux)
- Spring3 + SpringMVC + Hibernate4 full annotation environment configuration (Server)
- Seven kinds of NIC binding mode Detail (Linux)
- True and false in Perl (Programming)
- Install Oracle database error process of [INS-35172] (Database)
- Protect your files, modify the Linux value Umask (Linux)
- How MySQL tracking sql statement (Database)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.