Some time ago using Alibaba Cloud server, using Linux CentOS6.5 system, after building Tomcat, Tomcat can not start,
The command to start tomcat is tomcat_home/bin/startup.sh or tomcat_home/bin/catalina.sh start. When you directly add any of them to /etc/rc.local, you find that the problem still cannot be solved, so write The following self-start script
export JAVA_HOME=/usr/local/jdk1.7.0_51export PATH=$JAVA_HOME/bin/:$PATHexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/Tools.jar:$CLASSPATHexport CATALINA_HOME=/usr/local/apache-tomcat-7.0.53/usr/local/apache-tomcat-7.0.53/bin/catalina.sh start saved as a name called auto-startup.sh The file is stored in /usr/local/apache-tomcat-7.0.53/binand then /usr/local/apache-tomcat-7.0.53/bin/auto-startup.sh is added in /etc/rc.local Just fine.
Note: 1.auto-startup.sh needs to have execute permission. Execute the command chmod a+x auto-startup.sh
in the bin directory. 2./usr/local/apache- Tomcat-7.0.53 is the Tomcat path, and /usr/local/jdk1.7.0_51 is the jdk path. Both are indispensable
How to install JDK graphic parsing in Ubuntu, for many friends who dont know how to operate,
1, role: list the contents of the directory; 2, format: ls [options] [files] [options] is
Preparation before installation 1. kail linux 2.0 download (multiple versions of ISO) Downl
linux system - file sharing a file sharing premise 1 windows and linux ping pass test methods as fol
Sort|uniq| Cut| Wc (my first markdown note)
Linux Advanced Users, Groups and Permissions Introduction
Dr mode configuration script in lvs
Linux folder file creation, deletion
Detailed explanation of Linux commands find
Redis common operation command
Linux System Management Technical Manual - Chapter 6 Adding New Users
10 most common questions about Linux
How to set ip address win8? Win8 system to modify ip address method
Microsoft Win10 new touchpad gesture function analysis
How to set Win10 virtual memory
Play with Win8's stunt resource manager plus multi-tag
Windows 7 suspended animation scenarios and processing methods
Microsoft confirms restrictions on Linux
What if the Win7 system application does not respond?
Wonderful use of Win7 on time to automatically perform tasks to make you easier
How to view system update history in Windows 8
What is the difference in the visual effect of the new window shadow effect of Win10 system