Digital Life/만드는 이야기

lighttpd 소스로 설치했는데 service 명령에서 /etc/init.d/lighttpd: line 53: /etc/rc.status: No such file or directory

Parker Falcon 2009. 3. 17. 20:45
자신이 설치한 리눅스가 RedHat 계열 (RedHat, Fedora, CentOS등등) 인지 확인해보시고,

만약 그렇다면 


    # sed -e 's/FOO/lighttpd/g' doc/rc.lighttpd > lighttpd.init

이 작업을

    # sed -e 's/FOO/lighttpd/g' doc/rc.lighttpd.redhat > lighttpd.init

으로 하시면 됩니다.

이후에 다른 작업은 그대로 :)