http://blog.naver.com/alavu5/40010729988
각종 서비스를 RPM으로 설치를 하면
# setup --> System services 항목에서 각각의 서비스에 체크가 되어 있으면 시스템을 재부팅해도 자동으로 서비스가 시작된다.
그러나 소스설치를 하면
# vi /etc/rc.d/rc.local 파일의 내용을 수정해 주어야 한다.
아래처럼 해당 서비스의 실행 파일을 입력해 주면 된다.
ex)
#!/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
rdate -s time.bora.net
/usr/local/apache/bin/apachectl start
/usr/local/proftp/sbin/proftpd start &