IT/TIL3 process id를 확인할 수 없을 때 특정 포트를 사용 중인 process를 확인하기 위해 netstat -tulp | grep 포트번호 netstat -ano | grep 포트번호 를 통해 확인하곤 한다. 그런데 이번에 ec2에서 작업 중 위 명령어를 쳤으나 pid를 return받지 못했다. 구글링을 통해 권한 문제인 것을 확인했다. https://unix.stackexchange.com/questions/97752/how-to-identify-a-process-which-has-no-pid How to identify a process which has no pid? I have a process which listen to 2 ports : 45136/tcp and 37208/udp (actually I assume it is the .. 2022. 4. 2. [Django] WSL2, Ubuntu 20.04 - mysqlclient 설치 오류 환경 : Windows 10, WSL2, Ubuntu 20.04 Ubuntu에서 Django프로젝트 진행 중, mysqlclient 라이브러리 설치 오류가 났다. $ sudo apt-get install python3-dev default-libmysqlclient-dev build-essential 위 명령어 수행 후, mysqlclient를 다시 설치하니 잘 된다! 참고) https://stackoverflow.com/questions/63342767/command-errored-out-with-exit-status-1-python-setup-py-egg-info-check-the-logs Command errored out with exit status 1: python setup.py egg_in.. 2022. 4. 1. [Django] Swagger 문서 자동화(drf-yasg) 저번 프로젝트에선 Swagger에서 API Docs를 수동으로 다 적었다. 이번엔 자동으로 만들어주는 라이브러리를 사용하기로 했다. django-rest-swagger VS drf-yasf Django 공식문서에서는 에서 API 문서 자동화를 위한 tool로 "django-rest-swagger"를 언급했다. 하지만, 구글링한 결과 해당 패키지는 관리가 되지 않아 여러 오류가 있다고 했다. 그래서 drf-yasf 패키지를 사용하기로 결정! 라이브러리 적용하기 https://life-with-coding.tistory.com/460 [django] swagger로 REST API 문서 만들기 인트로 안녕하세요 :D 오늘은 장고에서 Swagger를 활용하여 REST API Doc을 만들어 보겠습니다. swa.. 2022. 3. 29. 이전 1 다음