這幾天遇到的坑,安裝了pyenv和ipython以及jupyter notebook,然后也啟動(dòng)了
[python@192.168.1.77 RINGOO-1]: ~/project 0> jupyter notebook --ip=0.0.0.0 [I 07:26:32.241 NotebookApp] Serving notebooks from local directory: /home/python/project [I 07:26:32.241 NotebookApp] The Jupyter Notebook is running at: [I 07:26:32.242 NotebookApp] http://(RINGOO-1 or 127.0.0.1):8888/ [I 07:26:32.242 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [W 07:26:32.263 NotebookApp] No web browser found: could not locate runnable browser.
但是打開網(wǎng)頁一直都不顯示,之前以為是自己的dns網(wǎng)關(guān)和虛擬機(jī)的不同,然后就一直檢查啊檢查,排錯(cuò)啊排錯(cuò)
然后就在剛才突然想起是不是iptables上一次沒有關(guān)閉,于是執(zhí)行命令試了一下
/etc/init.d/iptables stop
再開啟jupyter notebook后發(fā)現(xiàn)網(wǎng)頁打開了。。。
哎~真的被自己蠢哭了。。。