본문 바로가기

728x90

리눅스

리눅스 소스 컴파일 중 "c++: fatal error: Killed signal terminated program cc1plus" 에러 리눅스 소스 컴파일 중 "c++: fatal error: Killed signal terminated program cc1plus" 에러 에러 메세지 c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[2]: *** [sql/CMakeFiles/sql_gis.dir/build.make:580: sql/CMakeFiles/sql_gis.dir/gis/union_functor.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 콘솔 에러 메세지 오류는 컴파일 과정에서 메모리 부족으로 인해 프로그램이 강제 종료되었음을 나타냅니다. 이 오류를 해결하기 위.. 더보기
소스 컴파일 중 "reason: No space left on device" 오류 소스 컴파일 중 "reason: No space left on device" 오류 에러 메세지 /usr/bin/ar: unable to copy file 'libsql_dd.a'; reason: No space left on device make[2]: *** [sql/CMakeFiles/sql_dd.dir/build.make:2610: sql/libsql_dd.a] Error 1 make[2]: *** Deleting file 'sql/libsql_dd.a' make[1]: *** [CMakeFiles/Makefile2:29026: sql/CMakeFiles/sql_dd.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 "No space left on d.. 더보기
우분투에서 MySQL 8.0을 소스 코드를 사용하여 컴파일하고 설치하는 방법 우분투에서 MySQL 8.0을 소스 코드를 사용하여 컴파일하고 설치하는 방법 테스트 환경 $ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.1 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.1 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/leg.. 더보기
우분투에서 스냅을 비활성화하고 삭제하는 방법(Remove and Disable Snaps) 우분투에서 스냅을 비활성화하고 삭제하는 방법(Remove and Disable Snaps) 참고: Snap은 Ubuntu의 일부 패키지 관리 시스템으로 시스템 리소스를 사용할 수 있으며 필요하지 않은 경우 비활성화 또는 삭제할 수 있습니다. 그러나 Snap를 완전히 비활성화하면 몇 가지 Ubuntu 기능이 영향을 받을 수 있으므로 사용 전에 신중히 고려해야 합니다. 테스트 환경 $ lsb_release -d Description: Ubuntu 22.04.2 LTS Snapd 비활성화 스냅(snap) 서비스 비활성화 sudo systemctl disable snapd.service $ systemctl disable snapd.service Removed /etc/systemd/system/multi-us.. 더보기
[kubernetes] kubectl config 명령 - 2 쿠버네티스 kubectl config 설정 쿠버네티스 컨트롤러 서버(linux) kubectl config view $ kubectl config view apiVersion: v1 clusters: - cluster: certificate-authority-data: DATA+OMITTED server: https://127.0.0.1:6443 name: cluster.local contexts: - context: cluster: cluster.local user: kubernetes-admin name: [email protected] current-context: [email protected] kind: Config preferences: {} us.. 더보기
[kubernetes] kubectl get 명령 kubectl get 명령 kubectl get field selector kubectl get pods -o wide --field-selector status.phase=Running $ kubectl get pods -o wide --field-selector status.phase=Running NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES myapp-rs-dynamic-4gchk 1/1 Running 0 23m 10.233.118.66 kube-node3 myapp-rs-dynamic-7wqq4 1/1 Running 0 23m 10.233.73.68 kube-node1 myapp-rs-dynamic-bgmf5 1/1 .. 더보기
우분투에서 rc-local(rc.local) 서비스를 활성화하는 방법 우분투에서 rc-local(rc.local) 서비스를 활성화하는 방법 Ubuntu 22.04는 rc.local이 기본적으로 비활성화되어 있으며, systemd를 사용하는 서비스와 유닛 파일로 대체되었습니다. 테스트 환경 $ lsb_release -d Description:Ubuntu 22.04.2 LTS rc-local 서비스 활성화 1. rc-local 서비스 상태 확인 systemctl status rc-local.service $ systemctl status rc-local.service ○ rc-local.service - /etc/rc.local Compatibility Loaded: loaded (/lib/systemd/system/rc-local.service; static) Drop-In.. 더보기
[리눅스] 바이너리(Generic Binaries)를 사용하여 Ubuntu에 MySQL 설치 바이너리(Generic Binaries)를 사용하여 Ubuntu에 MySQL 설치 요구사항 $ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04 (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/term.. 더보기

728x90