본문 바로가기 메뉴 바로가기

ithappens

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

ithappens

검색하기 폼
  • This is all I can show you (65)
    • certificate (11)
      • ccna (1)
      • ccnp (4)
      • cka (6)
    • self training (41)
      • nw (11)
      • win (3)
      • lin (23)
      • fw (0)
      • sql (3)
      • notion (1)
    • referance (2)
    • just notepad (9) N
  • 방명록

centos 7 history time 히스토리 날짜/시간 표시

echo "HISTTIMEFORMAT=\"[%Y-%m-%d_%H:%M:%S]  \"" >> /etc/profile로그아웃 및 로그인 후 확인

self training/lin 2025. 3. 26. 09:29
centos 7 에서 mysql 8.0 패스워드 분실 시 root 패스워드 초기화

systemctl stop mysqld systemctl set-environment MYSQLD_OPTS="--skip-grant-tables" systemctl start mysqld mysql -u root -p UPDATE mysql.user SET authentication_string = null where user='root'; FLUSH PRIVILEGES; quit mysql -u root -p (no password) alter user 'root'@'localhost' identified with caching_sha2_password by '변경할비밀번호'; FLUSH PRIVILEGES; quit systemctl stop mysqld systemctl unset-enviro..

self training/lin 2024. 11. 14. 09:56
Linux Login Incorrect 반복 로그인 불가 증상 발생 시

OS 재부팅 후 키보드 'e' 키를 입력하여 편집 모드로 진입 'LANG=en_US.UTF-8' 문자열 뒤에 'init=/bin/sh' 행을 추가 후 Ctrl+X 키를 입력하여 쉘로 진입 mount -o remount,rw / vi /etc/pam.d/login 로 auth required /lib/security/pam_securetty.so 라는 문장이 있다면 auth required /usr/lib64/security/pam_securetty.so 로 수정하고 저장 touch /.autorelabel exec /sbin/init

self training/lin 2023. 12. 27. 13:05
이전 1 다음
이전 다음
TAG
  • cisco
  • 네트워크
  • CentOS7
  • chap
  • 로드벨런서
  • FNAT
  • VLAN
  • CentOS
  • Kubernetes
  • Linux
more
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바