class="hide-preCode-box">

3、安装并验证

执行 sh install.sh命令进行安装,出现下面内容:

>>> Installing ollama to /usr/local
>>> Downloading Linux amd64 bundle
>>> Creating ollama user...
>>> 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.
 class="hljs-button signin active add_def" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}">

使用命令 ollama --version 进行验证,出现版本信息则安装成功。

>>
注:本文转载自blog.csdn.net的小鹿快跑~的文章"https://blog.csdn.net/qq_45138120/article/details/130610416"。版权归原作者所有,此博客不拥有其著作权,亦不承担相应法律责任。如有侵权,请联系我们删除。
复制链接

评论记录:

未查询到任何数据!