Update the Ubuntu system
You can do that with the command in the Command line.
sudo apt update && sudo apt upgrade -y
Install the Ollama package for Ubuntu Linux
I got it from the official download page.
curl -fsSL https://ollama.com/install.sh | sh
See if nginx runs
You see if the package runs by typing the next command or going to your web browser and search for http://localhost:11434.
sudo systemctl status ollama
Active: means that it is running on the computer.
Enabled: means that it automatically startups as the computer boots
