글

라벨이 linux인 게시물 표시

linux(ubuntu)에서 jupyter notebook 사용 시 Tips

아이피 설정 --ip=0.0.0.0 포트 설정 --port=12345 시작 후 browser에 notebook 안띄우기 --no-browser 옵션 자동 적용하기 jupyter_notebook_config 생성 jupyter notebook --generate-config config에 옵션입력 token이 아닌 password 사용하기 - 2가지 방법 jupyter notebook password 실행 후 password입력 4항의 config 생성 python 아래 script 실행하여 sha1 string 생성 from notebook.auth import passwd passwd() config에 입력 c.NotebookApp.password = u'sha1:6xxx....xxx' jupyter notebook을 background로 실행하기 jupyter notebook 1> /dev/null 2>&1 & 내가 사용하는 jupyter 관련 alias (아이피와 폴더는 xxx처리 함) jpt='jupyter notebook --ip=xxx.xxx.x.xxx --port=xxxxx --no-browser' jptb='jpt 1> /dev/null 2>&1 &' # background용 alias

내가 사용하는 Putty 설정

이미지
Window Line of scrollback : 10000 Appearance Font setting Font quality : Clear Type Adjust the window border Gap between text and window edge : 3 Translation Character set translation Remote character set : UTF-8 Color Select a colour to adjust ANSI Blue : 74, 74, 255 ANSI Blue Bold : 140, 140, 255 Connection SSH X11 X11 forwarding Enable X11 forwarding :