공부하면서/기타 9

[Linux] cannot create temp file for here-document: Read-only file system

[ 문제 ] 볼륨이 잠김 cannot create temp file for here-document: Read-only file system [root@test ~]# l -bash: cannot create temp file for here-document: Read-only file system -bash: cannot create temp file for here-document: Read-only file system [root@test ~]# ll /tmp ls: reading directory /tmp: Input/output error total 0 [ 처리 ] 무엇이 Read-only로 전환이 되었는지 확인 한다. [root@test ~]# df -h Filesystem Size Used ..

[react] * Module not found: Error: Can't resolve

다양한 상황에서 발생하는것 같은데... 내가 겪은 내용만 적었다. 윈도우 환경에서 개발하면 대/소문자를 무시하지만 리눅스 환경에서는 대/소문자 인식을 한다... 그래서 다음과 같은 오류가 발생했었다 # ERROR in ~에서 특정 모듈을 찾지 못해서 그런것 # 일단 경험상 대소문자 문제 (Auth/reducer를 찾아야 하는데 실제로는 auth/reducer였음) ERROR in ./app/reducer.js Module not found: Error: Can't resolve './containers/common/Auth/reducer' in '/절대경로/app' @ ./app/reducer.js 14:0-59 24:10-21 @ ./app/configureStore.js @ ./app/app.js @..

[Maven] Error injecting: org.apache.maven.wagon.providers.http.HttpWagon

[상황] Jenkins 사용중 jdk11 소스 maven 3.6.3 [발생시점] 내부 서비스 오류로 인하여 아무 죄없는 Jenkins 컨테이너 재시작 java 잡 실행시 다음과 같은 오류가 발생했다 [INFO] Scanning for projects... [WARNING] Error injecting: org.apache.maven.wagon.providers.http.HttpWagon java.lang.ExceptionInInitializerError 잘쓰던게 왜? [삽질] maven 버전을 변경해봤지만 동일 jdk 버전을 변경해봤는데

[Linux] Linux, window 개행문자

상황 리눅스 환경에서 azure cli 사용중에 발견 한것 azure가 ms에서 제작해서 그런건지 windows타입의 개행문자가 들어 있었다 변수의 값은 이렇게 들어 있다 echo $eventhubNameSpaceResource /subscriptions/0000/resourceGroups/sample/providers/Microsoft.EventHub/namespaces/sample-ns2 첫시도 eventhubPrivateLink=\`az network private-endpoint create -g $azRGName \ -n $azPEConnectionName \ --vnet-name $azVnetName \ --subnet $azSubnetName \ --private-connection-reso..

[Maven] Failed to clean project: Failed to delete

발생시점 mvn clean 시 발생 한 오류 상황 target 폴더를 마운트 시켜놓은 상태에서 mvn clean시 target 폴더를 삭제 하려고 하다가 삭제 불가 오류내용 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean (default-clean) on project {프로젝트}: Failed to clean project: Failed to delete {폴더} 처리방법 mvn clean을 위해 정리 하는 파일, 폴더에 대하여 엑세스 하는 프로세스가 없는지 확인, 있으면 정리 한뒤 mvn clean

SSH 자동인증

자동화를 하다보면 여러 서버에 접근할 일이 많아지는데 그때 주로 사용한다 Ssh는 요즘 버전 윈도우나 여러 시스템, 어플리케이션에서 많이 사용하니 많이 활용하기 좋다 #클라이언트에서 키 생성 ssh-keygen #클라이언트 퍼블릭 키를 복사 cat ~/.ssh/id_rsa.pub #접속할 서버에 접근 ssh {목적지 서버} #접속할 서버에 클라이언트 퍼블릭 키 등록 vi ~/.ssh/authorized_keys #################### or #클라이언트에서 키 생성 ssh-keygen #클라이언트에서 ssh copy-id 명령어를 사용 ssh copy-id {목적지 서버}