{"id":15564,"date":"2024-06-21T18:48:03","date_gmt":"2024-06-21T18:48:03","guid":{"rendered":"https:\/\/wpinitiate.com\/?p=15564"},"modified":"2024-06-21T18:48:04","modified_gmt":"2024-06-21T18:48:04","slug":"install-ollama-on-your-ubuntu-digital-ocean-droplet-publicly","status":"publish","type":"post","link":"https:\/\/wpinitiate.com\/index.php\/2024\/06\/21\/install-ollama-on-your-ubuntu-digital-ocean-droplet-publicly\/","title":{"rendered":"Install Ollama on your Ubuntu Digital Ocean droplet (publicly)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">curl -fsSL https:\/\/ollama.com\/install.sh | sh <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">service ollama start <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ollama run llama2 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir -p \/etc\/systemd\/system\/ollama.service.d <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">echo &#8220;[Service]&#8221; >>\/etc\/systemd\/system\/ollama.service.d\/environment.conf <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">echo &#8220;Environment=OLLAMA_HOST=0.0.0.0:11434&#8221; <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">>>\/etc\/systemd\/system\/ollama.service.d\/environment.conf <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">systemctl daemon-reload <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">systemctl restart ollama<\/p>\n","protected":false},"excerpt":{"rendered":"<p>curl -fsSL https:\/\/ollama.com\/install.sh | sh service ollama start ollama run llama2 mkdir -p \/etc\/systemd\/system\/ollama.service.d echo &#8220;[Service]&#8221; >>\/etc\/systemd\/system\/ollama.service.d\/environment.conf echo &#8220;Environment=OLLAMA_HOST=0.0.0.0:11434&#8221; >>\/etc\/systemd\/system\/ollama.service.d\/environment.conf systemctl daemon-reload systemctl restart ollama<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-15564","post","type-post","status-publish","format-standard","hentry","category-wp"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/wpinitiate.com\/index.php\/wp-json\/wp\/v2\/posts\/15564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpinitiate.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpinitiate.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpinitiate.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpinitiate.com\/index.php\/wp-json\/wp\/v2\/comments?post=15564"}],"version-history":[{"count":1,"href":"https:\/\/wpinitiate.com\/index.php\/wp-json\/wp\/v2\/posts\/15564\/revisions"}],"predecessor-version":[{"id":15565,"href":"https:\/\/wpinitiate.com\/index.php\/wp-json\/wp\/v2\/posts\/15564\/revisions\/15565"}],"wp:attachment":[{"href":"https:\/\/wpinitiate.com\/index.php\/wp-json\/wp\/v2\/media?parent=15564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpinitiate.com\/index.php\/wp-json\/wp\/v2\/categories?post=15564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpinitiate.com\/index.php\/wp-json\/wp\/v2\/tags?post=15564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}