Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ CentOS6 installed Tomcat     - Do not enter password login ssh (Server)

- To install Cinnamon desktop environment on your Ubuntu 14.04 / 12.04 (Linux)

- To install Oracle Database Details and FAQ Summary under CentOS (Database)

- Linux install Samba file sharing server (Server)

- Oracle GoldenGate tutorial Second, configure and use (Database)

- MySQL to manage multiple instances of method (Database)

- Linux, Chrome browser font settings beautification (Linux)

- PPA on Ubuntu Linux installation Plank 0.8.0 (Linux)

- C ++ Replication Control: Assignment operators and destructors (Programming)

- PXE + Kickstart automatically install CentOS 6.5 (Linux)

- CentOS achieve trash mechanism (Linux)

- Oracle 10g relations with the constraint of column properties NULLABLE (Database)

- The lambda expression Java8 (constructor references) (Programming)

- PHP file upload methods exist in the database (Programming)

- Make Windows boot disk to install USB in Ubuntu Linux (Linux)

- The Definitive Guide to Linux NAT network connection (Linux)

- Static member variable modified (Programming)

- Linux host system monitoring implement the cgi (Server)

- 30 Practical Linux system administrators will learn the command (Linux)

- Installation and Configuration JDK8 In CentOS 7 (Linux)

  CentOS6 installed Tomcat
  Add Date : 2018-11-21      
  Install Tomcat

Start tomcat's official website to find the latest version of the download address, I am looking for packages under Core, download to a local:

wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-8/v8.0.26/bin/apache-tomcat-8.0.26.tar.gz

Download to a local, I want to extract to / usr / java below

tar -zxvf apache-tomcat-8.0.26.tar.gz -C / usr / java /

We look at whether the decompression is successful:

# Ls

apache-tomcat-8.0.26 default jdk1.8.0_60 latest

Seems to have decompression completed, the next set of permissions tomcat look into the apache-tomcat-8.0.26 directory
Start tomcat

bash bin / startup.sh

Set up a firewall

Modify the firewall configuration file, directory / etc / sysconfig / iptables, which increase the need to open the port number, as follows:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080-j ACCEPT

NOTE: These two lines must be placed on the following two lines

A INPUT -j REJECT --reject-with icmp-host-prohibited

A FORWARD -j REJECT --reject-with icmp-host-prohibited

After completion of the firewall to restart service iptables restart. This port number can be accessed

Firewall Service Command:

service iptables start

service iptables restart

service iptables stop

Permanent entry into force, will not restart after restoration


chkconfig iptables on

shut down:

chkconfig iptables off

See if you can access:


If you can see tomcat management interface on the configuration was successful.
- HomeKit User Interface Guidelines (Linux)
- How to create a new file system / partitions under Linux terminal (Linux)
- Linux asynchronous read documents by AIO (Programming)
- Linux crontab commands and detailed usage examples (Linux)
- MongoDB configuration in Ubuntu 14.04 (Database)
- Red Hat Enterprise Linux Server 6.5 installation GCC 4.9.2 (Linux)
- You can not ignore the seven Git tips (Linux)
- Linux shell string interception and stitching (Linux)
- Monitoring Linux System 7 command-line tool (Linux)
- Use innobackupex full realization of MySQL hot backup (Database)
- To install PostgreSQL 9.4 (Database)
- Linux System Getting Started Tutorial: How do you know Shell which is currently being used (Linux)
- CentOS minimal network is unavailable resolved (Linux)
- Linux System Getting Started Learning: After starting in Ubuntu or Debian, enter the command line (Linux)
- Linux 0.12 kernel and modern kernels difference in memory management (Linux)
- Difference Redhat5 and 6 YUM source configuration (Linux)
- Oracle Database Restore (Database)
- Oracle 11g tracking and monitoring system-level triggers to drop misuse (Database)
- Android Studio interface-related settings (Linux)
- These days have been tossing in the Linux under the ASP.NET 5, on the next in the other operating systems in the ASP.NET 5 or. NET applications, in order to complete the MS VM (CoreCLR) run is not far Reach, the effect of the application.

  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.