赞
踩
要在CentOS上安装Ollama,请按照以下步骤操作:
curl -fsSL https://ollama.com/install.sh | sh
(sadtalker) [root@iZ0jl0y9289xkrzfhm4p2wZ ollama]# curl -fsSL https://ollama.com/install.sh | sh
>>> Downloading ollama...
######################################################################## 100.0%#=#=-# #
>>> Installing ollama to /usr/local/bin...
>>> Creating ollama user...
>>> Adding ollama user to render group...
>>> Adding ollama user to video group...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
Created symlink /etc/systemd/system/default.target.wants/ollama.service → /etc/systemd/system/ollama.service.
>>> NVIDIA GPU installed.
ollama --version
(sadtalker) [root@iZ0jl0y9289xkrzfhm4p2wZ ollama]# ollama --version
ollama version is 0.1.41
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。