Skip to content
PACO3DWeb design, SEO and hosting
SEOHostingPortfolioPricing3D Modeling & PrintingAbout usContact us
Contact us

Domains for sale

  • SuccessHabits.comFor sale
  • BingoCard.comFor sale
  • ClickBranding.comFor sale
  • ContourCraft.comFor sale
  • eMirror.comFor sale
  • QuickHomes.comFor sale
  • TeleFunding.comFor sale
  • Oxicom.comFor sale
  • SleepSolutions.comFor sale
  • Bizfund.comFor sale
  • midwestequipment.comFor sale
  • InstaPIC.comFor sale
  • storagecard.comFor sale

Site management & digital operations

Need a hand with your digital presence?

Talk with Paco3D about website design, SEO, or ongoing site support.

P3DWeb studioPaco3DinLinkedIn · Site managerAlfredo KofmanAlfredoCsharpWhatsApp+1 423-480-3666@Email[email protected]▶YouTube@1Man4Riders◎Instagram@alfredo_kofmanTikTok@paco3dstudioX@Paco3DK
PACO3DWeb design, SEO and hosting

Complete digital solutions for ambitious small businesses.

Explore

Web designSEOHosting3D Modeling & PrintingSelected workPricingAbout usTerms of usePlan My WebsiteLanding pageGet in touch

Services

Web designHosting solutionsSEOAnalyticsPersonal guidance & assistanceProHostinger

Articles

Google Search Console: beginner’s guideCloudflare guideDeploying Vite Apps to Hostinger via GitHub ActionsLocal AI server with OllamaAI visibilityPage Speed
© 2026 Paco3D. All rights reserved.Built with care, for what comes next.

Local AI field guide · Paco3D

Turn an Old Laptop into a Dedicated Local AI Server

A complete guide to installing Linux and Ollama, connecting over your local network, and using a laptop hosted model from VS Code.

LinuxOllamaVS CodeLocal AI

If you have an older laptop collecting dust, you can breathe new life into it by turning it into a dedicated local AI server. This setup allows you to offload resource-heavy Large Language Models (LLMs) to a separate machine, keeping your main development desktop lightweight and fast.

This comprehensive guide covers preparing a bootable drive, installing a lightweight Linux OS, configuring Ollama to accept external connections, and bridging it seamlessly with your existing desktop VS Code setup without overriding current AI workflows.

PHASE 1 / PREPARE THE SERVER

Preparing and installing Linux

To ensure maximum performance on older hardware, use a lightweight, stable Linux distribution such as Ubuntu Server or Debian. Since these distributions do not require a heavy graphical user interface (GUI), they preserve precious RAM and CPU cycles entirely for running your models.

  1. Download the operating system image. Navigate to the official download page of your chosen distribution (e.g., Ubuntu Server LTS) and download the .iso file to your main desktop machine.
  2. Flash the installer to a USB drive. Insert a USB flash drive (at least 4 GB) into your desktop. Download a flashing utility like Rufus (Windows) or BalenaEtcher (cross-platform). Select your downloaded .iso file, select your flash drive, and click Flash/Write to create a bootable installer.
  3. Boot the old laptop from USB. Turn off your target laptop. Insert the bootable USB drive. Turn the laptop back on while repeatedly tapping your system's boot menu key (typically F12, F11, F9, or Esc depending on the manufacturer). Select the USB flash drive from the boot menu.
  4. Complete the OS installation. Follow the on-screen prompts to partition your drive. Select the option to format the entire hard drive for a clean installation. When prompted, ensure you check the box to Install OpenSSH Server—this allows you to manage the laptop remotely without needing a dedicated monitor, keyboard, or mouse later on. Once complete, remove the USB drive and reboot.

PHASE 2 / INSTALL OLLAMA

Install Ollama and choose a model

Once your Linux machine is up and running, log in and prepare the environment for Ollama.

  1. Download and install Ollama. Run the installation command in your Linux terminal:
bashcurl -fsSL https://ollama.com | sh
  1. Pull your preferred AI model. Download a model appropriate for your laptop's hardware specifications (e.g., llama3, mistral, or a lightweight coding model like qwen2.5-coder:1.5b or deepseek-coder):
bashollama pull llama3

PHASE 3 / NETWORKING

Networking and cross-machine troubleshooting

By default, Ollama listens on the local machine. To allow your desktop to talk to the laptop, configure its network binding and firewall rules.

Step 1: Find the laptop's network address

Identify your laptop's private local IP address by running this network routing utility:

baship route get 1 | awk '{print $7;exit}'

Note down the resulting IP address (e.g., 192.168.1.50). Both machines must reside on the same local network subnet.

Step 2: Open Ollama to the local network

If your environment does not leverage standard systemd management utilities, you can pass the network binding configuration directly into the runtime session environment.

  1. Launch with global bindings. Terminate any standalone processes and explicitly initialize the backend engine bound to all local interfaces (0.0.0.0):
bashOLLAMA_HOST=0.0.0.0 ollama serve
  1. Audit active listening ports. In a separate terminal session on the laptop, execute a sockets status audit to verify the server is listening broadly:
bashss -tlnp | grep 11434

Successful confirmation status will output: LISTEN 0 4096 *:11434.

Step 3: Configure the firewall

If your devices successfully ping each other but your browser requests time out, software barriers may be dropping incoming packets. Permit TCP routing through port 11434 on the Linux host:

bashsudo ufw allow 11434/tcp
sudo ufw reload

From your primary desktop machine, open a browser and visit the laptop's network endpoint:

texthttp://<YOUR_LAPTOP_IP>:11434

When configured correctly, the screen will read: “Ollama is running”.

Step 4: Make the network configuration permanent

  1. Open your user profile environment configuration file:
bashnano ~/.bashrc
  1. Append the host assignment to the very bottom line of the script:
bashexport OLLAMA_HOST=0.0.0.0

Save and close (Ctrl+O, Enter, then Ctrl+X).

Network access note

Binding to 0.0.0.0 makes the Ollama API reachable on the server's network interfaces. Keep access limited to a trusted local network and avoid exposing port 11434 directly to the public internet.

PHASE 4 / VS CODE

Integrate with VS Code without overriding existing AI workflows

One of the best aspects of this architecture is that adding a local Ollama server will not break, override, or clash with your existing cloud-based AI tools (like GitHub Copilot or Codex extensions). They live as distinct entities inside your development workspace.

While your existing extensions continue to handle standard ghost-text code completions inline, you can add a modular extension like Continue to handle dedicated deep-chat windows powered entirely by your laptop.

Step-by-step integration with the Continue extension

  1. Install the extension. Open VS Code on your desktop, navigate to the Extensions Marketplace (Ctrl+Shift+X), and search for and install Continue.
  2. Access the configuration. Click on the new Continue icon in your left activity sidebar. Locate and select the gear icon positioned in the lower-right quadrant of the interface panel to open your workspace config.json file.
  3. Append the offloaded model mapping. Within the models array layout, inject a customized JSON block pointing to your laptop's network resource. You can maintain your other providers in the same array:
json{
  "models": [
    {
      "title": "Laptop Server (Llama 3)",
      "provider": "ollama",
      "model": "llama3",
      "apiBase": "http://<YOUR_LAPTOP_IP>:11434"
    }
  ]
}
  1. Run and toggle seamlessly. Save your configuration file. You will now see your laptop's model inside the drop-down selector panel at the base of the Continue interface.

You can now use your cloud tools for high-speed autocomplete tabs, and switch over to your offline, private Linux server whenever you want to process large text files, perform code structural refactoring, or analyze complex data blocks locally.

ABOUT PACO3D

Practical guides for building, deploying, and running useful technology for your business and development work.

Talk about your website ↗
THE SETUP
  1. Install lightweight Linux
  2. Run Ollama on the laptop
  3. Connect over your local network
  4. Select the model in VS Code