Loading...

Purchase a Self-Managed VPS Hosting with Ollama Installation

Ollama is an AI-powered platform designed to provide advanced language model capabilities for businesses and developers. It offers robust natural language processing (NLP) tools that can be integrated into applications for tasks such as text generation, summarization, translation, and conversational AI. Ollama combines ease of use with powerful customization, making cutting-edge AI technology accessible without the need for deep technical expertise.

Why Use Ollama?

In this age, when AI and machine learning are revolutionizing various sectors, the use of such platforms as Ollama can contribute to improving the capability of understanding, producing, and analyzing text-based data. It is possible to automate customer engagement processes, create text, analyze data, and make decisions by using Ollama.

Uses of Ollama

There are many applications of Ollama in different fields:

  • Customer Support: Automate your customer support replies using conversational AI.
  • Content Creation: Generate articles, marketing copy, and creative writing effortlessly.
  • Data Analysis: Summarize big pieces of text, highlight important points, and translate text into other languages.
  • Development: Integrate AI-driven language capabilities into apps, chatbots, and virtual assistants.
  • Education: Assist in tutoring, language learning, and interactive training through intelligent dialogues.

This versatility makes Ollama a valuable asset for companies looking to harness the power of AI-driven communication.

How to Purchase a Self-Managed VPS Hosting with Ollama Installation

To get started with Ollama on Bluehost, you first need to purchase a Self-Managed VPS plan. Follow the steps below:

Pre-configured Setup

Self-Managed VPS - Pre-configured Setup New to VPS or not sure where to start? No worries! At the top of the Self-Managed VPS purchase page, you’ll see the Pre-configured Setup section. This handy feature is perfect if you’re feeling a bit unsure—just pick the type of project you want, like WordPress Site, AI Agent/Claude Code, Dev/Staging, or eCommerce Store. We’ll take care of the rest by automatically filling in the best plan, operating system, and template for you.
  • Super simple for beginners or anyone who just wants a quick setup
  • Instantly get the recommended settings for your project
  • Skip the guesswork and save time
  • You can still customize things later if you want
Give the Pre-configured Setup a try and get your Bluehost Self-Managed VPS up and running in no time!
  1. In your browser, go to https://www.bluehost.com/vps-hosting.
  2. Click the Choose Plan button under your preferred VPS hosting plan.

    VPS Hosting-Choose Plan
     

  3. Select your preferred Data Center location.

    Select Location
     

  4. On the Cart page, you can configure your server to fit your needs in the following section:
    1. Hardware:
      1. Pre-selected:

        You can select a different Self-Managed VPS plan in this section.

        Pre-selected
         

      2. Configure:

        Click Configure to customize your package.

        Configure your server
         

    2. Software:
      1. Click on the Application tab.
      2. Choose Ollama.

        Choose ollama
         

      3. Click Confirm to continue.

        Choose ollama-confirm
         

  5. Add-Ons:
    • Premium Support:

      This service provides you with priority access to our expert team for faster responses and personalized assistance whenever you need it.

      Add-ons
       

  6. In the Advanced options:
    • Extra IP's: You can add extra IP addresses for an additional fee.
      Pricing changes based on how many IPs you add.
    • Hostname: Assign a custom hostname to easily identify your server. This is optional.

    Advanced Options
     

  7. Select your preferred billing term and view your Order Summary. Click the Continue to Checkout button to proceed.

    Choose Coolify
     

  8. Do the following on the Checkout page:

    If you're new with Bluehost:

    1. Create your Bluehost account by using your email address or by connecting with your Google, Apple, or GitHub account — whichever you prefer!

      Checkout page - Create an account
       

    2. Select your preferred payment method: credit card, Google Pay, or PayPal. Enter your billing information.

      Checkout page - Billing Information
       

    If you have an account with us, you will see your Bluehost login details when you are logged into your Bluehost Portal. If you are not logged in, please click the Log In link.

    log-in to account in bh
     

  9. In the Shopping Cart section, you can still adjust your billing term if needed.

    Self-Managed VPS - service terms
     

  10. Review the items in your cart, add a Promo Code if you have one, and then click Submit Payment to complete the purchase.

    Self-Managed VPS - service terms
     

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

How to Use Ollama

  1. Log in to your server via SSH.
    When you log in to your server for the first time, you're greeted with a welcome message that includes all the essential commands and instructions for managing Ollama. The content looks like this:
    
    Welcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-111-generic x86_64)
    ********************************************************************************
    Ollama is running on this server.
    
    The UFW firewall is enabled.
    All ports are BLOCKED except 22 (SSH) and 11434 (Ollama API).
    
    API endpoint:
      http://localhost:11434
    
    Common commands:
      ollama list                  # list downloaded models
      ollama pull llama3.2         # download a model (~2GB)
      ollama pull tinyllama        # download a small starter model (~637MB)
      ollama run tinyllama         # start an interactive chat session
    
    REST API examples:
      curl http://localhost:11434/api/version
      curl http://localhost:11434/api/tags
      curl -X POST http://localhost:11434/api/generate \
           -d '{"model":"tinyllama","prompt":"Hello","stream":false}'
    
    On the server:
      Models are stored in /var/lib/ollama/.ollama/models
      Service config: /etc/systemd/system/ollama.service.d/override.conf
    
    For more details please see /root/README.md
    
    To delete this message of the day: rm -rf /etc/update-motd.d/99-ollama
        
  2. Check installed and available models via the CLI.
    ollama list
    Example Output:
    
    NAME        	ID          	SIZE    MODIFIED
    tinyllama   	sha256:e5562a3b…	637 MB  3 minutes ago
        
  3. Pull a model (tinyllama is preinstalled on first boot):
    ollama pull llama3.2
    Example Output:
    
    pulling manifest
    pulling 2.0 GB model
    ...
    success
        
  4. Start an interactive session with a model:
    ollama run tinyllama
    Example Output:
    
    >>> Hello, how can I help you today?
    (type /exit to quit)
        
  5. Remove a model to free up disk space:
    ollama rm tinyllama
    Example Output:
    
    Deleted model 'tinyllama'
        
  6. Interact with the Ollama REST API
    • Check Ollama version:
      curl http://localhost:11434/api/version
      Example Output:
      
      {"version": "0.1.25"}
              
    • List available models (tags):
      curl http://localhost:11434/api/tags
      Example Output:
      
      {"models":[{"name":"tinyllama","modified_at":"2024-06-18T10:17:22.093Z"}]}
              
    • Generate a non-streaming completion:
      
      curl -X POST http://localhost:11434/api/generate \
           -H 'Content-Type: application/json' \
           -d '{"model":"tinyllama","prompt":"Why is the sky blue?","stream":false}'
              
      Example Output:
      
      {"response":"The sky looks blue because of the way sunlight interacts with Earth's atmosphere...","model":"tinyllama",...}
              
    • Start a chat session via API:
      
      curl -X POST http://localhost:11434/api/chat \
           -H 'Content-Type: application/json' \
           -d '{"model":"tinyllama","messages":[{"role":"user","content":"Hello"}]}'
              
      Example Output:
      
      {"message":{"role":"assistant","content":"Hello! How can I help you?"}, ...}
              
  7. Model storage location
    Models are stored in
    /var/lib/ollama/.ollama/models

    Before pulling large models, make sure you have sufficient disk space (7B models may need 4-8 GB free space).

  8. Service config and logs
    • Service configuration is at
      /etc/systemd/system/ollama.service.d/override.conf
    • For logs or troubleshooting, see:
      cat /root/README.md

Links

Summary

Ollama is a powerful AI-driven language platform that businesses and developers can leverage for various applications such as customer support, content creation, data analysis, development, and education. By purchasing a Self-Managed VPS Hosting plan from Bluehost, you can gain the flexibility and control necessary to configure your environment and deploy Ollama effectively. This combination enables you to harness the potential of advanced AI technology to drive innovation and improved communication.

Loading...