반응형

Updates: November 6, 2024
Contents: Steps to install Node.js on Linux (Ubuntu)

 

Install Node.js

To ensure you have the latest stable version of Node.js, follow these steps:

  1. Update package lists:
    sudo apt update
  2. Install npm (Node Package Manager):
    sudo apt install npm
  3. Install 'n', the Node.js version manager:
    sudo npm install -g n
  4. Install the latest stable version of Node.js:
    sudo n lts
  5. Verify the installation:This command should display the version number of Node.js, confirming the installation.
    node -v

References

반응형
반응형

Update : 2024.05.01

Content : The method of using scp on RunPod to download or upload data.

 

Reference : https://docs.runpod.io/pods/storage/transfer-files-with-scp

 

Transfer files with SCP | RunPod Documentation

Prerequisites

docs.runpod.io

 

1. Run your pod.

2. Run terminal of your own laptop which is connected with RunPod.

3. Use the below script in your terminal.

    The first path is the file path which is wanted to download and the second path is the donwload path.

# file download
scp -P PORT_NUM -i ~/.ssh/id_ed25519 root@DOMAIN:FILE_PATH DOWNLOAD_PATH (YOUR COMPUTER PATH)

# folder download
scp -P PORT_NUM -i ~/.ssh/id_ed25519 -r root@DOMAIN:FILE_PATH DOWNLOAD_PATH (YOUR COMPUTER PATH)

# file upload
scp -P PORT_NUM -i ~/.ssh/id_ed25519 FILE_PATH (YOUR COMPUTER PATH) root@DOMAIN:DESTINATION_PATH

# example (folder download)
scp -P 13111 -i ~/.ssh/id_ed25519 -r root@123.141.122.13:/workspace/TensorRT-LLM/examples/gemma/NSYS1 C:\Users\klue\download
반응형

+ Recent posts