패닉
-
[Linux] CentOS7 Python 3.8.* 버전 설치 + python-dev-tools 설치운영체제/리눅스 2022. 12. 2. 18:05
1. 상황 : CentOS7, 오프라인 서버에 Python3.8.15 버전을 설치한다. python-dev-tools 라이브러리도 설치한다. 2. 진행 : Python 3.8.15 버전을 홈페이지에서 다운로드 후 -> 소스 설치 소스설치 - 압축을 푼뒤, ./configure 후 make를 했다. _ctypes/_ctypes.c:107:17: fatal error: ffi.h: No such file or directory compilation terminated. Python build finished successfully! The necessary bits to build these optional modules were not found: _bz2_curses_curses_panel _dbm_gd..
-
[Linux] ERROR: Could not find a version that satisfies the requirement pytest<8, >=7 (from python-dev-tools) (from versions: none)운영체제/리눅스 2022. 11. 30. 15:17
1. 상황 : pip install python-dev-tools를 설치하기 위해 시도중이었다. 오프라인 환경이라서 종속 라이브러리들을 다 체크해야 하는데 빠뜨린게 있는 모양이다. 2. 해결시도 https://pypi.org/project/pytest/#files pytest pytest: simple powerful testing with Python pypi.org 들어가서 pytest 7.2버전 whl 파일을 다운받아 주자. 다운 받아서 다시 install을 진행하니 진행이 되긴 하는데 이번에는 flake8-blind-except=0 이라고 나온다. 이 죽일 놈의 오프라인 설치.. 분명 이런걸 잘하는 사람은 똑똑한 사람이겠지 여튼 저것도 받아보려고 했는데 럴수 럴수 이럴수가 tar.gz 파일이라고?..
-
[Java] No enclosing instance of type Main1 is accessible. Must qualify the allocation with an enclosing instance of type Main1 (e.g. x.new A() where x is an instance of Main1 ).프로그래밍/Java 2022. 11. 3. 21:57
Main이 있는 곳에 class를 추가했더니 이렇게 나왔는데 그냥 추가한 클래스 앞에 static을 붙여주면 해결된다. static public class Account { private int account; private double balance; ... } public static class Account { private int account; private double balance; ... } 이렇게 하면 된다.
-
[SpringBoot] 나를 빡치게 하는 Hello World!프로그래밍/Java 2022. 10. 18. 01:05
https://start.spring.io/ 그리곤 인텔리제이의 실행에 들어가니 Alt + Shift + F10에 실행.... 이라는 버튼이 있었는데 눌렀더니 되어 버렸다. 하지만 나는 여전히 빡쳐있다. 왜냐? 어제는 안됐었거든. 다른 폴더는 안되었거든. 이게 도대체 뭔데 나를 이렇게 빡치게 만드는 것일까. 안될때마다 적을테다. 오전 12:48:11: 실행 중 ':DemoApplication.main()'... > Task :compileJava > Task :processResources > Task :classes > Task :DemoApplication.main() . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_..
-
[CentOS] Systemctl 관련 정리운영체제/리눅스 2022. 9. 26. 18:18
1. 나는 리눅스를 몸으로 배웠다. 그냥 해결해가면서 필요한 부분들을 찾아보는 식으로. 엄청 두꺼운 책들이 있었으나, 이해도 하지 못하고 언젠가 한번 읽어야지 라고만 생각했을 뿐, 항상 내 앞의 문제를 해결하는데 급급했다. 사실 지금도 그렇다. 2. 어느날 Systemctl 명령어를 사용해 Postgresql13을 올릴 일이 있었는데, 계속 해서 실패했다. 원인을 찾기 위해 여러가지 찾아보기 시작했다. 상태보기, 서비스 중지, 시작, 재시작 systemctl status 서비스이름 systemctl stop 서비스이름 systemctl start 서비스이름 systemctl restart 서비스이름 man -k systemctl systemctl (1) - Control the systemd system..
-
[Github] Github 페이지를 만들기 With Jekyll기타/GIT 2022. 9. 20. 01:29
가끔 검색하면 보이는 블로그들이 사실 티스토리나 다른 블로그 사이트가 아니었다. github.io로 끝나는 github 페이지 였는데, 공짜로 정적 페이지를 호스팅 할수 있다는 말을 듣고 참을 수 없어서 시도해 보았는데 쉽지 않다. 심지어 지금도 못하고 있음. 내가 궁금한건 남들은 그냥 자연스럽게 한것 같은 느낌도 들고 그렇다. 삽질의 기록이다. 언젠간 잘 만들었으면 좋겠다. 단계 1. Github Repository 생성 2. Jekyll을 이용해서 정적 웹페이지 생성 3. Github에 Jekyll로 만든 페이지 올리기 1. Github Repository 생성 아무렇게나 만들었다. 하지만 public으로 만들어야 한다. 2. Jekyll을 생성하여 정적 웹페이지 생성 https://jekyllrb-..