Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
Tags
- 챗봇
- docker
- node.js
- Nas
- 웹아키텍처
- BFS
- kubernetes
- 카카오톡
- stack
- 3-Tier
- WEB서버
- Apache Airflow
- 2-tier
- Google Cloud Platform
- 힙
- e프라이버시 클린서비스
- airflow
- 데이터베이스
- Synology
- 카카오톡 오픈빌더
- iOS로 이동
- 카카오톡챗봇
- GCP
- 카카오톡오픈빌더
- dfs
- 백준
- Google Kubernetes Engine
- 기기변경
- GKE
- was서버
Archives
- Today
- Total
공부하는 밍
[Airflow] Windows에 Apache Airflow 설치하기 (with. WSL) 본문
이 글은 Windows 로컬환경에 WSL가 설치되어 있다는 가정 하에 진행하시면 됩니다.
# WSL이란?
윈도우 환경에서 리눅스 환경을 이용할 수 있게 해주는 시스템
[설치 순서]
1. WSL을 실행하고, 로컬 환경의 폴더 경로로 이동
로컬의 C드라이브는 WSL 내에서 /mnt/c로, D드라이브는 /mnt/d로 마운트되어 있기 때문에, cd /mnt/d와 같이 경로를 이동하면 됨.
2. python3과 python3-pip를 설치
sudo apt install python3
sudo apt install python3-pip
3. airflow를 설치
pip install "apache-airflow==2.2.1" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.2.1/constraints-(python 버전).txt"
# pip install 시에 SSL Error가 발생하면
pip --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host raw.githubusercontent.com install "apache-airflow==2.2.1" --constraint "https://raw.githubusercontent.co
m/apache/airflow/constraints-2.2.1/constraints-(python 버전).txt"
4. DB 설치
더보기
airflow db upgrade
5. airflow 접속 확인
더보기
airflow webserver -p 8888 (원하는 포트번호)
http://localhost:8888로 접속해서 Airflow 웹화면이 제대로 뜨는지 확인하면 끝-!!
감사합니다^^
'IT 지식 > Tech' 카테고리의 다른 글
| [Airflow] Apache Airflow에서 계정 생성하기 (0) | 2021.11.10 |
|---|
Comments