Notice
Recent Posts
Recent Comments
Link
- Today
- Total
목록시작 실행 (1)
엔지니어스 - Engineeus
[Ubuntu] 시작시 자동 실행 하기
1. 프로파일 수정 vi ~/.profile 작성방법 예시 ex) $HOME/script1.sh & (home에 있는 script1.sh를 실행 시켜라) 2. 스크립트 생성 및 수정 파일 생성 (vi script.sh) cd /home/user/위치 && python3 파일.py -------- 안될경우 다른방법 1. 서비스 실행 스크립트 생성 - cd /etc/init.d - sudo vi script1.sh (스크립트 만들기) - i (vi 파일 작성 실행 키) 2. startup1.sh라는 파일에 mkdir 명령어를 통해 test1라는 디렉토리를 생성 (시작시 실행 명령) - #! /bin/sh (sh 형식의 스크립트를 실행 하겠다는 내용) - mkdir /home/test1 - esc -> :wq..
Autonomous Tech./Information
2021. 4. 27. 14:33