Installing Jupyter Notebook with Lisp kernel on Ubuntu on VirtualBox.

Ubuntu in Virtual BoxPermalink

NAT port forwarding.Permalink

Set 2222 to 22 for normal remote connection.

Set 888 to 8888 for jupyter notebook.

You can log the tcp transfers in port 22 using the command below.

sudo tcpdump port 22

Lisp Jupyter InstallationPermalink

Get some useful utilitiesPermalink

sudo apt-get install openssh-server
sudo apt install curl git

Install AnacondaPermalink

Follow the steps here.

Create a new environmentPermalink

conda create -n lisp python=3
conda list
conda env list
source activate lisp

Install CL-JupyterPermalink

Install the lisp kernel by following the steps here.

Install SBCLPermalink

sudo apt-get install sbcl

Install QuickLispPermalink

Follow the steps here.

Some additional stepsPermalink

sudo apt-get install libzmq3-dev

and the below is unsure (in SBCL)

(ql:quickload "alexandria")
(ql:quickload "trivial-features")
(ql:quickload "bable")

FinallyPermalink

python ./install-cl-jupyter.py
:: or python3 ./install-cl-jupyter.py

Test using console mode (Ctrl-D to exit).

jupyter console --kernel=lisp

Some settings for external OS. Follow this.

Start notebook.

jupyter notebook
:: or jupyter notebook --ip='*'

Copy the url with token.

Create a notebook with lisp kernel.

Done.

Further ReadingPermalink

  1. How to Set Up a Linux Server on VirtualBox | teamtreehouse
  2. Virtualbox won’t forward port 8000 | Ubuntu Forums
  3. How To Install the Anaconda Python Distribution on Ubuntu 16.04 | Digital Ocean
  4. Cl-Jupyter | GitHub
  5. QuickLisp
  6. Running a public jupyter notebook server | Jupyter Notebook Documentation

Posted:

Comments are configured with provider: disqus, but are disabled in non-production environments.