detect card by opencv

detect card by opencv #make requirements.txt [root@localhost ~]# vi requirements.txt imutils==0.5.3 opencv-python==4.1.0.25 numpy==1.16.4 #download offline install files [root@localhost python]# pip3 download -r requirements.txt Collecting imutils==0.5.3 (from -r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/b5/94/46dcae8c061e28be31bcaa55c560cb30ee9403c9a4bb2659768ec1b9eb7d/imutils-0.5.3.tar.gz Saved ./imutils-0.5.3.tar.gz Collecting opencv-python==4.1.0.25 (from -r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/7b/d2/a2dbf83d4553ca6b3701d91d75e42fe50aea97acdc00652dca515749fb5d/opencv_python-4.1.0.25-cp36-cp36m-manylinux1_x86_64.whl Saved ./opencv_python-4.1.0.25-cp36-cp36m-manylinux1_x86_64.whl Collecting numpy==1.16.4 (from -r requirements.txt (line 3)) Using cached https://files.pythonhosted.org/packages/87/2d/e4656149cbadd3a8a0369fcd1a9c7d61cc7b87b3903b85389c70c989a696/numpy-1.16.4-cp36-c...

Forbidden to create Index Pattern in Kibana

logstash로 data 수집 후, kibana index 작성중 이하의 에러가 발생 Error "forbidden" 권한 문제? #edit privileges PUT /_all/_settings {"index.blocks.read_only_allow_delete": null}

install python 3.7 on centos7

install python 3.7 on centos7 #install yum repository [root@localhost ~]# yum install -y https://centos7.iuscommunity.org/ius-release.rpm Loaded plugins: fastestmirror, langpacks ius-release.rpm | 8.2 kB 00:00:00 Examining /var/tmp/yum-root-CBgYb0/ius-release.rpm: ius-release-2-1.el7.ius.noarch Marking /var/tmp/yum-root-CBgYb0/ius-release.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package ius-release.noarch 0:2-1.el7.ius will be installed --> Finished Dependency Resolution base/7/x86_64 | 3.6 kB 00:00:00 base/7/x86_64/group_gz | 165 kB 00:00:00 base/7/x86_64/primary_db ...

install mysql 8.0 commercial on centos

install mysql 8.0 commercial on centos #install the MySQL Server [root@localhost ~]# mysql-commercial-libs-compat-8.0.17-1.1.el7.x86_64.rpm bash: mysql-commercial-libs-compat-8.0.17-1.1.el7.x86_64.rpm: 명령을 찾을 수 없습니다... [root@localhost ~]# yum install mysql-commercial-server-8.0.17-1.1.el7.x86_64.rpm mysql-commercial-client-8.0.17-1.1.el7.x86_64.rpm mysql-commercial-libs-8.0.17-1.1.el7.x86_64.rpm mysql-commercial-common-8.0.17-1.1.el7.x86_64.rpm mysql-commercial-libs-compat-8.0.17-1.1.el7.x86_64.rpm Loaded plugins: fastestmirror, langpacks Examining mysql-commercial-server-8.0.17-1.1.el7.x86_64.rpm: mysql-commercial-server-8.0.17-1.1.el7.x86_64 Marking mysql-commercial-server-8.0.17-1.1.el7.x86_64.rpm to be installed Examining mysql-commercial-client-8.0.17-1.1.el7.x86_64.rpm: mysql-commercial-client-8.0.17-1.1.el7.x86_64 Marking mysql-commercial-client-8.0.17-1.1.el7.x86_64.rpm to be installed Examining mysql-commercial-libs-8.0.17-1.1.el7.x86_64.rpm: mysql-commercial-libs-8.0.1...

docker gitlab backup & restore

docker상에서  운영중이 gitlab의 백업 및 리스토어   #backup [root@localhost ~]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a336aa66475e gitlab/gitlab-ce:latest "/assets/wrapper" 6 hours ago Exited (137) 6 hours ago gitlabgnoti 95013969775b gitlab/gitlab-ce:latest "/assets/wrapper" 29 hours ago Up 6 hours (healthy) 443/tcp, 0.0.0.0:6015->22/tcp, 0.0.0.0:8897->80/tcp gitlab [root@localhost ~]# docker exec -i -t gitlab bash [root@localhost ~]# docker exec -i -t gitlab bash root@gitlab:/# gitlab-rake gitlab:backup:create 2019-09-18 12:32:59 +0000 -- Dumping database ... Dumping PostgreSQL database gitlabhq_production ... [DONE] 2019-09-18 12:33:03 +0000 -- done 2019-09-18 12:33:03 +0000 -- Dumping repositories ... * gnoti/searchman ...

Docker-Compose ? Docker-Swarm ?

docker상에서  superset  분산 실행  몇 가지 정의 #docker-compose 관련 컨테이너 그룹을 구성하고 관리하는데 사용 되는 명령입니다. docker cli에서 사용하는 것과 동일한 API에 대한 프론트 엔드이므로 docker run과 같은 명령으로 동작을 재현 할 수 있습니다. #docker-compose.yml docker-compose 및 swarm 모드에서도 사용되는 컨테이너 그룹의 정의 파일입니다. #swarm 모드 docker 엔진 그룹을 단일 엔티티로 관리하고 오케스트레이션을 제공하는 데 사용됩니다 #service 하나 또는 동일한 환경의 swarm 컨테이너 또는 다수 컨테이너에 확장성을 제공합니다. #bridge network 복수개의 컨테이너가 서로 통신 할 수 있는 단일 도커 엔진으로 관리되는 네트워크입니다. 엔진에서 여러 네트워크를 관리 할 수 ​​있으며 컨테이너를 0 개 이상의 네트워크에 연결할 수 있습니다.

starting superset, mysql, redis

이미지
docker상에서  superset(server-worker), mysql, redis  분산 실행  ## Environment     centos 7.6     docker 1.13.1 ## architecture ## starting mysql [root@kylin docker-files]# docker run --name mysql --rm --env-file .env -d -p 3306:3306 docker.io/mysql:5.7 d399db893198be4ef8cea8b47dbbd27357795bec7b5d1426dc0ea63a6fb20d33 [root@kylin docker-files]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d399db893198 docker.io/mysql:5.7 "docker-entrypoint..." 5 seconds ago Up 4 seconds 0.0.0.0:3306->3306/tcp, 33060/tcp mysql [root@kylin docker-files]# [root@kylin docker-files]# docker inspect d399db893198 "Networks": { "bridge": { "IPAMConfig": null, "Links": null, "Aliases": null, "Network...