CentOS开机启动

来源:互联网 发布:紫鸟数据魔方怎么使用 编辑:程序博客网 时间:2024/06/05 04:03

开机启动配置

# 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



原创粉丝点击