docker 1/5
·
System Engineering/Kubernetes
docker compose 여러 컨테이너 조작 docker swarm 여러 머신에서 컨테이너들 실행할 수 있도록 (docker swarm. 이거보다는 쿠버네티스 많이 씀.) 컨테이너 가상화 : [app + 라이브러리/프레임워크] 라이브러리 vs 프레임워크 Container : h/w - os - container engine - app/lib 이렇게 올라가 있는데 그럼 Container Engine이 뭐임? 같은 커널 위에서 여러 instance를 관리하는 넘. Container engines can run multiple, isolated instances, known as containers, on the same operating system kernel. Containers perform virt..
netshoot... 컨테이너로 troubleshooting 도와주는 툴
·
System Engineering
https://github.com/nicolaka/netshoot GitHub - nicolaka/netshoot: a Docker + Kubernetes network trouble-shooting swiss-army container a Docker + Kubernetes network trouble-shooting swiss-army container - GitHub - nicolaka/netshoot: a Docker + Kubernetes network trouble-shooting swiss-army container github.com
su : Authentication Failure
·
System Engineering/리눅스, 라즈베리파이
https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=cthu3801&logNo=220710165047 su : Authentication failure Linux로 부팅해서 root 권한을 얻기 위해 su를 쳤는데,, "su : Authentication failure" 에러가 난다. 이... blog.naver.com Azure Cli에서 인증 에러가 떠서 내가 비밀번호를 잘못치고있는 줄 알았는데, 그게 아니라 root passwd를 정해주지 않아서 나온 에러였다.
Kernel Update을 해보자 (CentOS7)
·
System Engineering/리눅스, 라즈베리파이
CentOS7의 Kernel을 업데이트 해보자. root 계정으로 변경 cd /usr/src/kernels/linux-3.16/ 커널 소스 받은 뒤 압축 해제 (wget "http://xxx.tar.gz") tar -xvf linux-3.17.4.tar.xz 으로 압축 해제 make menuconfig https://www.cyberciti.biz/faq/linux-install-ncurses-library-headers-on-debian-ubuntu-centos-fedora/ 여기서 ncurses가 없다구 에러가 뜬다. 설치해주면 됨. sudo yum install ncurses-devel make menuconfig를 하면 여기서 본인 시스템에 최적화된 설정을 해줄 수 있음. 이후에 make 커널 컴..
linux sed command (stream editor)
·
System Engineering/리눅스, 라즈베리파이
https://reakwon.tistory.com/164
LINUX locate, find + exec 옵션과 file 명령어
·
System Engineering/리눅스, 라즈베리파이
검색 locate - 명령어 형식 : locate 파일명 - 목록 데이터베이스를 주기적으로 갱신해줘야 함 - 이름을 기반으로 검색 locate 사용을 위한 데이터베이스 목록 패키지 다운로드 # sudo yum -y install mlocate locate 데이터베이스 업데이트 # updatedb locate 명령어 사용 # locate fileA 결과) /root/fileA /root/hard_fileA /root/soft_fileA 최상위 디렉토리 하단에 위치한 이름에 file 이라는 단어가 들어가는 모든 파일 중 30k 이상 50k 이하 파일을 검색 # find / -name "*file*" -size +30k -size -50k 최상위 디렉토리 하단에 위치한 이름에 file 이라는 단어가 들어가는 ..