Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Linux environment has been running Tomcat how to deploy the new Tomcat     - Oracle table space rename and delete table space (Database)

- Bug tracking library after FastJson omitted the decimal point 0 (Programming)

- Installation Eduspec university management systems 17 Linux Mint (Server)

- MySQL / MariaDB database master-slave replication (Database)

- C ++ Supplements - Smart Pointers (Programming)

- The user how to install Notepadqq 0.41.0 under ubuntu and debian (Linux)

- The difference between Objective-C language nil, Nil, NULL, NSNull (Programming)

- GROUP BY extension (Database)

- Amazon EC2 server using Rsync + Inotify real-time synchronization (Server)

- Big Data Common Glossary (Linux)

- To install Xen in Ubuntu 12.04 (Linux)

- How to install Hadoop on CentOS7 (Server)

- Android working with Volley Comments (Programming)

- Swift used in the application to add a local push at the specified time (Programming)

- CentOS environment prepared crontab scheduled tasks (Linux)

- RedHat / CentOS ext4 partition can not be formatted large supplementary ext4 formatting (Linux)

- TNS-03505 name could not be resolved (Database)

- Enterprise Hadoop cluster architecture - Hadoop installation (Server)

- OpenSUSE 13.1 OpenSUSE 12.3 and how to install Cinnamon 2.2 Desktop (Linux)

- Modify Linux terminal prompt path length (Linux)

 
         
  Linux environment has been running Tomcat how to deploy the new Tomcat
     
  Add Date : 2017-08-31      
         
       
         
  Preface:

Under Linux has been running a tomcat, resource utilization is not very high, so be prepared to build a new tomcat to run new projects, probably build steps to copy an existing 6800 from ports to add ports 9100,6800 the tomcat software download

1, copy the entire 6800 tomcat 9100
cp -r apache-tomcat-6.0.37_6800 apache-tomcat-6.0.37_91002, modify servet.xml
vim apache-tomcat-6.0.37_9100 / conf / server.xml

In: window, execute switching commands: After% s / 68/91 / g save out.

2, modify catalina.sh
vim apache-tomcat-6.0.37_9100 / bin / catalina.sh
The CATALINA_PID = / var / tomcat / 6800.pid into CATALINA_PID = / var / tomcat / 9100.pid

3, delete the following file directory
    apache-tomcat-6.0.37_9100 / webapps /
      apache-tomcat-6.0.37_9100 / logs /
      apache-tomcat-6.0.37_9100 / temp /
      apache-tomcat-6.0.37_9100 / work / Catalina / localhost /

4, modify the java virtual machine's memory
JAVA_OPTS = "- Xms1024m -Xmx1024m -Xss1024K -XX: PermSize = 256m -XX: MaxPermSize = 768m -XX: + PrintGCDetails -Xloggc: /logs/gc/7600.gc"

Change the value inside the appropriate values to m (megabytes) as the unit to ensure that linux memory does not overflow.

5, run apache-tomcat-6.0.37_9100 / bin / startup.sh, start tomcat
     
         
       
         
  More:      
 
- Ubuntu disable graphics card (Linux)
- Realization of Linux operating system illegal IP censorship (Linux)
- How to display a dialog Bash Shell script (Programming)
- Ubuntu install Eclipse for C / C ++ and related configuration (Linux)
- Linux common network tools: batch scanning of nmap hosting service (Linux)
- Teach you how to protect the security of Linux desktop (Linux)
- Linux RAID Set RAID 10 or 0 + 1 (Linux)
- GNU Linux use diff to generate a patch with the patch (Linux)
- Git uses a small mind (Linux)
- Oracle Duplicate build DataGuard (Database)
- Vi syntax highlighting settings (Linux)
- SaltStack installation and testing (Server)
- Linux Powerful command Awk Introduction (Linux)
- Linux Operating System Security Management Experience (Linux)
- C ++ Fundamentals study notes (Programming)
- Android Service service applications and the phone SMS Listener Listener (Programming)
- Ubuntu 14.04 installation and configuration environment variable JDK1.8.0_25 (Linux)
- Linux System Getting Started Learning: rename multiple files in Linux (Linux)
- Oracle multi-table query optimization (Database)
- linux smartd [FAILED] appears at startup (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.