AGmind-macos
One-command local AI/RAG installer for macOS (Metal): Dify, Open WebUI, Ollama, Weaviate/Qdrant, Postgres, Redis. 230 tests.
파일 탐색기
- 08-01-SUMMARY.md
- 09-01-PLAN.md
- 09-01-SUMMARY.md
- 09-02-PLAN.md
- 09-02-SUMMARY.md
- 10-01-SUMMARY.md
- 11-01-PLAN.md
- 11-01-SUMMARY.md
- 11-02-PLAN.md
- 11-02-SUMMARY.md
- ARCHITECTURE.md
- FEATURES.md
- PITFALLS.md
- STACK.md
- SUMMARY.md
- v1.1-PITFALLS.md
- REQUIREMENTS.md
- ROADMAP.md
- STATE.md
- backup.sh
- common.sh
- compose.sh
- config.sh
- detect.sh
- docker.sh
- health.sh
- models.sh
- ollama.sh
- openwebui.sh
- wizard.sh
- agmind.sh
- backup.sh
- health-gen.sh
- com.agmind.backup.plist.template
- com.agmind.health.plist.template
- dbgpt-proxy-ollama.toml.template
- docker-compose.yml
- env.lan.template
- env.offline.template
- nginx.conf.template
- versions.env
- brew
- colima
- curl
- df
- docker
- ipconfig
- launchctl
- lsof
- ollama
- plutil
- sudo
- sw_vers
- sysctl
- uname
- setup.bash
- test_agmind.bats
- test_backup.bats
- test_common.bats
- test_compose.bats
- test_config.bats
- test_detect.bats
- test_docker.bats
- test_health.bats
- test_models.bats
- test_ollama.bats
- test_openwebui.bats
- test_wizard.bats
- integration-test.sh
- run-tests.sh
- .gitignore
- install.sh
- LICENSE
- README.md
- README.ru.md
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
bats
설명 보기 ▼
bats
Bash 자동 테스트 시스템: Bash용 TAP (<https://testanything.org/>) 호환 테스트 프레임워크.
더 많은 정보: <https://bats-core.readthedocs.io/en/stable/usage.html>.
bats {{[-t|--tap]}} {{path/to/test.bats}}
BATS 테스트 스크립트를 실행하고 결과를 [t]AP (Test Anything Protocol) 형식으로 출력:
bats {{[-c|--count]}} {{path/to/test.bats}}
테스트를 실행하지 않고 테스트 스크립트의 테스트 케이스 수([c]ount)를 계산:
bats {{[-r|--recursive]}} {{path/to/directory}}
BATS 테스트 케이스를 반복적으로([r]ecursively) 실행 (`.bats` 확장자를 가진 파일):
brew
설명 보기 ▼
brew
macOS와 Linux를 위한 패키지 관리자.
더 많은 정보: <https://docs.brew.sh/Manpage>.
brew install {{formula|cask}}
공식(formula) 혹은 캐스크(cask)의 최신 안정 버전을 설치:
brew list
설치된 모든 공식(formulae)과 캐스크(casks) 나열:
brew upgrade {{formula|cask}}
설치된 특정 공식(formula) 혹은 캐스크(cask) 업그레이드 (옵션이 주어지지 않으면 모든 공식과 캐스크 업그레이드):
docker compose up
설명 보기 ▼
docker compose up
Start and run Docker services defined in a Compose file.
docker compose up
Start all services defined in the docker-compose file:
docker compose up {{[-d|--detach]}}
Start services in the background (detached mode):
docker compose up --build
Start services and rebuild images before starting:
git clone
설명 보기 ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
lsof
설명 보기 ▼
lsof
열린 파일과 상응하는 프로세스들을 나열합니다.
참고: 다른 사람으로부터 열린 파일 리스트는 루트 권한 ( 혹은 sudo ) 이 요구됩니다.
더 많은 정보: <https://manned.org/lsof>.
lsof {{path/to/file}}
주어진 파일을 열고있는 프로세스 찾기:
lsof -i :{{port}}
로컬 인터넷 포트를 열고있는 프로세스 찾기:
lsof -t {{path/to/file}}
프로세스 아이디 (PID)만 출력:
python3
설명 보기 ▼
python3
이 명령은 `python`의 별칭입니다.
tldr python
자세한 내용은 원본 명령을 참고하세요:
sed
설명 보기 ▼
sed
스크립트 가능한 방식으로 텍스트 편집.
관련 항목: `awk`, `ed`.
더 많은 정보: <https://manned.org/sed.1posix>.
{{command}} | sed 's/apple/mango/g'
모든 입력 줄에서 모든 `apple`(기본 `regex`)항목을 `mango`(기본 `regex`)로 바꾸고 결과를 `stdout`에 출력:
{{command}} | sed 's/apple/mango/g'
모든 입력 라인에서 `apple` (기본 `regex`)을 `mango` (기본 `regex`)로 대체하고 결과를 `stdout`에 인쇄:
{{command}} | sed 's/apple/mango/g'
모든 입력 줄에서 `apple` (기본 `regex`) 발생 부분을 `mango` (기본 `regex`)로 대체하고 결과를 `stdout`에 출력:
shellcheck
설명 보기 ▼
shellcheck
쉘 스크립트를 정적으로 검사하여 오류, 사용 중단된/안전하지 않은 기능 및 잘못된 관행을 확인합니다.
더 많은 정보: <https://github.com/koalaman/shellcheck/wiki>.
shellcheck {{path/to/script.sh}}
쉘 스크립트 검사:
shellcheck {{[-s|--shell]}} {{sh|bash|dash|ksh}} {{path/to/script.sh}}
스크립트 상단의 셰뱅을 무시하고 지정된 [s]쉘 방언으로 쉘 스크립트를 검사:
shellcheck {{[-e|--exclude]}} {{SC1009,SC1073,...}} {{path/to/script.sh}}
하나 이상의 오류 유형을 무시:
timeout
설명 보기 ▼
timeout
명령을 일정 시간 제한 내에서 실행.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html>.
timeout 3s sleep 10
`sleep 10`을 실행하고 3초 후 종료:
timeout {{[-s|--signal]}} {{INT|HUP|KILL|...}} {{5s}} {{sleep 10}}
시간 제한이 만료되면 명령에 [s]ignal을 전송 (`TERM`이 기본, 모든 신호 목록은 `kill -l`):
timeout {{[-v|--verbose]}} {{0.5s|1m|1h|1d|...}} {{command}}
시간 초과 시 전송된 신호를 `stderr`에 [v]erbose 출력으로 표시:
umask
설명 보기 ▼
umask
사용자가 새로 생성하는 파일에 대해 제한되는 읽기/쓰기/실행 권한을 관리.
더 많은 정보: <https://www.gnu.org/software/bash/manual/bash.html#index-umask>.
umask
현재 마스크를 8진수 표기법으로 표시:
umask -S
현재 마스크를 기호(사람이 읽기 쉬운) 모드로 표시:
umask {{a+r}}
모든 사용자에게 읽기 권한을 허용하도록 기호로 마스크 변경 (나머지 마스크 비트는 변경되지 않음):
apt-get
설명 보기 ▼
apt-get
Debian 및 Ubuntu 패키지 관리 도구.
`apt-cache`를 사용하여 패키지를 검색하세요.
Ubuntu 16.04 이후 버전에서는 대화형 사용 시 `apt` 사용을 권장합니다.
더 많은 정보: <https://manned.org/apt-get.8>.
sudo apt-get update
사용 가능한 패키지 및 버전 목록 업데이트 (다른 `apt-get` 명령어 실행 전에 권장됨):
sudo apt-get install {{package}}
패키지 설치 또는 최신 버전으로 업데이트:
sudo apt-get remove {{package}}
패키지 제거:
sysctl
설명 보기 ▼
sysctl
커널 런타임 변수를 나열하고 변경합니다.
더 많은 정보: <https://manned.org/sysctl.8>.
sysctl {{[-a|--all]}}
사용 가능한 모든 변수와 그 값을 표시:
sysctl -a
사용 가능한 모든 변수와 값 표시:
sysctl {{[-w|--write]}} {{section.tunable}}={{value}}
변경 가능한 커널 상태 변수를 설정:
systemctl
설명 보기 ▼
systemctl
systemd 시스템 및 서비스 관리자를 제어합니다.
더 많은 정보: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html>.
systemctl status
실행 중인 서비스 모두 표시:
systemctl --failed
실패한 유닛 나열:
systemctl {{start|stop|restart|reload|status}} {{unit}}
서비스 시작/중지/재시작/재로드/상태 표시:
# 프로젝트 배지
-
License 바로가기
