Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Linux environment has been running Tomcat how to deploy the new Tomcat     - Setting Squid successful anti-hotlinking (Linux)

- Copy files between two Linux hosts (Linux)

- Linux Learning --- disk partition / relational representation + mount (Linux)

- Ubuntu prevent arp attacks (Linux)

- Linux install and configure Heartbeat (Server)

- LVM Disk Manager Application (Linux)

- Novice Advanced Ubuntu7.10 configured IP address (Linux)

- Boost-- time and date - (1) timer library introduction (Programming)

- Python 3 for instructions encoded string conversion (Programming)

- Let the router be your security barrier against external attack (Linux)

- Create a custom pixel format based on an existing image data BufferedImage (Programming)

- MySQL import large amounts of data (Database)

- Linux account related documents Interpretation (Linux)

- Ubuntu 14.04 and derivative versions of the user install Pantheon Photos 0.1 (Linux)

- Build ASP.NET 5 development environment in Ubuntu (Server)

- CentOS and RHEL installation under GAMIT10.6 (Linux)

- Android design patterns - state mode (Programming)

- Android Service service applications and the phone SMS Listener Listener (Programming)

- How to add two-factor authentication for Linux systems SSH (Linux)

- RHEL5 establish a local yum source (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:      
 
- Oracle users to automatically increase the partition table (Database)
- C / C ++ various data types Conversion Summary (Programming)
- VMware difference in three network connection (Linux)
- QEMU image file used: qcow2 and raw (Linux)
- How to configure Proftpd server on Fedora 22 (Server)
- Install NetBeans IDE 8.0 on Ubuntu, Linux Mint, Elementary OS, and Debian (Linux)
- Memcache explain in detail (Server)
- Using Python multithreaded mistakes summary (Programming)
- Android Application Development: an argument between Activity (Programming)
- Access.log Apache access log analysis and how to import it into MySQL (Server)
- Linux SVN account password to save your settings (Linux)
- Use Aptik Battery Monitor monitoring Ubuntu laptop battery usage (Linux)
- Oracle 12c detailing the new features (Database)
- crontab task scheduling Health Check (Linux)
- Error code: 2013 Lost connection to MySQL server during query (Database)
- HTTP and FTP TCP-FLOOD CC Attacks Analysis and Prevention solutions under CentOS 6.5 (Linux)
- Android Custom View step (Programming)
- DIY security of Linux platform (Linux)
- Sublime Text 3 (Linux)
- Based on a complete solution RMI service to transfer large files (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.