How to configure debian 13 for ollama remote api ace

 setup bridged network on debian vm on virtualbox 

windows --> chrome url -> http://debian_vm_hostname:11434

VM_IP_ADDRESS = hostname -I 

3. Using Postman or Insomnia

If you prefer a GUI:

  1. Set the method to POST.

  2. Enter the URL: http://<VM_IP_ADDRESS>:11434/api/generate.

  3. Go to the Body tab, select raw, and set the type to JSON.

  4. Paste this:

    JSON
    {
      "model": "qwen2.5-coder:3b,
      "prompt": "What are the benefits of Debian over Ubuntu?"
    }
    
  5. Click Send.




Comments

Popular posts from this blog

gemini cli installation on debian 13

Python and venv installation and longchain ollama installation on debian13