Last active
October 29, 2022 16:11
-
-
Save stevenbeeckman/beffbbd867b93575ac48 to your computer and use it in GitHub Desktop.
Setting up IPython Notebook inside of Vagrant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install build-essential python-dev | |
sudo apt-get install python-matplotlib | |
sudo apt-get install python-pip | |
sudo pip install ipython-sql | |
sudo pip install --upgrade jinja2 tornado jsonschema pyzmq | |
sudo apt-get install python-mysqldb | |
# let's start ipython notebook | |
ipython notebook --ip=0.0.0.0 # port-forwarding doesn't work without this --ip flag | |
# IPython Notebook now accessible on http://localhost:8888/ on the host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant add box hashibox/precise32 | |
vagrant init | |
# Add config.vm.network "forwarded_port", guest: 8888, host: 8888 to Vagrantfile | |
vagrant up | |
vagrant ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment