This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 창호님께서 적어주신 CentOS 8버전으로 설치 했을 떄 선행 설치해야할 커맨드입니다. | |
sudo yum install -y yum-utils | |
sudo yum-config-manager \ | |
--add-repo \ | |
https://download.docker.com/linux/centos/docker-ce.repo | |
sudo yum install docker-ce docker-ce-cli containerd.io |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ES 노드에서 실행해야 할 명령어 | |
# 1. 공통 | |
sudo yum install -y docker | |
sudo systemctl start docker | |
sudo chmod 666 /var/run/docker.sock | |
sudo sysctl -w vm.max_map_count=262144 | |
# 2. 1번 노드에서만 실행시키는 명령어 (IP는 여러분의 인스턴스 IP를 적어주세요!!) | |
docker network create somenetwork |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. jenkins-instance 서버 명령어 | |
$ sudo yum install wget | |
$ sudo yum install maven | |
$ sudo yum install git | |
$ sudo yum install docker | |
$ sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo | |
$ sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key | |
$ sudo yum install jenkins | |
$ sudo systemctl start jenkins | |
$ sudo systemctl status jenkins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 이준형 | |
### 기본 정보 | |
- 이메일: lleellee013@gmail.com | |
- Github: https://github.com/lleellee0 | |
- 2019년 6월 전역예정 | |
### 학력 | |
- [경기대학교](http://www.kyonggi.ac.kr/KyonggiUp.kgu) 2013/03 ~ 2017/02 융합보안학과 졸업(컴퓨터과학과 복수전공) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nginx.conf 수정하러가기 | |
sudo vi /etc/nginx/nginx.conf | |
# nginx 서비스 시작 | |
sudo systemctl start nginx | |
# Docker 설치 | |
sudo yum install -y docker | |
sudo systemctl start docker | |
sudo chmod 666 /var/run/docker.sock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RabbitMQ를 도커로 실행시키기 위한 명령어 | |
docker run -d --hostname my-rabbit --name some-rabbit -p 5672:5672 -p 15672:15672 rabbitmq:3-management |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>javax.xml.bind</groupId> | |
<artifactId>jaxb-api</artifactId> | |
<version>2.3.1</version> | |
</dependency> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# io-test.yaml 파일 (초기 형태) | |
config: | |
target: "http://{nginx-ip}" | |
phases: | |
- duration: 333 | |
arravalRate: 3 | |
name: Warm up | |
payload: | |
path: "ratings_test_1k.csv" | |
fields: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# postgresql을 도커로 실행시키는 명령어 | |
docker run --name pgsql -d -p 5432:5432 -e POSTGRES_USER=postgresql -e POSTGRES_PASSWORD=postgrespassword postgres | |
# postgresql-instance-1에서 실행해야할 명령어 | |
sudo yum install -y docker | |
sudo systemctl start docker | |
sudo chmod 666 /var/run/docker.sock | |
docker run --name pgsql -d -p 5432:5432 -e POSTGRES_USER=postgresql -e POSTGRES_PASSWORD=postgrespassword postgres |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 실행중인 도커 컨테이너 정보 확인 | |
docker ps | |
# 실행중인 도커 컨테이너 중 spring-boot-cpu-bound 애플리케이션이 포함된 줄 찾기 | |
docker ps | grep spring-boot-cpu-bound | |
# 도커 컨테이너 종료시키기 | |
docker container kill -s 15 {컨테이너 id} |
NewerOlder