当前位置:   article > 正文

CentOS上安装Ollama_centos ollama

centos ollama

要在CentOS上安装Ollama,请按照以下步骤操作:

  1. 下载安装脚本:
    curl -fsSL https://ollama.com/install.sh | sh
    
    • 1
(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.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  1. 验证安装:
    ollama --version
    
    • 1
(sadtalker) [root@iZ0jl0y9289xkrzfhm4p2wZ ollama]#    ollama --version
ollama version is 0.1.41
  • 1
  • 2
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/神奇cpp/article/detail/907227
推荐阅读
相关标签
  

闽ICP备14008679号