C.W.K.
Stream
Lesson 01 of 05 · published

설치하고 띄우기

~18 min · ollama, install

Level 0Downloader
0 XP0/41 lessons0/11 achievements
0/120 XP to next level120 XP to go0% complete

설치 한 번, daemon 하나, port 하나

Ollama는 binary 하나 설치되고 background daemon으로 돌아. 설치 끝나면 HTTP server가 localhost:11434에서 listen. 이게 전부야 — server 띄우는 별도 의식 같은 거 없음. macOS랑 Linux는 daemon 자동 실행.

플랫폼별 설치 경로

  • macOS — Homebrew가 가장 깔끔. brew install ollama가 CLI랑 daemon 자동 시작하는 launchd service까지 깔아줘.
  • Linuxcurl -fsSL https://ollama.com/install.sh | sh. Pipe-to-shell 못 믿겠으면 스크립트 먼저 읽어. Systemd unit ollama.service 설치해.
  • Windowsollama.com에서 공식 MSI installer.
  • Docker — headless 서버용. Volume mount해서 컨테이너 재시작에도 모델 유지.

Daemon 떴는지 확인

설치 후 가장 단순한 health check는 root URL에 GET. Ollama is running 보이면 daemon 살아있는 거고 다음 단계로 가도 돼. 안 보이면 가장 흔한 실패 모드: launchd / systemd가 시작 실패, port 11434 점유, macOS인데 launch agent 설치 누락.

Code

설치 + 확인·bash
# macOS — Homebrew
brew install ollama

# Linux — 공식 설치 스크립트
curl -fsSL https://ollama.com/install.sh | sh

# Docker — persistent volume
docker run -d \
  -v ollama:/root/.ollama \
  -p 11434:11434 \
  --name ollama ollama/ollama

# Daemon 확인 (어느 플랫폼이든)
curl -s http://localhost:11434
# 기대값: "Ollama is running"

# 버전 확인
ollama --version

External links

Exercise

머신에 Ollama 설치해. curl http://localhost:11434ollama --version으로 확인. Daemon 안 돌아가면 이유 (launchd / systemd / port 충돌) 식별하고 고쳐서 다음 단계로 넘어가.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.