码迷,mamicode.com
首页 > Web开发 > 详细

centOS6.3自启动nginx,php,hadoop

时间:2014-11-21 18:50:32      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:hadoop集群   hadoop   

蓝色部分为文件的内容,橙色部分为新加的启动项目

[root@master bin]# cat /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
/home/work/php/sbin/php-fpm start
/home/work/nginx/sbin/nginx
/home/work/hadoop/bin/start-all.sh

[root@master bin]# 

centOS6.3自启动nginx,php,hadoop

标签:hadoop集群   hadoop   

原文地址:http://blog.csdn.net/lzq123_1/article/details/41351711

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!