본문 바로가기
반응형

ubuntu15

[182] root@localhost:~# 프론트 IP 작성하여 혼동 방지 1. 파일 설정- vi /root/.bashrc # .bashrc# User specific aliases and functionsalias rm='rm -i'alias cp='cp -i'alias mv='mv -i'# Source global definitionsif [ -f /etc/bashrc ]; then . /etc/bashrcfiexport PS1='\[\e[1;31m\][182]\[\e[0m\] \u@\h:\W\$ ' 2. 적용- source /root/.bashrc 3. 확인 프론트 앞 숫자를 넣음으로 서버 IP 혼동 방지 가능 2025. 12. 22.
RAID 경고 에러 : Predictive Failure 📌상황 : RAID 에러 문구 발생 : Predictive Failure 🔽redictive Failure 뜻 (RAID / 디스크)Predictive Failure = “곧 고장 날 가능성이 매우 높다”컨트롤러가 디스크 S.M.A.R.T / 내부 오류 카운터-> 이 디스크는 아직 살아있지만, 조만간 죽을 확률이 높다 판단 상태WHY? (주요 원인)컨트롤러가 아래 중 하나 이상을 감지했을 때 발생:❌ Reallocated Sector 증가❌ Read / Write Error 다수 발생❌ Media Error Count 임계치 초과❌ 타임아웃, 리트라이 과다❌ 펌웨어가 내부적으로 불량 판정 OS에서는 멀쩡해 보여도 컨트롤러 레벨에서는 이미 위험 판정 ★포인트상태의미OK정상Predictive Fail.. 2025. 12. 17.
Docker 도커 기본 명령어 ✅기본 명령어 익히기 🔹 실행 중인 컨테이너 확인 docker ps 🔹 모든 컨테이너 확인 (중지 포함) docker ps -a 🔹 이미지 목록 확인 docker images 🔹 컨테이너 삭제 docker rm [컨테이너ID 또는 이름] 🔹 이미지 삭제 docker rmi [이미지ID 또는 이름]Usage: docker [OPTIONS] COMMANDA self-sufficient runtime for containersCommon Commands: run Create and run a new container from an image exec Execute a command in a running container ps List cont.. 2025. 8. 6.
Ubuntu 24.04 에 컨테이너 Docker 설치하기 Ubuntu 24.04에 docker 설치 해보자. 1. 패키지 업데이트 sudo apt updatesudo apt upgrade -y2. 필수 패키지 설치 📌Docker 설치를 위해 몇 가지 패키지를 먼저 설치sudo apt install -y ca-certificates curl gnupg lsb-release3. Docker GPG 키 추가sudo install -m 0755 -d /etc/apt/keyringscurl -fsSL https://download.docker.com/linux/ubuntu/gpg | \sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpgsudo chmod a+r /etc/apt/keyrings/docker.gpg4. Docker.. 2025. 8. 4.
Ubuntu 우분투 OTP 설정 (Google OTP) 서버 보안을 위해 Google OTP를 설정하자 1. 설치sudo apt updatesudo apt install libpam-google-authenticator -y 2. OTP 생성google-authenticator 우분투 OTP 설치 시 나오는 Google OTP 옵션실행하면 나오는 옵션: Do you want authentication tokens to be time-based (y/n)? → y (시간 기반 OTP) Secret key / QR코드 / Backup codes 제공됨 → QR코드를 Google Authenticator 앱으로 스캔하세요. Update ~/.google_authenticator (y/n)? → y (계정에 저장) Disallow multiple uses of th.. 2025. 7. 29.
반응형

메인으로가기


    

Big Ju

IT Engineer


항상 답을 위해 노력하는

엔지니어입니다.

 

 

    


 UP!