본문 바로가기

분류 전체보기99

[Linux] 명령어 정리 파일 디렉토리 directory /bin : binary 실행 가능한 파일을 나타낸다. ex) 윈도우 실행 파일 -> /usr/bin , /usr/sbin : ps, cat la ifconfig 유틸리티 포함 /home : 사용자 고유의 home 디렉토리 /mnt : 다른 파일 시스템이 파일 시스템에 연결될때 마운트 되는 위치 /media : 보통 CD, USB 장치가 위치하거나 마운트 되는 위치 /etc : 리눅스 환경 설정 파일 포함, 제어하는 설정 /lib : 라이브러리 명령어 whoami : 현재 로그인 한 사용자 --help, -h : 도움말 locate : locate [찾고 싶은 키워드] : 파일 전체 검색 whereis : whereis [찾고 싶은 키워드] : 키워드 바이너리 위치와 이용.. 2023. 8. 8.
[AWS] AWS + S3 + Spring boot File 업로드 AWS - 버킷은 이미 생성 완료로 진행합니다. 필요하시다면 아래 링크를 확인해주세요 더보기 https://victorydntmd.tistory.com/66 [AWS] IAM (1) Access Key and Security key 1. Access Key와 Security Key의 중요성Access Key 와 Security Key는 AWS API 또는 라이브러리에서 사용할 때 필요한 인증 도구입니다.이 key만 있으면 AWS의 모든 API 사용이 가능하기 때문에 매우매우 중요합니 victorydntmd.tistory.com https://bamdule.tistory.com/177 [AWS] Amazon S3 생성 방법 (Amazon Simple Storage Service) 1. Amazon S3란?.. 2023. 8. 7.
[AWS] AWS + S3 + ZIP형식 멀티다운로드 S3에 저장된 자료들을 ZIP형식으로 다운로드 받고 싶다는 요청이 들어와서 작업한 부분을 정리했다. /** * File > ZIP > MultiDownload */ public void multiDownload(List filePathList, HttpServletResponse response) throws IOException { List inputList = new ArrayList(); SimpleDateFormat dayFormat = new SimpleDateFormat("yyyyMMddHH:mm:ss"); Date nowDate = Calendar.getInstance().getTime(); String nowDay = dayFormat.format(nowDate).replace(":", ".. 2023. 8. 7.
[Linux] tomcat shutdown.sh중 오류 서버 shutdow.sh진행하면 protocol이 제대로 종료되지 않는 상황을 확인 server.xml에서 연결된 Connector가 두개가 존재하고 있다는 사실을 파악 후 웹서버를 사용하고 있지 않기에 AJP를 주석으로 처리했다. 위의 작업을 진행하면서 확인한 사항들이다. 1. tomcat에서 확인된 문구 ❓ multi service on tomcat protocol handler initialization failed tomcat 원인은 AJP Connector 취약점 문제로 AJP Connector 속성의 secretRequired 설정이 필요해졌다. 해결 방안 1 : server.xml 에서 secretRequired를 false로 변경. https://tomcat.apache.org/tomcat.. 2023. 8. 6.
4월이 끝나가다니... 3월에 회사 이직 후 모든 정리를 노션에 하고 있어서 그런지... 블로그 정리를 안하게 되는 이 나태함... 다시 정신차리자... 2023. 4. 23.
[Gradle] Native subprocess control requires open access to the JDK IO subsystem Rest Docs를 사용하면서 나타난 에러이다. https://github.com/jruby/jruby/issues/6721 WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem · Issue #6721 · jruby/jruby Environment Information Provide at least: JRuby version - 9.2.18.0 Operating system and platform - Linux Boris-Desktop 5.12.10-arch1-1 #1 SMP PREEMPT Thu, 10 Jun 2021 16:34:50 +0000 x86_64 GNU/Linu... github.com.. 2023. 1. 23.