본문 바로가기

Work/Linux(7.x)_centos

Centos7 자동 시작 설정 시 확인 Point ( /etc/rc.d/rc.local )

Centos7 자동 시작 설정 ( /etc/rc.d/rc.local  )

1. Process script 를 생성

2. /etc/rc.local에 등록

  ex> su - flyyunha -c "/home/flyyunha/scritps/start.sh"

        systemctl start rc-local

  ( 설명 flyyunha 계정으로 /home/flyyunha/scripts 경로의 start.sh 를 실행 )

3. chmod 755 /etc/rc.d/rc.local 

 

'Work > Linux(7.x)_centos' 카테고리의 다른 글

history 명령어 확인시 시간 출력 방법  (0) 2020.04.08
Centos 7 Network Bonding 설정  (0) 2019.04.05
파일 전송 스크립트  (0) 2018.06.25
내부망 npt 서버 설정 & client 설정  (0) 2017.10.19
centos7 locale 설정  (0) 2015.07.27