Pluto version : v0.12.21
Pluto.run 에서 사용할 수 있는 옵션은 다음과 같다.
Server Options:
root_url
host
port
launch_browser
show_file_system
notebook_path_suggestion
notebook
Security Options:
require_secret_for_open_links
require_secret_for_access
Evaluation Options:
run_notebook_on_load
workspace_use_distributed
Compiler Options:
compile
sysimage
banner
optimize
math_mode
project
startup_file
history_file
threads
Pluto를 remote server에 설치 후 local pc에서 사용하는 방법
– Pluto실행시 브라우즈를 뛰우지 않고 port는 2345에 브라우즈에 주소 입력시 secret없이 http://localhost:2345 형태로 바로 입력하고 컴파일시 thread는 8개를 사용하게 설정하고 Pluto를 실행한다.
julia>using Pluto
julia>Pluto.run(host="0.0.0.0",port=2345,launch_browser=false,require_secret_for_open_links=false,require_secret_for_access=false,threads="8")
Remote 에서 사용하는 방법은
- 외부에서 2345 port 에 접근 할 수 있게 방화벽을 여는 방법 (아직 Pluto가 hppts, id/pw등 지원이 없어 보안 이슈 있음)
- ssh 터널링을 통해 접근 (권장)
ssh user@ipaddress -L 2345:localhost:2345
PC 브라우저에서
http://localhost:2345
를 입력하면 됨