Neeson

  • 홈
  • 태그
  • 방명록

Python 3

Python3.10 버전 이상 설치

yum install openssl11-devel bzip2-devel libffi-devel wget https://www.python.org/ftp/python/3.1x/Python-3.1x.tgz tar -xzf Python-3.1x.tgz cd Python-3.1x ./configure --enable-optimizations make altinstall ※ 3.10 이상 버전 설치시 openssl11-devel로 설치해야 pip install에서 openssl 오류가 발생하지 않음

Python 2023.07.19

Python pip 사용하여 private repository 구성

Private repository 구성 Online 설치 pip install lib명==버전 Offline 설치 pip download lib명==버전 -d 경로 원하는 경로에 whl 파일 다운로드 pip download 명령어 옵션 -c file : 주어진 제약 조건 파일을 사용하여 버전 제약 -r file : 주어진 요구 사항 파일에서 설치 --no-deps 종속 패키치 설치 하지 않음 -- pip install 경로/ *whl - 해당 경로의 모든 whl 파일 설치 * 해당 경로 모든 파일 설치 (tar, gz 상관없음)

Python 2023.03.13

Python- 로그 수집 및 카피

import os import datetime as dt import boto3 import socket x = dt.datetime.now() date = x.strftime("%Y%m%d") date2 = x.strftime("%Y-%m-%d") bucket = 버킷주소 dir_path = "로그경로" s3 = boto3.client('s3') def log(in_path): for (dir_path, dir, files) in os.walk(in_path): for file in files: if date in file: yield os.path.join(dir_path, file) if date2 in file: yield os.path.join(dir_path, file) results = {}..

Python 2023.02.24
이전
1
다음
더보기
프로필사진

Neeson

devops 를 꿈꾸는 cloud engineer 실무 중 필요했던 것 정리

  • 분류 전체보기 (56)
    • CICD (2)
      • Jenkins (2)
      • Maven (0)
      • Docker (0)
    • AWS (28)
      • ISMS (6)
    • Shell (3)
    • Python (7)
    • Linux (9)
      • ISMS (3)
    • 기타 솔루션 (3)
    • ELK (3)

Tag

docker, sagemaker, RDS, Lambda, Linux, CloudTrail, Logstash, Python, ECR, OpenSearch, isms, Jenkins, aws, eventbridge, LF-tags, log, jib, boto3, OpenSSL, filebeat,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • Cloud 운영 관련 문의 환영

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/12   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바