반응형

전체 글 20

lsyncd + unison 양방향 동기화 / NFS 대체

구성정보 HOST Server#1 Server#2 IP 172.20.0.29 172.20.0.30 SSH Port 7722 7722 Source /imgfile /imgfile Destnation root@172.20.0.30//imgfile root@172.20.0.29//imgfile Permision root root ## 공통 ## 어플리케이션 설치 yum install -y lsyncd unison ## Server#1 ## root 권한으로 패스워드 없이 접속 가능하도록 셋팅 vi /etc/ssh/sshd_config PermitRoot no => PermitRoot yes AllowUsers root@172.20.0.30 root@192.168.100.0/24 ssh-keygen ssh-co..

SYSTEM/Software 2022.08.31

hpsmh - HP Smart Management Home Page on CentOS

HP DL XXX Gen9 And Gen8 CentOS 6, CentOS 7 ## Repo Add vi /etc/yum.repos.d/spp.repo # CentOS 7 ( 아래만 복사해서 사용 ) [spp] name=Service Pack for ProLiant baseurl=http://downloads.linux.hpe.com/repo/spp/rhel/7/x86_64/Current/ ## CentOS 7 enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-ServicePackforProLiant # CentOS 6 ( 아래만 복사해서 사용 ) [spp] name=Service Pack for ProLiant baseurl=http://downl..

SYSTEM/Software 2022.08.31

MacOS Monterey 12.4 (21F79) to VMWare 16.2.4 build-20089737 , vmware-tools 설치

## Vmware의 설치 방법은 별도 기재 하지 않습니다. ## 설치 정보 HOST OS : Windows 10 Pro Vmware : Vmware 16.2.4 Build-20089737 Guest OS : macOS Monterey 12.4 (21F79) CPU : Intel(R) Core(TM) i5-11600K VMware Tools : VMware-Tools-darwin-12.0.6-20104755 MAC OS Download ( monterey 12.4 21F79 ) 다운로드 링크 : https://drive.google.com/file/d/1w94nzGjK5tLSy-HXun3vCIdGppH2Tjsn/view?usp=sharing Install_macOS_Monterey_12.4_21F79.is..

SYSTEM/OS 2022.08.31

[INFO] CentOS Expire에 대한 고민

CentOS Linux? CentOS Stream? 기존 : Fedora Linux > RedHat Linux > CentOS Linux 변경 : Fredora Linux > CentOS Stream > RedHat Linux 많은 기업과 개인들이 사용했던 CentOS 서비스 만료에 따른 OS 변경을 본격적으로 고민해야 할 시기가 왔네요. 기존에 CentOS 7을 사용하고 있었는데 8로 업그레이드하지 않은 이유는 CentOS 8이 먼저 만료되었기 때문이었습니다. 하지만 CentOS 7 도 2024년 6월에 만료되니 어떤 OS로 변경할지 고민해야 할 때가 되었죠.... 개인적으로 후보는 3가지네요. 1. ubuntu 데비안 계열 많이 사용하지만 엔터프라이즈급 서버에서 사용하는 것이 바람직한가에 대한 답을 ..

ETC 2022.08.25

How to install Let's Encrypt SSL / 무료 인증서

테스트 환경 CentOS 8.4 VMware 1. Stand Alone 추후 업데이트 예정 2. webroot 추후 업데이트 예정 3. DNS 3가지 방법중 유일하게 wildcard 인증서 발급가능 Command : certbot certonly -d leeseonjae.n-e.kr -d *.leeseonjae.n-e.kr -d seonjae.n-e.kr -d *.seonjae.n-e.kr -d --manual --preferred-challenges dns [root@localhost test]# certbot certonly -d *.leeseonjae.n-e.kr -d *.seonjae.n-e.kr -d *.jaeseon.n-e.kr -d *.jaeseonlee.n-e.kr --manual --pr..

SYSTEM/Software 2022.08.25

How to install Netgate Security Gateway SG-2100

우연한 기회에 netgate SG-2100을 세팅하게 되었네요~ ^_______^;; 일반 공유기를 사용하고 있던 곳이고 내부에 서버와 NAS를 사용한다고 하시며 서비스 지연 현상 때문에 담당자님이 검색하여 직접 구매하였지만 세팅에 한번 실패하시고 도움 요청을 주셨습니다! 공유기와 방화벽의 중간(?) 정도 느낌입니다. 설정 환경 WAN Mode : Static IP : 58.x.x.187 Netmask : 255.255.255.248 Gateway : 58.x.x.185 LAN Mode : DHCP IP : 192.168.50.1 Netmask : 255.255.255.0 일부 대역 static으로 혼용 1. 처음 연결 장비 부팅 후 PC를 LAN1 ~ 4중 한 곳에 연결 연결된 PC의 네트워크 인터페이..

NETWORK/Firewall 2022.08.24

ilorest Command usage / how use ilorest / HPE

ilorest command로 할 수 있는 범위가 너무 광범위해서 점검 목적으로 자주쓰는 커맨드를 공유합니다. 1. ilorest serverinfo - ilorest serverinfo --all > 모든 정보 출력 - ilorest serverinfo -fw > 펌웨어정보출력 [root@ ~ ]# ilorest serverinfo -fw iLOrest : RESTful Interface Tool version 3.6.0.0 Copyright (c) 2014-2022 Hewlett Packard Enterprise Development LP -------------------------------------------------------------------------------------------..

SYSTEM/Command 2022.08.23

Linux Check SSD / Intel SSD check / Samsung SSD check

인텔 디스크 누적 Write GB smartctl -s on -i -A -f brief -f hex,id -l devstat -d cciss,2 /dev/sda | grep 0xf1 | awk '{ print $8/32}' -> ## 32 = 1,073,741,824 / 65535x512 남은 셀 사용률 smartctl -s on -i -A -f brief -f hex,id -l devstat -d cciss,2 /dev/sdb | grep 0xe2 | awk '{print 100-$8/1024}' 셀의 산화막 남은수명 / wear leveling count smartctl -s on -i -A -f brief -f hex,id -l devstat -d cciss,0 /dev/sda | grep 0xe9..

SYSTEM/Command 2022.08.23
반응형