一些简单命令:
chkconfig --list //浏览服务项
service tomcat start // 对应为tomcat这项服务的启动
服务注册脚本 如tomcat文件要写在/etc/rc.d/init.d目录下