sudo apt-get update -y
sudo apt-get install build-essential libssl-dev libpq-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip -y
sudo apt-get install python3-pip python3-dev python3-venv -y
sudo apt-get install nano -y
sudo apt-get install git -y
sudo python3 -m pip install jupyter
sudo apt autoremove -y
jupyter notebook --generate-config
ipython -c "from notebook.auth import passwd; passwd()"
sudo nano /home/user/.jupyter/jupyter_notebook_config.py
c = get_config()
c.IPKernelApp.pylab = 'inline' # if you want plotting support always in your notebook
c.NotebookApp.allow_origin = '' # put your public IP Address here
c.NotebookApp.ip = ''
c.NotebookApp.allow_remote_access = True
c.NotebookApp.open_browser = False
c.NotebookApp.password = u'sha1:af16706d1820:cc9fc8357e8e12009c3eb264508aa5fd8616fea8'
c.NotebookApp.port = 8888