开机启动配置
# vi /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
#MySQL开机启动
/etc/rc.d/init.d/mysqld start
#Tomcat开机启动
/longfan/svnadmin-tomcat/bin/startup.sh