To install Jupyter Notebook Server on losalamos
and make it run automatically on system startup.
- Switch to root such that you will have correct setting when running the server as a root
- Install Jupyter via
pip
orAnaconda
. Please find more detail in here. If you usepip
, you may need runapt-get install build-essential python-dev
prior to installation - Generate a configuration file and make the server public (It is optional to add a password for security concern). Please find more detail in here
- Configure the iptables to make the port publicly accessible.
- Write a simple script and see here to learn how to make the system run Jupyter on startup. (Maybe you need configure correct $PATH)
- There are some arguments you may want to use, e.g.
--no-browser
and --config
. Runjupyter notebook --help
for more detail. - Reboot and see if everything goes well.