rc.local에 추가시키는게 더 알기쉽지않을까라는,,
SHELL$ cat /etc/rc.local
#!/bin/bash
# For MySQL
/usr/local/mysql/share/mysql/mysql.server start
# For Apache
/usr/local/apache/bin/apachectl start
# For TOMCAT
/etc/rc.d/rc.tomcat start
SHELL$
리눅스는 /etc/rc.d/rc.local 입니다..
글구 /root/.bash_profile 에
아파치의 bin을 패스에 추가시키구염,,
/usr/local/apache/bin/apachectl restart 할것을
apachectl restart
로 손가락 노가다를 줄일수 있슴돠,,
이거 안되면요,,
httpd.conf 파일 잘 살펴보세여,,
헉시 잘몬된게 있으면 아파치가 작동이 안되거등여,,
-_-
: bash# cd /etc/rc.d/init.d/
: bash# ls
: anacron functions.orig ipchains named portmap smb
: apmd glx_install.sh kdcrotate netfs random snmpd
: arpwatch glx_remove.sh keytable network rstatd syslog
: atd gpm killall network.orig rusersd usb
: crond halt kudzu nfs rwalld xfs
: everytime identd linuxconf nfslock rwhod ypbind
: firstime inet lpd numlock sendmail yppasswdd
: functions innd mars-nwe pcmcia single ypserv
:
:
: 이중에 아파치 관련은 잘모르겟네요
: ./httd restart해라구 하던데
: apmd으로 해도 잘 안되네요..
:
: 계정을 하나 만들고
: httpd.conf에서 디렉토리하고 보니가 다른계정은 다 잘되는데
: 이번에 만든 새로운 계정은 index.html이 안뜨네요
: 물론 퍼미션도 다 755로 파일 디렉토리 설정 했구요..
:
: 아파치 서버를 리스타트 할러면
: /usr/local/apache/bin/
: 여기에서도 할수 있나요 ?--==================
헛소리 하는 daemon
==================