This repository provides a comprehensive installation script to set up Ollama, pull the llama2 model, and configure a Docker environment to run the open-webui container. This script is designed to streamline the setup process for developers and enthusiasts.
- Automated installation of Ollama from ollama.com.
- Pulling the llama2 model using Ollama.
- Installation and configuration of Docker and associated plugins.
- Deployment of the open-webui container with necessary environment configurations.
- A system running Ubuntu (or a compatible Linux distribution).
-
Clone the repository:
git clone https://github.com/Slapush/Script-Install-Ollama.git cd Script-Install-Ollama -
Make the script executable:
chmod +x ollama-install.sh
-
Run the script:
./ollama-install.sh
This script will:
- Install Ollama.
- Pull the llama2 model using Ollama.
- Update your system packages and install necessary certificates.
- Set up Docker, including the Docker GPG key and repository.
- Install Docker Engine and plugins.
- Run the open-webui container.
The open-webui service will be accessible on port 8080.
This installation script was inspired by detailed tutorials and documentation from the following sources:
By following these steps, you can easily set up a powerful development environment with Ollama, Open-webui and Docker.