전체 포스팅 보기
-
🔥 Problem 👉 You need to install python3 on Ubuntu. 🧙 Solution 👉 Please refer to the code below 1. apt upgrade and find python PPA repository sudo apt update && sudo apt upgrade sudo apt install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa 2. Install Python 3.8 on Ubuntu sudo apt install python3.8 It's very simple, right? If I was of any help to you, please buy me coffee ..
🏅 How to install python3 on Ubuntu🔥 Problem 👉 You need to install python3 on Ubuntu. 🧙 Solution 👉 Please refer to the code below 1. apt upgrade and find python PPA repository sudo apt update && sudo apt upgrade sudo apt install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa 2. Install Python 3.8 on Ubuntu sudo apt install python3.8 It's very simple, right? If I was of any help to you, please buy me coffee ..
2024.01.22 -
🔥 Airflow 설치 요구사항 👉 아래의 요구사항을 철저히 따라주세요! - 메모리 4GB 이상 - Python : 3.8 버전 이상 - Databases: PostgreSQL: 12 버전 이상 - MySQL: 8.0 - SQLite: 3.15.0+ 따라서, postgres나 mysql 외 다른 dbms 사용하시면 안됩니다. Oracle, Mssql 심지어 Mariadb도 사용 금지입니다. 그런 DBMS를 사용하시면, 현시점을 기준으로 HA(이중화) 구성도 안되고 교착 장애가 발생한다고 공식홈페이지에 기술되어 있습니다. 🔥 포스팅을 읽기 전, 사전 준비 사항? 👉 우분투를 준비해주세요! - 윈도우에 VMware 설치 - 설치된 ubuntu 23.01 LTS 설치 ※ 어쨌든 우분투를 준비해주시면 됨 👉 우..
🏅5분 내로 Airflow를 설치해보자!🔥 Airflow 설치 요구사항 👉 아래의 요구사항을 철저히 따라주세요! - 메모리 4GB 이상 - Python : 3.8 버전 이상 - Databases: PostgreSQL: 12 버전 이상 - MySQL: 8.0 - SQLite: 3.15.0+ 따라서, postgres나 mysql 외 다른 dbms 사용하시면 안됩니다. Oracle, Mssql 심지어 Mariadb도 사용 금지입니다. 그런 DBMS를 사용하시면, 현시점을 기준으로 HA(이중화) 구성도 안되고 교착 장애가 발생한다고 공식홈페이지에 기술되어 있습니다. 🔥 포스팅을 읽기 전, 사전 준비 사항? 👉 우분투를 준비해주세요! - 윈도우에 VMware 설치 - 설치된 ubuntu 23.01 LTS 설치 ※ 어쨌든 우분투를 준비해주시면 됨 👉 우..
2024.01.19 -
🔥 Airflow를 왜 쓰나요? 👉 Airflow를 설명하기 전에 이걸 어디에다 쓰는건지 알아보겠습니다. Airflow의 기능을 5%만 사용하는 수준인데, 일단 리눅스 크론탭의 UI 버전으로 써먹을 수 있습니다. Airflow에 스케줄러 기능과 함께 리눅스 명령어 즉 쉘 스크립트죠. 그것을 실행하는 기능이 있기 때문입니다. HA 즉, 이중화 구성도 가능하고 기본적으로 webserver가 제공되므로, 외부 서버에서 Airflow의 TASK를 강제로 실행하는 것이 가능합니다. 아무튼, 초초초 업그레이드 된 크론탭.. 저의 회사에서는 이런 용도로 쓸 예정입니다. 두번째로는 Airflow의 본래 목적인 파이프라인 구축입니다. 데이터 엔지니어링이라는 직업을 가진 분들이 다루는 것으로 예를들어, 인공지능 모델 학습..
🏅5분 내로 Airflow에 대해 살짝 알아보자!🔥 Airflow를 왜 쓰나요? 👉 Airflow를 설명하기 전에 이걸 어디에다 쓰는건지 알아보겠습니다. Airflow의 기능을 5%만 사용하는 수준인데, 일단 리눅스 크론탭의 UI 버전으로 써먹을 수 있습니다. Airflow에 스케줄러 기능과 함께 리눅스 명령어 즉 쉘 스크립트죠. 그것을 실행하는 기능이 있기 때문입니다. HA 즉, 이중화 구성도 가능하고 기본적으로 webserver가 제공되므로, 외부 서버에서 Airflow의 TASK를 강제로 실행하는 것이 가능합니다. 아무튼, 초초초 업그레이드 된 크론탭.. 저의 회사에서는 이런 용도로 쓸 예정입니다. 두번째로는 Airflow의 본래 목적인 파이프라인 구축입니다. 데이터 엔지니어링이라는 직업을 가진 분들이 다루는 것으로 예를들어, 인공지능 모델 학습..
2024.01.19 -
🔥 Problem 👉 SEO의 강화를 위해 404 에러가 발생하였을 경우, 404 페이지로 이동시킬 필요가 있습니다. 🧙 Solution 👉 ErrorPageController를 하나 제작합시다. 아래의 소스코드를 참고하여 작업하시면 됩니다. package com.ointex.noticeboard.controller; import org.springframework.boot.web.servlet.error.ErrorController; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping;..
[Spring boot] 에러 혹은 404 페이지로 이동시키는 방법🔥 Problem 👉 SEO의 강화를 위해 404 에러가 발생하였을 경우, 404 페이지로 이동시킬 필요가 있습니다. 🧙 Solution 👉 ErrorPageController를 하나 제작합시다. 아래의 소스코드를 참고하여 작업하시면 됩니다. package com.ointex.noticeboard.controller; import org.springframework.boot.web.servlet.error.ErrorController; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping;..
2024.01.16 -
🔥 Problem 👉 nested exception is java.lang.IllegalStateException: Can't configure antMatchers after anyRequest 🧙 Solution 👉 .anyRequest().authenticated() to be used only once! Please check if you used them once. http .httpBasic() .and() .authorizeRequests() .antMatchers("/test/**").permitAll() .and() .authorizeRequests() .antMatchers("/admin/**").hasAnyRole("ADMIN") .anyRequest().authenticated() ..
[Solved] Can't configure antMatchers after anyRequest🔥 Problem 👉 nested exception is java.lang.IllegalStateException: Can't configure antMatchers after anyRequest 🧙 Solution 👉 .anyRequest().authenticated() to be used only once! Please check if you used them once. http .httpBasic() .and() .authorizeRequests() .antMatchers("/test/**").permitAll() .and() .authorizeRequests() .antMatchers("/admin/**").hasAnyRole("ADMIN") .anyRequest().authenticated() ..
2024.01.12 -
🔥 Problem 👉 javax.xml.bind.JAXBException org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationExc..
[Solved] Implementation of JAXB-API has not been found on module path or classpath🔥 Problem 👉 javax.xml.bind.JAXBException org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationExc..
2024.01.12