Loading...

Knowledge Base

Purchase a HostGator Self-Managed VPS with DeepSeek Installation

DeepSeek is an advanced AI model platform that puts powerful language model capabilities directly on hardware you control. Instead of routing every request through a third party, you get high-performance AI reasoning and text generation on your own infrastructure, so you can build applications, automate workflows, and process information while keeping full ownership of your data and environment.

Key Benefits of DeepSeek

Run DeepSeek on your own Self-Managed VPS and you get top-tier AI reasoning for writing code, working through math, and analyzing data, without the cost that usually comes with it. Because the model runs efficiently, you get fast, sharp answers to hard technical problems while keeping your hosting bill predictable. And since everything lives on hardware you manage, your business data never has to leave your own environment.

What You Can Do With DeepSeek

Here's what teams use DeepSeek for most:

  • Powering AI coding agents: Connect DeepSeek to tools like Claude Code or OpenClaw, and it writes, tests, and fixes code in a loop without losing track of the task.
  • Repository-wide debugging: With a 128K-token context window, you can hand over large portions of a codebase at once to find bugs, suggest refactors, or map how it all fits together.
  • High-volume contract and log auditing: Scan and summarize thousands of legal documents or huge volumes of server logs at low cost.
  • Fully offline local assisting: Run a smaller version on a standard laptop for a capable AI assistant, even with no internet connection.
  • Complex data analysis: Build probability models, solve optimization problems, and run game theory scenarios.

Whatever you need it for, DeepSeek runs on your own infrastructure, so your data stays with you.

System Requirements

Review the hardware specifications below to ensure your infrastructure is properly sized before beginning installation.

The following node resources outline the baseline hardware needed to run the system smoothly.

Node Resources

Ensure your server meets or exceeds these baseline memory, storage, and processing specifications.

Resource Minimum Recommended
RAM 4 GB 8 GB (default model); see model table below for larger models
Disk 5 GB 20 GB+ (if pulling multiple or larger models)
GPU None (CPU-only supported) NVIDIA (CUDA) or AMD (ROCm) GPU for faster inference

Depending on which model you plan to deploy, system memory requirements will scale accordingly.

RAM Requirements by Model

Refer to the breakdown below to determine the exact RAM required for your selected model size.

RAM figures account for model weights (Q4_K_M quantization), KV cache at default context length, Ollama runtime (~150 MB), and Ubuntu OS idle usage (~500 MB).

Model Disk size Min node RAM Recommended RAM
deepseek-r1:1.5b ~1.1 GB 4 GB 8 GB
deepseek-r1:7b ~4.7 GB 8 GB 16 GB
deepseek-r1:14b ~9.0 GB 16 GB 24 GB
deepseek-r1:32b ~20 GB 32 GB 32 GB
deepseek-r1:70b ~43 GB 64 GB 64 GB

The default model pre-loaded on first boot is deepseek-r1:1.5b. Pulling a larger model on a node with insufficient RAM will cause Ollama to return a 500 Internal Server Error.

How to Purchase a Self-Managed VPS with DeepSeek Installation

To use DeepSeek on HostGator, you first need to buy a Self-Managed VPS plan. Here is how to do it:

Pre-configured Setup

Self-Managed VPS - Pre-configured Setup
Not sure which VPS setup is right for you? That's exactly what Pre-configured Setup is for. You'll find this option near the top of the HostGator Self-Managed VPS purchase page, and it takes the guesswork out of getting started. Just tell us what you're building—a WordPress Site, an AI Agent/Claude Code project, a Dev/Staging environment, or an eCommerce Store—and we'll automatically select the right plan, operating system, and template to match.
  • Great option if you're new to VPS or want a fast, easy setup
  • Get the recommended configuration for your project right away
  • No need to figure out the technical details yourself
  • Full flexibility to adjust settings later on
Try Pre-configured Setup and have your HostGator Self-Managed VPS ready to go in minutes!
  1. Open https://www.hostgator.com/vps-hosting in your browser.
  2. Pick the plan you want and click Choose Plan.

    Self-Managed VPS - Choose Plan
     

  3. Pick a Data Center location.

    Self-Managed VPS - Data Center Locations
     

  4. On the Cart page, you can set up your server the way you want:
    1. Hardware:
      1. Pre-selected:

        You can change to a different Self-Managed VPS plan here.

        Self-Managed VPS - Pre-selected Hardware
         

      2. Configure:

        Click Configure if you want to build your own custom package.

        Self-Managed VPS - Configure
         

    2. Software:
      1. Click the Application tab.
      2. Choose DeepSeek.

        Self-Managed VPS - DeepSeek Software
         

      3. In the pop-up, click Confirm.

        Self-Managed VPS - DeepSeek -Confirm
         

  5. Support & Security:

    You can add Premium Support here for faster help and quicker replies. This is Optional.

    Self-Managed VPS - Premium Support
     

  6. AI Credits:

    Add a HostGator AI Credits package to connect your application to top LLM providers through one API key and a single bill. This step is optional.

    Self-Managed VPS - AI Credits
     

  7. In Advanced options, you can set these up if you want:
    • Extra IPs: Add more IP addresses for an extra cost. The price changes based on how many you add.
    • Hostname: Give your server a custom name. This is optional.
    • SSH Key: If you want to log in without a password, add your SSH public key here. This is optional.

      Self-Managed VPS - Advanced Options
       

  8. Choose a billing term, check your Order Summary, then click Continue to Checkout.

    Self-Managed VPS -Initial- Order Summary
     

  9. Check your HostGator cart. Remove any add-ons you don't want, then click Continue to Checkout again.

    Self-Managed VPS - Continue to Checkout
     

  10. On the Checkout page, do the following:

    If you are new to HostGator:

    1. Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.

      Self-Managed VPS - Billing Information
       

    2. Create a password for your account.

      Self-Managed VPS - Account Password
       

    3. Choose how you want to pay—Credit Card or PayPal—and enter your payment details.

      Self-Managed VPS - Payment Method Options
       

    If you already have an account, your HostGator login details will show up once you log in to your Customer Portal. If you are not logged in, click Log In.

    Self-Managed VPS - HostGator Login
     

  11. Review your payment method and order total. If you have a promo code, click Add Promo Code and enter your code. If you need to make changes, click Edit or Add Payment Method. When everything looks correct, click Submit Payment to complete your purchase. By clicking Submit Payment, you agree to the Auto Renewal Terms, Terms of Service, Cancellation Policy, and Privacy Notice.

    Self-Managed VPS - Submit Payment
     

After checkout, your Self-Managed VPS will begin setting up. Once it’s ready, you can find it under the Hosting tab in your Customer Portal.

Confirming Your DeepSeek Setup Works

Here's how to quickly check your server, run DeepSeek commands, and confirm everything's working the way it should.

  1. Log in to your Customer Portal.
  2. From the left-hand menu, navigate to Hosting and select My Plans.

    Customer Portal - Hosting tab - View Details
     

  3. Locate the server you want to manage, then click View Details in the bottom-left corner to expand the section and access additional server information.

    Customer Portal - Hosting tab - View Details
     

  4. Click the Reset Password button.

    Customer Portal - Hosting tab - View Details - Reset Password
     

  5. In the pop-up window, type your new root password, then click Reset Password again to confirm and save the changes.

    Customer Portal - Hosting tab - View Details - Reset Password
     

  1. SSH into your server: Open a terminal and connect as the root user:
    ssh root@your_server_ip

    Example Output

    
    Welcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-124-generic x86_64)
    ********************************************************************************
    DeepSeek AI Server
    API : http://123.45.67.89:11434 (Ollama-compatible REST)
    SSH : port 22 | UFW enabled - all other ports blocked
    Default model : deepseek-r1:1.5b (~1.1 GB, auto-pulled on first boot)
    Requirements:
    RAM : 4 GB minimum for this image (default model: deepseek-r1:1.5b)
    Larger models need more - see table below
    Model RAM requirements (minimum node RAM / recommended):
    deepseek-r1:1.5b -> 4 GB min / 8 GB recommended (default)
    deepseek-r1:7b -> 8 GB min / 16 GB recommended
    deepseek-r1:14b -> 16 GB min / 24 GB recommended
    Quick start:
    ollama run deepseek-r1:1.5b # interactive chat (default, needs 4 GB RAM)
    ollama list # list loaded models
    ollama pull deepseek-r1:7b # larger model (~4.7 GB, needs 8 GB RAM)
    ollama pull deepseek-r1:14b # pull an even larger model (~9 GB, needs 16 GB RAM)
    REST API:
    curl http://123.45.67.89:11434/api/tags
    curl -X POST http://123.45.67.89:11434/api/generate \
    -H 'Content-Type: application/json' \
    -d '{"model":"deepseek-r1:1.5b","prompt":"Hello","stream":false}'
    Service : systemctl status ollama
    Logs : /var/log/deepseek/deepseek.log
    Docs : cat /root/README.md
    ********************************************************************************
    To delete this message of the day: rm -rf /etc/update-motd.d/99-deepseek
    Last login: Tue Jun 9 18:08:22 2026 from 180.190.20.22
    
  2. Check the Health of the Ollama Service:
    systemctl status ollama

    Example Output

    
    root@server-123456:~# systemctl status ollama
    ● ollama.service - Ollama Service
         Loaded: loaded (/etc/systemd/system/ollama.service; enabled; preset: enabled)
        Drop-In: /etc/systemd/system/ollama.service.d
                 └─logging.conf, override.conf
         Active: active (running) since Tue 2026-06-09 17:22:47 UTC; 54min ago
       Main PID: 763 (ollama)
          Tasks: 39 (limit: 19161)
         Memory: 15.0G (peak: 15.0G)
            CPU: 7min 58.247s
         CGroup: /system.slice/ollama.service
                 ├─ 763 /usr/local/bin/ollama serve
                 └─6179 /usr/local/lib/ollama/llama-server --model /usr/share/ollama/.ollama/models/blobs/sha256-aabd4debf0>
    
  3. Run and Manage DeepSeek Models via CLI:
    ollama run deepseek-r1:1.5b

    Example Output

    
    root@server-123456:~# ollama run deepseek-r1:1.5b
    pulling manifest
    pulling aabd4debf0c8: 100% ▕██████████████████████████████████████████████████████████▏ 1.1 GB
    pulling c5ad996bda6e: 100% ▕██████████████████████████████████████████████████████████▏  556 B
    pulling 6e4c38e1172f: 100% ▕██████████████████████████████████████████████████████████▏ 1.1 KB
    pulling f4d24e9138dd: 100% ▕██████████████████████████████████████████████████████████▏  148 B
    pulling a85fe2a2e58e: 100% ▕██████████████████████████████████████████████████████████▏  487 B
    verifying sha256 digest
    writing manifest
    success
    >>> good morning
    
    Good morning! 🌞 How can I assist you today?
    
    >>> Send a message (/? for help)
    
  4. Run the Test Suite:
    prove /root/app_test/main.t

    Example Output

    
    root@server-123456:~# prove /root/app_test/main.t             prove /root/app_test/main.t
    /root/app_test/main.t .. ok
    All tests successful.
    Files=1, Tests=7,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.04 cusr  0.03 csys = 0.09 CPU)
    Result: PASS
    

Additional Information and Examples

You can run cat /root/README.md to see more information and useful commands:

Example Output:


Docs    : cat /root/README.md
********************************************************************************
To delete this message of the day: rm -rf /etc/update-motd.d/99-deepseek
Last login: Tue Jun  9 21:26:30 2026 from 123.123.20.22
root@server-123456:~# cat /root/README.md
# DeepSeek

## Description

DeepSeek is an advanced AI model platform that lets you run powerful language model capabilities directly on your own server infrastructure.
It provides access to high-performance AI reasoning and text generation,
allowing you to build applications, automate workflows, and process information with full control over your data and environment.

## Minimum Requirements

### Node resources

| Resource | Minimum | Recommended |
|----------|---------|-------------|
| RAM      | 4 GB    | 8 GB (default model); see model table below for larger models |
| Disk     | 5 GB    | 20 GB+ (if pulling multiple or larger models) |
| GPU      | None (CPU-only supported) | NVIDIA (CUDA) or AMD (ROCm) GPU for faster inference |

> **GPU note:** Ollama automatically offloads model layers to any detected NVIDIA (CUDA)
> or AMD (ROCm) GPU. Without a GPU, inference runs on CPU only - functional but noticeably
> slower, especially for larger models. For production workloads or low-latency responses,
> a GPU-equipped node is strongly recommended.

### RAM requirements by model

RAM figures account for model weights (Q4_K_M quantization), KV cache at default context
length, Ollama runtime (~150 MB), and Ubuntu OS idle usage (~500 MB).

| Model              | Disk size | Min node RAM | Recommended RAM |
|--------------------|-----------|--------------|-----------------|
| deepseek-r1:1.5b   | ~1.1 GB   | 4 GB         | 8 GB            |
| deepseek-r1:7b     | ~4.7 GB   | 8 GB         | 16 GB           |
| deepseek-r1:14b    | ~9.0 GB   | 16 GB        | 24 GB           |
| deepseek-r1:32b    | ~20 GB    | 32 GB        | 32 GB           |
| deepseek-r1:70b    | ~43 GB    | 64 GB        | 64 GB           |

The default model pre-loaded on first boot is `deepseek-r1:1.5b`. Pulling a larger model
on a node with insufficient RAM will cause Ollama to return a `500 Internal Server Error`.

Following installation the virtual machine will have:
* DeepSeek REST API on port 11434 (Ollama-compatible, OpenAI-compatible)
* SSH on port 22

Ports are protected using ufw with default-deny incoming policy.

## Services

Service           | Port  | Protocol | Notes
------------------|-------|----------|------
SSH               | 22    | TCP      | UFW rate-limited
DeepSeek API      | 11434 | TCP      | Ollama runtime, OpenAI-compatible endpoint

## Links

* DeepSeek models on Ollama: https://ollama.com/library/deepseek-r1
* Ollama documentation: https://github.com/ollama/ollama
* Ollama REST API reference: https://github.com/ollama/ollama/blob/main/docs/api.md
* DeepSeek official site: https://www.deepseek.com

## How-to-use

### Interacting via CLI

SSH into the server and use the `ollama` command:

ollama list # list downloaded models
ollama run deepseek-r1:1.5b # interactive chat session (default, needs 4 GB RAM)
ollama pull deepseek-r1:7b # pull a larger model (~4.7 GB, needs 8 GB RAM)
ollama pull deepseek-r1:14b # pull an even larger model (~9 GB)
ollama rm deepseek-r1:1.5b # remove a model

### Interacting via REST API

The API is accessible from outside the server on port 11434:

# List available models
curl http://:11434/api/tags

# Generate a completion (non-streaming)
curl -X POST http://:11434/api/generate \
     -H 'Content-Type: application/json' \
     -d '{"model":"deepseek-r1:1.5b","prompt":"Explain quantum computing","stream":false}'

# Chat endpoint
curl -X POST http://:11434/api/chat \
     -H 'Content-Type: application/json' \
     -d '{"model":"deepseek-r1:1.5b","messages":[{"role":"user","content":"Hello"}]}'

# OpenAI-compatible endpoint
curl -X POST http://:11434/v1/chat/completions \
     -H 'Content-Type: application/json' \
     -d '{"model":"deepseek-r1:1.5b","messages":[{"role":"user","content":"Hello"}]}'

### Model storage

Models are stored in /usr/share/ollama/.ollama/models. Ensure sufficient disk space before pulling large models (7B models require ~4.7 GB, 14B ~9 GB, 32B ~20 GB).

### Service management

systemctl status  ollama       # check service status
systemctl restart ollama       # restart the service
journalctl -u ollama -f        # follow journal logs
tail -f /var/log/deepseek/deepseek.log   # follow file logs (rotated daily, 14 days)

### Running the test suite

prove /root/app_test/main.t

### Security note
The Ollama API on port 11434 is exposed to the network and does not provide authentication by default. Restrict access using cloud firewall/security groups, a reverse proxy with authentication, or deploy only on trusted private networks.

Loading...