사용자 도구

사이트 도구


freebsd:jupyter

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
freebsd:jupyter [2021/01/21 08:11] – 만듦 minsookimfreebsd:jupyter [2021/03/15 11:42] (현재) minsookim
줄 9: 줄 9:
  
 이건 다른 패키지와 달리 설치후에 "어찌 어찌 했다", 또는 "뭐 해라", 이런 말이 없다. 암튼 Unix/Linux 쓰는 사람들은 좀 까칠한(?) 데가 있다니까는.  검색해서 찾은 설명서에서 일러주는 대로 다음과 같이 했다. 이건 다른 패키지와 달리 설치후에 "어찌 어찌 했다", 또는 "뭐 해라", 이런 말이 없다. 암튼 Unix/Linux 쓰는 사람들은 좀 까칠한(?) 데가 있다니까는.  검색해서 찾은 설명서에서 일러주는 대로 다음과 같이 했다.
-  pw add user -n jupyter -m -s /bin/sh -c "Jupyter Notebook"+<code> 
 +pw add user -n jupyter -m -s /bin/sh -c "Jupyter Notebook" 
 +su jupyter 
 +$ jupyter notebook --generate-config 
 +$ jupyter notebook password 
 +Enter password:  **** 
 +Verify password: **** 
 +[NotebookPasswordApp] Wrote hashed password to /home/you/.jupyter/jupyter_notebook_config.json 
 +</code>
  
-/home/jupyter/.jupyter/jupyter_notebook_config.py 에서 다음 사항을 확인했다.+/home/jupyter/.jupyter/jupyter_notebook_config.py 에서 다음 사항을 확인했다. 비밀번호는 위에서 만들어진jupyter_notebook_config.json 에서 "p=" 다음에 있는 정보를 이 설정문서 "sha1:" 다음에 넣어주었다.
 <code> <code>
 c.NotebookApp.ip ='*' c.NotebookApp.ip ='*'
줄 17: 줄 25:
 c.NotebookApp.notebook_dir = '/tmp' c.NotebookApp.notebook_dir = '/tmp'
 c.NotebookApp.port = 8888 c.NotebookApp.port = 8888
 +c.NotebookApp.password = u'sha1:****'
 +c.NotebookApp.allow_password_change = False
 +c.NotebookApp.certfile = u'/absolute/path/to/your/certificate/mycert.pem'
 +c.NotebookApp.keyfile = u'/absolute/path/to/your/certificate/mykey.key'
 </code> </code>
  
줄 101: 줄 113:
   sysrc jupyter_enable=YES   sysrc jupyter_enable=YES
  
 +그리고 나서 다음을 실행한다.
 +  service jupyter start
 +
 +%%http://my.domain:8888/%% 에 접속하면 된다.
  
freebsd/jupyter.1611216681.txt.gz · 마지막으로 수정됨: 2021/01/21 08:11 저자 minsookim