본문 바로가기

반응형

OS

[Windows]윈도우 11 코파일럿(Copilot) 안될 때 해결방법 윈도우11 23H2 업데이트를 하였는데도 코파일럿(Copilot)이 보이지 않을 때 윈도우 업데이트 완료 후 재부팅 하여도 코파일럿(Copilot)이 보이지 않을때 Wi-Fi 사용 안 함 후 재부팅 코파일럿(Copilot) 실행 단축키 Win + C 더보기
[Linux]ssh 접속 포트 여러개 설정 ssh 포트 2개 이상 설정하는 방법 1. 기본 포트 변경방법 vi /etc/ssh/sshd_config port 10022 추가 vi /etc/ssh/sshd_config port 10022 기본 포트 변경 후 sshd 서비스 재시작 systemctl restart sshd putty로 10022 포트 사용하여 접속 확인 2. 2번째 포트 설정 vi /etc/ssh/sshd_config port 20022 추가 vi /etc/ssh/sshd_config port 10022 port 20022 port 10022 아래 port 20022 추가 후 sshd 서비스 재시작 systemctl restart sshd 10022, 20022 두개의 포트로 접속 확인 끝. 더보기
[Solaris]솔라리스 종료/시작 OS 종료 root@test # sync root@test # sync root@test # sync root@test # shutdown -y -i5 -g0 Shutdown started. 2024년 1월 17일 수요일 오후 07시 21분 10초 KST Changing to init state 5 - please wait Broadcast Message from root (console) on nm1 수 1월 17 19:21:10... THE SYSTEM nm1 IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged updating /platform/sun4v/boot_archive 콘솔 나가기 #. (# 누르고 바로 .) S.. 더보기
[Solaris]ILOM 명령어 sun ILOM (Integrated Lights Out Manager) 시리얼 케이블 연결 또는 할당된 관리 IP로 접속 ILOM 기본 계정(default password) root / changeme ILOM IP 확인 -> show /SP/network -> show /SP/network /SP/network Targets: Properties: commitpending = (Cannot show property) dhcp_server_ip = xx.x.xx.x ipaddress = xx.x.xx.x ipdiscovery = dhcp ipgateway = xx.x.xx.x ipnetmask = 255.255.252.0 macaddress = 00:14:4F:3F:8C:AF pendingipaddre.. 더보기
[리눅스/백업]ReaR 백업 설정하기 ReaR로 리눅스 OS 백업, 복구하기 ReaR로 OS 백업을 받기 위해서 nfs 서버에 백업을 받는다 가정하고 nfs를 설치해 준다. NFS 서버 설치 [root@centos79 /]# systemctl status nfs-server ● nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled; vendor preset: disabled) Active: inactive (dead) [root@centos79 /]# cat /etc/exports /backup *(rw,sync,no_root_squash) [root@centos79 /]# systemctl .. 더보기
[리눅스]iptables 설정 변경하기(끼워넣기) iptables 정책 확인 iptables 허용 정책 추가 iptables -I INPUT -p tcp -s 0.0.0.0/0 --dport 22021 -j ACCEPT iptables -I INPUT -p tcp -s 0.0.0.0/0 --dport 22022 -j ACCEPT iptables -I INPUT -p tcp -s 0.0.0.0/0 --dport 22023 -j ACCEPT iptables -I INPUT -p tcp -s 0.0.0.0/0 --dport 22024 -j ACCEPT iptables -I INPUT -p tcp -s 0.0.0.0/0 --dport 22025 -j ACCEPT iptables -I INPUT -p tcp -s 0.0.0.0/0 --dport 22026 -j .. 더보기
[리눅스]hostname 변경하기 리눅스 hostname 변경하는 방법 호스트네임 확인 [root@localhost ~]# hostname localhost.localdomain [root@localhost ~]# hostnamectl Static hostname: localhost.localdomain Icon name: computer-vm Chassis: vm Machine ID: 4dc4fbdf4c0e4641a24e79259eba8212 Boot ID: bf4cc6196d2f4215a425a8a1e0d1d014 Virtualization: microsoft Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-1.. 더보기
[리눅스] history에 시간 설정하기 history 명령어 실행 시 날짜와 시간 표시하는 방법 vi /etc/profile # 맨 아래 두 줄 추가 HISTTIMEFORMAT="[%F %T] " export HISTTIMEFORMAT # 수정된 프로파일 적용 source /etc/profile # 시간 표시 확인 history 1 [2022-06-30 08:36:17] history 2 [2022-06-30 08:36:50] vi /etc/profile 3 [2022-06-30 08:37:44] source /etc/profile 4 [2022-06-30 08:38:15] history 참고 HISTTIMEFORMAT : history 명령어의 시간 값에대한 환경변수 이름 %F : 날짜(년-월-일) %T : 시간(시:분:초) 더보기

반응형