서버 재시작시, Apache/Tomcat/MySQL 자동 재시작
Server 관리/Linux반응형
touch /var/lock/subsys/local
cd /usr/local/mysql/; ./bin/mysqld_safe &
/usr/local/httpd2/bin/apachectl start &
su -c /usr/local/tomcat-math1/bin/startup.sh 시작할계정
반응형
'Server 관리 > Linux' 카테고리의 다른 글
Ubuntu.ufw, 방화벽 (0) | 2021.08.02 |
---|---|
로그, Log, 파일 혹은 디렉토리 주기적 삭제 (0) | 2021.07.23 |
SELinux, 보안 (0) | 2020.04.23 |
redhat.yum daum repo, centos repo 설정 (0) | 2020.04.09 |
OpenSSH 설치 (0) | 2020.04.08 |