Git Product home page Git Product logo

Comments (8)

JadeChan3 avatar JadeChan3 commented on September 17, 2024

from py4fi2nd.

yhilpisch avatar yhilpisch commented on September 17, 2024

Are you saying that it worked once but not a second time?

With your description alone it is hard to tell what might go wrong.

from py4fi2nd.

havarsak avatar havarsak commented on September 17, 2024

image

from py4fi2nd.

havarsak avatar havarsak commented on September 17, 2024

I'm pretty new to linux, so I may be making some really basic mistakes here.

from py4fi2nd.

havarsak avatar havarsak commented on September 17, 2024

I think I'll try the whole procedure again from scratch :)

from py4fi2nd.

havarsak avatar havarsak commented on September 17, 2024

Ok, still have the same problem.

I follow the receipe in chapter Using Cloud Instances.
My expected outcome is a fully set up python workspace.

Pre-requisites:

  • I have created a droplet on DigitalOcean, and acquired access via ssh, so that I can move files across.
  • This is my welcome screen:
    image
  1. I have updated Jupyter notebook config file with a new password
  2. I have put all these install files (install.sh, jupyter_notebook_config.py, reset_droplet.sh, setup.sh) in a folder named cloud under my user
  3. using root user, I have run the command bash setup.sh my.ip.address
    image
  • the software does not find the files, it seems like a problem finding the IP address?
  • No copies of the install files seem to move to the root user folder, so it seems like the first scp command in setup.sh fails
  • running root@FirstDrop2:/home/havard/cloud# scp install.sh reset_droplet.sh [email protected]: results in error message. First, "the authenticity of host cannot be established, do you want to continue". Then, after "yes", the answer is permission denied (publickey)
  • I've tried moving the files manually to /root, but it doesn't work either.

from py4fi2nd.

yhilpisch avatar yhilpisch commented on September 17, 2024

I think you approach is fundamentally "wrong".

You are already logged into the Droplet and then you try to use the code to setup a Droplet from the Droplet itself.

The code to setup the Droplet is to be executed from your LOCAL machine -- once you have created the Droplet and have the IP available.

I.e. the command bash setup.sh IP-ADDRESS is to be executed on your machine to set up the Droplet remotely.

from py4fi2nd.

yhilpisch avatar yhilpisch commented on September 17, 2024

The whole procedure as described in the book and the code examples are designed to be initiated/executed from a LOCAL machine to set up a REMOTE machine. That is why you should follow the instructions and execute the code as described from a local machine and NOT on a Droplet.

from py4fi2nd.

Related Issues (17)

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.