분류 전체보기(864)
-
Ubuntu 18.04에서 Logstash 설치 및 연동 (PostgreSQL->Elasticsearch)
1. setup Logstash (with elasticsearch) https://www.howtoforge.com/tutorial/how-to-install-logstash-on-ubuntu-1804/ How to Install Logstash on Ubuntu 18.04 Logstash is a free and open-source tool, and world’s most popular log analysis platform for collecting, parsing, and storing logs for future use. Lo... www.howtoforge.com 2. create pipeline for PostgreSQL and Elasticsearch https://medium.com/@..
2022.01.24 -
Ubuntu 18.04에 PostgreSQL client 설치
apt 패키지 업데이트 후에 postgresql-client 설치 sudo apt-get install curl ca-certificates gnupg curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' sudo apt-get update sudo apt install postgresql-client-12 pg_basebackup -V https://dba.stackexchange.com/qu..
2022.01.17 -
Ubuntu 18.04에 MongoDB 4.4 설치
새로 생성한 Ubuntu 18.04 EC2에서 기존 MongoDB 4.0 설치가 안되는 문제가 발생했다. "E: Unable to locate package mongodb-org" https://www.mongodb.com/community/forums/t/e-unable-to-locate-package-mongodb-org/13458 E: Unable to locate package mongodb-org I am new to MongoDB and I am trying to install it in Ubuntu 18.04. I am following the instructions for installation and the command ‘sudo apt-get install -y mongodb-org’..
2022.01.17 -
iPad에서 공유하기 처리 안되는 문제 해결
iPhone에서는 다음과 같은 방법은 쉽게 처리가 되는데, iPad에서만 이 방식으로는 처리가 안되는 문제가 발생하였다. https://maivve.tistory.com/175 [Swift] iOS의 Native 기능인 공유하기(Share) 를 구현해보자! 안녕하세요. *** 버전 체크 하고 진행하세요! - Swift : 5 - XCode : 11.5 - iOS : min 9.0 주로 특정 파일, URL, TEXT 를 카카오톡, SNS, 메세지 등 다른 앱에다 공유하고자 할 때 사용됩니다. 그럼 공유하기 의.. maivve.tistory.com 이것 저것 테스트를 해보니, sourceRect가 빠진 경우에 iPad에서 문제가 생기는 것이었다. let objectsToShare = [textToShare]..
2021.12.08 -
Python 특정 일이 속한 Week 계산
import datetime def AddDays(sourceDate, count): targetDate = sourceDate + datetime.timedelta(days = count) return targetDate def GetWeekFirstDate(sourceDate): temporaryDate = datetime.datetime(sourceDate.year, sourceDate.month, sourceDate.day) weekDayCount = temporaryDate.weekday() targetDate = AddDays(temporaryDate, -weekDayCount); return targetDate https://icodebroker.tistory.com/6852 [PYTHON/..
2021.12.01 -
Gitlab CI/CD 관련 레퍼런스
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-continuous-deployment-pipeline-with-gitlab-ci-cd-on-ubuntu-18-04 How To Set Up a Continuous Deployment Pipeline with GitLab CI/CD on Ubuntu 18.04 | DigitalOcean In this tutorial you are going to build a continuous deployment pipeline with GitLab. You will configure the pipeline to build a Docker image, push it to the GitLab contain..
2021.12.01