hyper-v에서 디스크를 증설하려는 서버를 선택, 우클릭하여 설정에 들어갑니다. 설정에서 하드 드라이브 선택 -> 편집을 클릭합니다. 확장 선택 -> 다음 원하는 디스크 크기를 지정하고 마칩니다. 저는 기존 100G에서 200G를 추가로 증설할 예정이라 300G를 입력하였습니다. 디스크 관리에 들어가시면, 200G가 추가된 것을 보실 수 있고요. 아직 할당은 되지 않은 상태로 할당하는 작업을 진행해보겠습니다. 기존 디스크에서 우클릭하여 볼륨 확장을 선택합니다. 다음 확장할 크기를 지정합니다. 특별히 건드실 건 없고 그냥 다음으로 넘어가시면 됩니다. 마침 디스크 300G로 확장이 되었습니다!!!
사전 작업 - java 설치 yum install java-1.8.0 -y rundeck rpm 파일 다운로드 rpm -Uvh https://repo.rundeck.org/latest.rpm rundeck 설치 yum install rundeck -y 설정파일 수정 vi /etc/rundeck/framework.properties framework.server.name = [서버 IP] framework.server.hostname = [서버 IP] framework.server.port = 4440 framework.server.url = http://[서버 IP]:4440 vi /etc/rundeck/rundeck-config.properties grails.serverURL=http://[서버 IP..
이번 포스팅에서는 curl 을 이용하여 구간별 응답 시간을 확인하는 방법에 대해 남기고자 한다. curl_format.txt DNS lookup time (s) : %{time_namelookup}s\n Connection establish time (s) : %{time_connect}s\n SSL connect time (s) : %{time_appconnect}s\n Pre-transfer time (s) : %{time_pretransfer}s\n Redirect time (s) : %{time_redirect}s\n Start-transfer time (s) : %{time_starttransfer}s\n --------------------------------------------------..
1단계. samba 설치 및 설치 확인 yum으로 설치를 진행합니다. yum install samba -y 설치 확인 [root@linux-1 ~]# rpm -qa | grep samba samba-common-4.10.4-11.el7_8.noarch samba-client-libs-4.10.4-11.el7_8.x86_64 samba-libs-4.10.4-11.el7_8.x86_64 samba-4.10.4-11.el7_8.x86_64 samba-common-libs-4.10.4-11.el7_8.x86_64 samba-common-tools-4.10.4-11.el7_8.x86_64 2단계. samba 서비스 구동 및 재부팅 시 자동 구동되도록 설정 systemctl start smb systemctl en..
데이터 전송 속도를 보다 쉽게 다른 단위로 변환하기 위해 계산기와 예제 하나를 기록. 예제. 1 Gbps를 MB/s로 변환하면? Gbps : Gigabit per second(초당 기가비트) MB : Megabype per second(초당 메가바이트) 1바이트 = 8비트 1바이트 = 0.125 바이트 1메가바이트 = 1000 * 1000 바이트 1기가비트 = 1000 * 1000 * 1000 비트 1기가비트 = 125 메가바이트 1Gb/s = 125 MB/s Gbps to MB/s Gigabit per second Megabyte per second 1 Gbps 125 MB/s 2 Gbps 250 MB/s 3 Gbps 375 MB/s 4 Gbps 500 MB/s 5 Gbps 625 MB/s 6 Gbps..
grafana admin 계정 패스워드를 분실할 경우, CLI 환경에서 아래 명령어를 실행하여 초기화를 할수 있다. grafana-cli admin reset-admin-password [new password]
1. 설정 파일 생성 /etc/sysconfig/network-scripts/ifcfg-lo:0 DEVICE=lo:0 BOOTPROTO=static IPADDR=[IP] NETMASK=255.255.255.255 ONBOOT=yes NAME=loopback 2. 커널 파라미터 수정 /etc/sysctl.conf net.ipv4.conf.default.arp_ignore = 1 net.ipv4.conf.default.arp_announce = 2 3. 적용 ifup ifcfg-lo:0
Apache MPM - prefork 자식 프로세스당 하나의 스레드를 사용하는 방식. 프로세스 간 메모리를 공유하지 않아 안정적임. prefork 설정 내용 StartServers 50 MinSpareServers 30 MaxSpareServers 40 ServerLimit 100 MaxClients 100 MaxRequestsPerChild 50 StartServers - 아파치가 실행될 때 생성하는 자식 프로세스 수 MinSpareServers - 아파치가 유지하려는 최소 프로세스 수 MaxSpareServers - 아파치가 유지하려는 최대 프로세스 수 ServerLimit - 아파치가 생성 가능한 최대 프로세스 수 MaxClients - 동시에 접속할 수 있는 최대 client 수 MaxReques..
증상 확인 ▶ PXE로 CentOS7 설치하는 과정에서 에러 발생 "your bios-based system needs a special partition to boot from a gpt disk label", To continue, please create a 1Mib biosboot type partition" ▶ 1Mib 크기의 biosboot 파티션을 생성하라는 내용이다 조치 ▶ kickstart 설정 파일에 아래 내용 추가 -> 정상 설치 확인 part biosboot --fstype=biosboot --size=1
1단계. 패키지 설치 epel repository 설치 yum install -y epel-release 필요 패키지 설치 yum install -y yum-utils device-mapper-persistent-data lvm2 ansible git python-devel python-pip python-docker-py vim-enhanced 2단계. docker 설치 및 구동 repository 등록 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.rep docker 설치 yum install docker-ce -y docker 구동 및 부팅시 자동 구동 설정 systemctl start docker s..
▶ GET #!/bin/usr/python import http.client conn = http.client.HTTPConnection("httpbin.org") conn.request("GET", "/get") res = conn.getresponse() print(res.status, res.reason) conn.close() ▶ PUT #!/usr/bin/python import http.client conn = http.client.HTTPConnection("httpbin.org") datas = {'data1': 1, 'data2': 2, 'data3': 3} headers = {"Content-type":"application/json"} conn.request("POST", "/post..
#!/usr/bin/python import datetime raw_dates = datetime.datetime.now() print(raw_dates) dates = raw_dates.strftime("%Y%m%d") print(dates) ▶ 출력 2020-10-28 17:14:57.317614 20201028 ▶ 기준 시간 : 2020-10-28 17:19:30.360247 기호 의미 출력 %Y 년도 네자리 2020 %y 년도 두자리 20 %B 월 영문 October %b 월 영문 간략히 Oct %M 분 두자리 19 %m 월 두자리 10 %D 월/일/년 10/28/20 %d 일 두자리 28 %p 오후 영문 PM %A 요일 영문 Wednsday %a 요일 영문 간력히 wed %w 요일 숫자표시(일요..