본문 바로가기

OS75

centos / yum yum error , rpm error 해결방법 [root@localhost opt]# rpm -qa *-release rpmdb: unable to join the environment error: db3 error(11) from dbenv->open: Resource temporarily unavailable error: cannot open Packages index using db3 - Resource temporarily unavailable (11) error: cannot open Packages database in /var/lib/rpm rpmdb: unable to join the environment error: db3 error(11) from dbenv->open: Resourc.. 2020. 4. 24.
linux / rdate / 시간동기화 시간동기화 rdate [root@ns ~]# yum install rdate [root@ns ~]# cd /etc/cron.daily/ [root@ns cron.daily]# vi rdate.sh #!/bin/sh rdate -s time.bora.net [root@ns cron.daily]# chmod +x rdate.sh [root@ns cron.daily]# cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # For details see man 4 crontabs # Example of job definition: # .---------------- minute (0 - 59) # | .---.. 2020. 4. 24.
windows / port / PID / netstat windows 사용중인 port와 PID 확인 C:\Users\Administrator>netstat -ano 활성 연결 프로토콜 로컬 주소 외부 주소 상태 PID TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4012 TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 784 TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4 TCP 0.0.0.0:990 0.0.0.0:0 LISTENING 3508 TCP 0.0.0.0:1978 0.0.0.0:0 LISTENING 3516 TCP 0.0.0.0:6160 0.0.0.0:0 LISTENING 1384 TCP 0.0.0.0:8009 0.0.0.0:0 LISTENING 4012 TCP 0.0.0.0:17500 0.0.. 2020. 4. 24.
windows / RAID Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\KJH>diskpart Microsoft DiskPart 버전 6.1.7601 Copyright (C) 1999-2008 Microsoft Corporation. 컴퓨터: KJH-PC DISKPART> list disk 디스크 ### 상태 크기 사용 가능 Dyn Gpt ---------- ------------- ------- ------------ --- --- 디스크 0 온라인 119 GB 0 B 디스크 1 온라인 931 GB 101 MB 디스크 2 미디어 없음 0 B 0 B 디스크 3 미디어 없음 0 B 0.. 2020. 4. 22.
반응형