![]() ![]() In one pane, I start the notebook server: big-data-monster:~$ jupyter notebook Once this is done, Ctrl+B o will jump between panes. I typically split my tmux into two panes with Ctrl+B ". I then launch a tmux session to contain my analysis & allow me to split my session into multiple terminals: big-data-monster:~$ tmux Setting Up a Sessionįirst, I SSH in to the compute server, and go to my project directory: localhost:~$ ssh big-data-monster.cs. If this file doesn't yet exist, you can ask Jupyter to generate it first: jupyter notebook -generate-configįinally, you will need to create an ngrok account and set up your ngrok installation to connect to it. You also need to edit your Jupyter configuration to allow remote connections edit ~/.jupyter/jupyter_notebook_config.py to contain the following line: c.NotebookApp.allow_remote_access = True I download the ngrok binary from the ngrok web site, and put it in ~/bin (for myself) or /usr/local/bin (so it's available for my students too).įor Jupyter and IRKernel, there are many ways to get them! I most often use Anaconda or Miniconda to install it, along with my Python and R: $ conda install notebook I install tmux from my distribution repositories. I'm doing all of this on a Linux server our current compute server runs Red Hat Enterprise Linux. tmux to split the terminal screen & keep the session alive. ![]() This post is a quick ‘howto’ for doing such analyses on remote compute severs (in the university data center, Amazon or Azure clouds, or whatever). In my previous post, I mentioned that we're using Jupyter notebooks for a lot of our data analysis, even in R. Published on Friday, Apand tagged with research, tools, and howto. ![]()
0 Comments
Leave a Reply. |