본문 바로가기 메뉴 바로가기

Jacob Baek's home

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Jacob Baek's home

검색하기 폼
  • all (205)
    • private (3)
      • diary (0)
      • graduateschool (3)
      • important thing (0)
      • my project (0)
      • study (0)
    • Cloud (73)
      • Private Cloud (35)
      • Public Cloud (0)
      • Cloud Native (16)
      • Architecture&Tech (2)
      • Kubernetes (20)
    • Security (11)
      • programming (0)
      • Architecture&Tech (3)
      • System&Tools (4)
      • Cloud Native (3)
    • DevOps (27)
      • System&Tools (27)
      • Architecture&Tech (0)
    • Network (6)
      • System&Tools (5)
      • Architecture&Tech (1)
    • Storage (5)
      • Architecture&Tech (1)
      • System&Tools (4)
    • os (24)
      • Linux (22)
      • Windows (2)
      • Embedded&Mobile&Etcs (0)
    • programming (16)
      • c/c++ (1)
      • python (1)
      • Java (1)
      • kernel (0)
      • Scripts (4)
      • devtools (2)
      • protocol (1)
      • common (1)
      • sw engineering (1)
      • Web Programming (0)
      • etc (4)
    • Server (17)
      • SystemMGAuto (0)
      • WebServer (6)
      • VirtualServer (1)
      • EtcServer (10)
    • ITtech (1)
    • quailty assurance (4)
      • Theory (1)
      • System & Tools (3)
    • database (0)
    • language (0)
    • Trips (0)
    • music (0)
    • etc (2)
  • 방명록

programming (16)
invalid syntax with deprecated python 2.7

이슈사항 setuptools 의 버전 문제로 현재 유지보수가 이루어지지 않는 python 2.7을 사용하려 할때 다음과 같은 syntax 에러를 맞이하는 경우가 있다. [vagrant@localhost ~]$ pip install --upgrade pip Collecting pip Using cached https://files.pythonhosted.org/packages/da/f6/c83229dcc3635cdeb51874184241a9508ada15d8baa337a41093fab58011/pip-21.3.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", lin..

programming/python 2022. 1. 7. 15:08
jq command

jq command installation stedolan.github.io/jq/download/ Examples1 우선 다음과 같은 json data가 있다고 가정하자. jacob@jacob-laptop:~$ cat data.txt { "pools": [ { "name": "volume1", "id": 1, "size_bytes": 100 }, { "name": "volume2", "id": 2, "size_bytes": 200 }, { "name": "volume3", "id": 3, "size_bytes": 300 } ], "total": 600 } pools내에 각 pool내 name, id를 pool에 맞춰서 출력해보도록 하자. jacob@jacob-laptop:~$ cat data.txt |..

programming/etc 2020. 9. 23. 13:13
groovy script

Jenkinsfile 을 통한 pipeline 구성시 groovy를 사용해야 해서 겸사겸사 간단히 테스트 가능한 환경 구성과 몇몇 예제 syntax를 정리한다. Groovy 설치 https://groovy-lang.org/install.html java_home export가 되어있어야 한다. 즉, jdk, jre 같은 JAVA_HOME 설정시 지정경로를 사용할 package 설치를 우선수행해주어야 한다. Examples list에 value를 추가 하여 list를 출력 def tlst = [] tlst.add(1) tlst.add(2) tlst.add(8) println(tlst)map으로 할당된 value를 key로 찾아 출력하는 example def kvmap() { kv = [:] kv['..

programming/etc 2020. 9. 22. 13:59
powershell

실행예제 powershell 실행을 위해서는 set-executionpolicy 를 변경해야 한다. default로 restricted로 되어 있어 실행이 불가하다. 아래명령을 수행하여 powershell script를 수행할 수 있는 환경으로 변경한다. set-executionpolicy unrestricted https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-6 write-host를 통한 메세지 출력 $testval = 1 write-host("testval : {0}" -f $testval) https://devblogs.microsoft.c..

programming/Scripts 2019. 8. 14. 17:33
이전 1 2 3 4 다음
이전 다음
공지사항
최근에 올라온 글
  • label_replace , label_jo⋯
  • kubectl debug and koolkit
  • GitLab with pages
  • x509: certificate signed⋯
최근에 달린 댓글
  • 감사합니다 부족한 질문이었⋯
  • 안녕하세요. 먼저 질문주신⋯
  • 안녕하세요 ㅎㅎ 구글에서 돌⋯
Total
109,111
Today
83
Yesterday
27
링크
  • Cyuu
TAG
  • minikube
  • nginx-ingress
  • Helm Chart
  • DevSecOps
  • openstacksdk
  • galera
  • ceph
  • metallb
  • OpenStack
  • openstack backup
  • Terraform
  • boundary ssh
  • hashicorp boundary
  • elasticsearch
  • kubernetes
  • macvlan
  • jenkins
  • mattermost
  • Jenkinsfile
  • kubernetes install
  • ansible
  • K3S
  • wsl2
  • ulimit
  • socket
  • crashloopbackoff
  • ConEmu
  • minio
  • dnssec
  • vmware openstack
more
«   2022/07   »
일 월 화 수 목 금 토
          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            
글 보관함
  • 2022/04 (3)
  • 2022/03 (5)
  • 2022/02 (3)
  • 2022/01 (2)
  • 2021/11 (4)

Blog is powered by Tistory / Designed by Tistory

티스토리툴바