GithubHelp home page GithubHelp logo

rva's Introduction

These instructions apply for a cloud instance, server or local machine which has a Ubuntu OS and the ssh user set to 'ubuntu'. For other users, replace /home/ubuntu/ with /home/{USER} in the .yml files and the .conf files. Currently, the playbook is not setup to work on non-Ubuntu installations.

Ubuntu

  1. Edit the hosts file to add the IP address of your instance

  2. Assuming you have ansible installed and the cloud instance has ubuntu as the ssh user with install privileges, run the following from the ansible folder:

    ansible-playbook -i ./hosts cloud_h2o.yml

    This reads from the file jupyter.conf to setup a JupyterLab server, change ports as appropriate in this file but make sure that the relevant ports are also open on the instance. Also, set a password for the JupyterLab instance in the jupyter.conf file.

H2O

This ansible playbook installs a H2O instance into a conda environment named keras_env. This has Jupyterlab installed and is accessible at port 80.

H20 GPU

You can install H2O for GPU into a conda environment named keras_env2 with the command

conda create -c conda-forge -c h2oai -y -n keras_env2 h2o4gpu-cuda10 pandas scikit-learn jupyter jupyter_client==5.3.3 jupyterlab

Start Jupyterlab from the command line as

/home/ubuntu/Anaconda/envs/keras_env2/bin/jupyter lab --allow-root --ip 0.0.0.0 --no-browser --port 8000 --NotebookApp.token={password}

Make sure your instance has port 8000 open so that you can access your JupyterLab instance

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.