On windows operating system services

1. Open System Services : Run window type 'services.msc'

2. delete a system service : Sc delete service name

3. Place the jar into service :
  required documents: xxx.exe xxx.jar xxx.xml (configuration path and name of the service)
  installation services (commands): Enter the file directory, enter 'xxx.exe install'
  to start: net start service name
  uninstall: uninstall xxx.exe
4.tomcat start as a service : (service.bat bin directory) maximum
  installation: service.bat install service name
  start: net start service name
  deleted: service.bat remove service name

  Modify started as a system service in the registry tomcat memory

    1. Go to the registry ( 'Run' -'regedit ')
    2. go to the directory: HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Apache Software Foundation
    open Procrun 2.0 directory service to find, find the Java directory under the directory Parameter
    3. Click JvmMs: select Decimal, fill value 1024
    4. click JvmMx: select decimal, fill value 9026
    5. click the Options, to open the window in the final surface plus text -XX: PermSize = 128M [wrap] -XX: MaxPermSize = 512M

 

Guess you like

Origin www.cnblogs.com/leelee/p/11739316.html