Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
05-15 13:20
관리 메뉴

nomad-programmer

[Jupyter LAB] 로그인 시 자동 시작 (CentOS8) 본문

Conda/Jupyter LAB

[Jupyter LAB] 로그인 시 자동 시작 (CentOS8)

scii 2019. 12. 2. 23:47
// 관리자 모드로 작업

// 디렉토리 이동 후 파일 생성
cd /etc/systemd/system
vim jupyter.service

아래의 내용을 jupyter.service 파일에 작성한다. <USER> 부분은 사용자 이름이다.

작성하고 저장한다. 그 후 서비스를 등록한다.

// 데몬 시스템 리로드
systemctl daemon-reload

// jupyter 서비스 등록
systemctl enable jupyter.service

// jupyter 서비스 시작
systemctl start jupyter.service

// jupyter 서비스 상태
systemctl status jupyter.service

// 참고로 서비스 정지는...
systemctl stop jupyter.service

이렇게 등록까지 마췄다면 컴퓨터가 시작할 때, jupyter server가 자동으로 실행된다.

Comments