LoginSignup
11
12

More than 5 years have passed since last update.

vagrantで作ったVMでipython notebookを立ち上げてローカルからアクセスする

Posted at

ハマったので書いておく。

$vagrant up
$vagrant ssh -- -L 8888:localhost:8888
[vagrant@localhost ~]$ ipython notebook

後はローカルPCのブラウザでhttp://localhost:8888を開けば、ipython notebookが見える。

Vagrantfileで

config.vm.network "forwarded_port", guest: 8888, host: 8888

とか設定してみたけど、こっちはダメだった。何でダメだったのかは不明・・・。

11
12
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
12