Server

글 작성일은 2022년 7월 22일 입니다. 시간이 갈 수록 변화하기 때문에 작성 일자를 적어 둡니다. IIS Crypto로 Windows Server의 TLS 버전 제한 및 cipher suites 제한시 MSSQL 연결에 문제가 생길 수 있습니다. (구버전 SQL 서버) System.Data.SqlClient.SqlException (0x80131904): 서버에 연결했지만 로그인하는 동안 오류가 발생했습니다. (provider: SSL Provider, error: 0 - 현재 연결은 원격 호스트에 의해 강제로 끊겼습니다.) ---> System.ComponentModel.Win32Exception (0x80004005): 현재 연결은 원격 호스트에 의해 강제로 끊겼습니다 --- 내부 예외 스택 추..
· Server/Linux
1. apt-add-repository 가 없는 경우 설치 sudo apt -y install software-properties-common dirmngr apt-transport-https lsb-release ca-certificates 2. apt repository 등록 ( source list ) 출처 : Linux Software Repository for Microsoft Products | Microsoft Docs curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc sudo apt-add-repository https://packages.micro..
· Server/Linux
# 최신 버전은 grafana 와 연동시 문제가 될 수 있습니다. grafana 연동에 필요한 경우 5.0 혹은 5.4 버전 이용이 필요합니다. ( 2022-03-30 기준 ) # Server base : ubuntu 20.04 with docker ver : 6.0 출처 : 5 Installation from containers (zabbix.com) docker network create --subnet 172.20.0.0/16 --ip-range 172.20.240.0/20 zabbix-net docker run --name mysql-server -t \ -e MYSQL_DATABASE="zabbix" \ -e MYSQL_USER="user" \ -e MYSQL_PASSWORD="password"..
1. PowerShell Script 및 Windows Server Backup 을 이용해 서버 전체 백업 진행 2. 6개월 이전 파일들 삭제 * backup.bat powershell.exe -nologo -executionpolicy bypass -noprofile -file "D:\_WindowsBackup\backup.ps1" >> D:\_WindowsBackup\Log\%computername%_%date%.txt exit * backup.ps1 $policy=New-WBPolicy $date = get-date -format "yyyy-MM-dd" $ToDeleteLimit = (Get-Date).AddMonths(-6) $basePath = "\\192.168.0.13\Backup\MY_SE..
사내에서 Windows Server를 몇대 운용 중입니다. 가상 서버 4대, WAS, DB, WEB, AD, AD2, 격리 서버 등등.. 업데이트 할때 마다 귀찮아서 여기저기 찾아서 PowerShell 짜집기 했습니다. 사용 모듈 : PSWindowsUpdate How to Use PowerShell to Manage Windows Updates (parallels.com) Windows. Powershell 모듈을 이용하여 Windows Update 하기 (PSWindowsUpdate) :: 페푸리의 Office Server 이야기 (limcm.kr) PSWindowsUpdate 파워쉘 모듈 | Windows 업데이트 관리 윈도우 OS 허브 (woshub.com) Manage Windows Update..
· Server/Linux
작업 상태 1. ubuntu 20.04 에 설치 스크립트 Ajenti를 설치했다가 모듈 로드 문제로 삭제하고 Cockpit 으로 변경 (ajenti 설치 - How To Install Ajenti Control Panel on Ubuntu 20.04 | ComputingForGeeks ) (ajenti 삭제 - Uninstall Ajenti · GitHub) 2. nginx 설치 및 certbot (let's encrpty) 설치 3. certbot 으로 인증서 발급 시 AttributeError: 'X509' object has no attribute '_x509' 오류 발생 위의 작업에서 1번 작업에서 pip pyOpenSSL 설치 중에 구버전으로 설치되어 복구 sudo pip install -U p..
달빛에취하다
'Server' 카테고리의 글 목록 (4 Page)