Giter Site home page Giter Site logo

jupyterstudio's Introduction

jupyterstudio

jupyter studio

Upgrade

Source https://github.com/jupyter/docker-stacks

  1. Copy different notbooks Dockerfile file to all-jupyter-stacks.
  2. Check the file update.
  3. Update file all-jupyter-stacks/Dockerfile.mix

Install from 0 on Ubuntu linux

FROM ubuntu:16.04

apt update
apt install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 wget openssl libreadline6 libreadline6-dev libncurses5 libncurses5-dev -y
wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
bash Anaconda3-2020.02-Linux-x86_64.sh -b -u -p /opt/conda
export PATH="/opt/conda/bin:$PATH"
# jupyter_client
/opt/conda/bin/conda install -c conda-forge jupyterlab readline -y --quiet
/opt/conda/bin/conda install -c r r-irkernel -y --quiet
/opt/conda/bin/conda install -c r r-rzmq -y --quiet
/opt/conda/bin/conda install -c r r-pbdzmq -y --quiet
/opt/conda/bin/conda install -c r r-essentials -y --quiet

jupyter lab --ip='*' --port=8888 --no-browser --allow-root

Install from 0 on Alpine linux

apk update
apk --update add --no-cache --virtual=build-dependencies ncurses5-libs readline wget ca-certificates bash openssl glibc
wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
bash Anaconda3-2020.02-Linux-x86_64.sh
rm Anaconda3-2020.02-Linux-x86_64.sh

conda install -c conda-forge jupyterlab
conda install -c anaconda jupyter_client
conda install -c conda-forge readline
conda install -c r r-irkernel
conda install -c r r-essentials

Run

docker run -it -p 8888:8888 -v /tmp:/opt/notebooks --rm inputx/jupyterstudio

/share/NFSHome/dev/Codes/jupyterstudio:/opt/notebooks

Password is password.

Jupyterlab

    
    2  apt update
    3  /opt/conda/bin/conda install -c conda-forge jupyterlab -y --quiet
    4  mkdir /opt/notebooks
    

PHP Kernel

    6  apt install php-zmq -y
    
   27  wget https://litipk.github.io/Jupyter-PHP-Installer/dist/jupyter-php-installer.phar
   
   
   30  apt install composer
   31  php ./jupyter-php-installer.phar install
   32  /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=8888 --no-browser --allow-root
   
   37  /opt/conda/bin/jupyter-notbook password
   38  /opt/conda/bin/jupyter-notebook password
   39  /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=8888 --no-browser --allow-root
   40  cd .jupyter/jupyter_notebook_config.json
   41  cat .jupyter/jupyter_notebook_config.json
   
   47  /opt/conda/bin/conda install -c r rstudio
   48  history

R Kernel

apt update
apt install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 libncurses-dev libreadline7 libreadline-dev

conda install -c conda-forge jupyterlab
conda install -c anaconda jupyter_client
conda install -c conda-forge readline
conda install -c r r-irkernel
conda install -c r r-essentials
    1  conda install -c conda-forge jupyterlab
    2  jupyter lab --ip='*' --port=8888 --no-browser --allow-root
    3  history
    4  jupyter lab --ip='*' --port=8888 --no-browser --allow-root
    5  apt install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6
    6  conda install -c anaconda jupyter_client
    7  R
    8  conda install -c r r-irkernel
    9  history
   10  jupyter lab --ip='*' --port=8888 --no-browser --allow-root
   11  R
   12  conda install -c readline
   13  conda install readline
   14  R
   15  conda install -c r r-essentials
   16  R
   17  cd /lib/x86_64-linux-gnu/
   18  ls
   19  ln libreadline.so.7 libreadline.so.6
   20  R
   21  apt install libncurses
   22  apt install libncurse
   23  apt install libncurses-dev
   24  R
   25  ln libncurses.so.6 libncurses.so.5
   26  R
   27  history

conda install -c r r-essentials conda install -c r r-rserve conda install -c r r-devtools conda install -c r r-rcurl conda install -c r r-RJSONIO conda install -c r r-jpeg conda install -c r r-png conda install -c r r-roxygen2

mkdir /opt/notebooks
apt update
apt install libreadline7 libreadline-dev -y

conda install jupyter readline r rstudio r-irkernel -y --quiet
conda config --add channels r
conda install -c r r-essentials -y --quiet
conda install -c r r-irkernel -y --quiet



/opt/conda/bin/jupyter notebook --ip='*' --port=8888 --no-browser --allow-root



conda install jupyter r r-essentials r-rserve r-devtools r-rcurl r-RJSONIO r-jpeg r-png r-roxygen2 r-irkernel -y --quiet

conda install jupyter r rstudio r-irkernel -y --quiet
conda install -c r rstudio r-irkernel
conda config --show-sources
conda config --add channels channel-name

jupyterstudio's People

Contributors

duan-li avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.