티스토리 뷰
출처
- OctoPrint.org - Download & Setup OctoPrint
- Raspberry Pi Camera V2 Settings? - Get Help / Webcams - OctoPrint Community Forum
- 옥토프린터 수동 설치 방법과 옥토파이로 자동설치 하는법 모두 알아봅시다
- [3D프린터] 라즈베리파이 가상환경 생성 & Octoprint 실행(내부망ip접속) : 네이버 블로그
OS 업데이트
파이썬 설치
OctoPrint 는 파이썬 환경에서 실행되므로 파이썬을 설치합니다.
파이썬 버전 확인
Python 3.5.2
OctoPrint 설치
OctoPrint 작업 디렉토리 생성
pip 최신버전으로 업그레이드, OctoPrint 가상환경 생성
Collecting pip
Using cached pip-22.0.4-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.1.1
Uninstalling pip-20.1.1:
Successfully uninstalled pip-20.1.1
Successfully installed pip-22.0.4
OctoPrint 설치
pi 계정 권한 변경
pi 계정에 터미널과 시리얼 접근권한을 추가해서 옥토프린트가 3D 프린터를 컨트롤할 수 있도록 합니다.
OctoPrint 서버 수동실행 (Ctrl + C 서버 종료)
2022-03-09 16:16:16,731 - octoprint.startup - INFO - ******************************************************************************
2022-03-09 16:16:16,735 - octoprint.startup - INFO - Starting OctoPrint 1.7.3
2022-03-09 16:16:16,736 - octoprint.startup - INFO - ******************************************************************************
... 생략 ...
2022-03-09 16:16:27,791 - octoprint.environment - INFO - Detected environment is Python 3.7.9 under Linux (linux). Details:
| hardware:
| cores: 4
| freq: 1248.0
| ram: 1040207872
| os:
| bits: 64
| id: linux
| platform: linux
| python:
| pip: 22.0.4
| version: 3.7.9
| virtualenv: /home/pi/OctoPrint
OctoPrint 접속

OctoPrint 서버 자동실행
OctoPrint 서비스 등록
OctoPrint 서버 환경설정 (/etc/default/octoprint)
16번줄의 DAEMON 앞에 주석(#)를 제거, DAEMON 파일 경로도 정확한지 확인하고 저장합니다.
# Configuration for /etc/init.d/octoprint # The init.d script will only run if this variable non-empty. OCTOPRINT_USER=pi # base directory to use #BASEDIR=/home/pi/.octoprint # configuration file to use #CONFIGFILE=/home/pi/.octoprint/config.yaml # On what port to run daemon, default is 5000 PORT=5000 # Path to the OctoPrint executable, you need to set this to match your installation! DAEMON=/home/pi/OctoPrint/bin/octoprint # What arguments to pass to octoprint, usually no need to touch this DAEMON_ARGS="--port=$PORT" # Umask of files octoprint generates, Change this to 000 if running octoprint as its own, separate user UMASK=022 # Process priority, 0 here will result in a priority 20 process. # -2 ensures Octoprint has a slight priority over user processes. NICELEVEL=-2 # Should we run at startup? START=yes
OctoPrint 서비스 실행
OctoPrint 서비스 종료
- Total
- Today
- Yesterday
- Xcode
- JavaScript
- ffmpeg
- 일본여행
- SAS
- Java
- Delphi
- Linux
- 동경
- koba2010
- 전예희
- sas2009
- Delphi Tip
- 지스타2007
- Spring MVC
- NDK
- KOBA
- MySQL
- flex
- ble
- 레이싱모델 익스트림 포토 페스티벌
- 서울오토살롱
- oracle
- 튜닝쇼 2008
- BPI-M4
- 송주경
- android
- Spring
- ubuntu
- Mac
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |