[Centos系统] CentOS上安装Ollama

628 0
Honkers 2025-10-4 12:55:45 | 显示全部楼层 |阅读模式

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

  1. 下载安装脚本:
    1. curl -fsSL https://ollama.com/install.sh | sh
    复制代码
  1. (sadtalker) [root@iZ0jl0y9289xkrzfhm4p2wZ ollama]# curl -fsSL https://ollama.com/install.sh | sh
  2. >>> Downloading ollama...
  3. ######################################################################## 100.0%#=#=-# #
  4. >>> Installing ollama to /usr/local/bin...
  5. >>> Creating ollama user...
  6. >>> Adding ollama user to render group...
  7. >>> Adding ollama user to video group...
  8. >>> Adding current user to ollama group...
  9. >>> Creating ollama systemd service...
  10. >>> Enabling and starting ollama service...
  11. Created symlink /etc/systemd/system/default.target.wants/ollama.service → /etc/systemd/system/ollama.service.
  12. >>> NVIDIA GPU installed.
复制代码
  1. 验证安装:
    1. ollama --version
    复制代码
  1. (sadtalker) [root@iZ0jl0y9289xkrzfhm4p2wZ ollama]# ollama --version
  2. ollama version is 0.1.41
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

中国红客联盟公众号

联系站长QQ:5520533

admin@chnhonker.com
Copyright © 2001-2026 Discuz Team. Powered by Discuz! X3.5 ( 粤ICP备13060014号 )|天天打卡 本站已运行