리스펙토링 세미나 - 웹 브라우저 동작 개념, Node.js를 통한 서버 이해, REST APIWooyoung Ko1. 웹 브라우저에서 어떤 일이 일어나는지 이해하기
2. Node.js와 Express를 사용한 로컬 서버 구축 실습
3. REST Api 이해하기
4. Vue.js와 Axios를 사용한 REST Api 실습
이것이 리눅스다 - 김종욱Jong Wook Kim'이것이 리눅스다' 책을 일고 공부하면서 느낀점과 공부하면서 조사하였던 관련된 자료를 PPT로 만든 것입니다. (this is Linux, this PPT has Many Things that Resource Related the Linux and other) 감사합니다. Thank you
docker on GCE ( JIRA & Confluence ) - GDG Korea CloudJude KimGoogle Cloud Platform 인 Compute Engine에 Docker 를 올리기.
Docker에 JVM 소프트웨어인 JIRA 및 Confluence를 설치하고 실제 서비스단계까지의 구성은 어떻게 하는지에 대한 설명입니다.
리스펙토링 세미나 - 웹 브라우저 동작 개념, Node.js를 통한 서버 이해, REST APIWooyoung Ko1. 웹 브라우저에서 어떤 일이 일어나는지 이해하기
2. Node.js와 Express를 사용한 로컬 서버 구축 실습
3. REST Api 이해하기
4. Vue.js와 Axios를 사용한 REST Api 실습
이것이 리눅스다 - 김종욱Jong Wook Kim'이것이 리눅스다' 책을 일고 공부하면서 느낀점과 공부하면서 조사하였던 관련된 자료를 PPT로 만든 것입니다. (this is Linux, this PPT has Many Things that Resource Related the Linux and other) 감사합니다. Thank you
docker on GCE ( JIRA & Confluence ) - GDG Korea CloudJude KimGoogle Cloud Platform 인 Compute Engine에 Docker 를 올리기.
Docker에 JVM 소프트웨어인 JIRA 및 Confluence를 설치하고 실제 서비스단계까지의 구성은 어떻게 하는지에 대한 설명입니다.
Docker 와 Python 으로 아카마이 API 5분만에 사용해보기!Seung Heun Noh아카마이는 최근 SOAP 기반의 API 를 버리고(?) REST 기반의 OPEN API 로 지속적인 변화를 꾀하고 있습니다. 보다 쉬운 API 테스트 및 활용을 지원하기 위해 Python 환경의 Docker Container 를 제공중인데요, 아카마이의 API 의 기본적인 컨텍스트와 Docker Container 를 통해 독립된 개발 환경을 활용하는 방법을 알아보도록 하겠습니다.
Confd, systemd, fleet을 이용한 어플리케이션 배포 in CoreOS충섭 김Confd, systemd, fleet을 이용한 어플리케이션 배포 in CoreOS
Docker Seoul Meetup #2에서 발표한 자료입니다.
CoreOS에서 confd와 sidekick service를 이용한 서비스 배포에 대한 내용입니다.
http://www.youtube.com/watch?v=5ixJCM6pAcg
영상과 함께 보시면 더 좋습니다 :)
XECon2015 :: [1-5] 김훈민 - 서버 운영자가 꼭 알아야 할 DockerXpressEngine요즘 규모에 상관 없이 서버를 운영하는 웹서비스 업체에서는 도커라는 주제가 화두입니다. 오히려 발빠른 개발자나 운영자들은 이미 도커를 이용하여 서비스를 운영하고 있지요. 본 세션은 도커의 기술적인 내용 보다는 사용자 입장에서 알아야 할 내용을 중심으로 구성됩니다.
Docker for V-Raptor(ARM Server)유명환 FunFun YooThis is Docker porting & (very simple) tesing story for V-Raptor.
V-Raptor is ARM Cortex-A9 Quad Core based Micro Server for Cloud computing.
[오픈소스컨설팅]Docker on Kubernetes v1Ji-Woong Choi- 클라우드 속의 Docker
- Docker Architecture & Build
- Docker 환경 구축
- Docker 데이터 볼륨, 이미지, 네트워킹
- Kubernetes 목적 및 활용
- Docker, Kubernetes 구성
- Docker Testing
[오픈소스컨설팅]Docker on Cloud(Digital Ocean)Ji-Woong ChoiDocker compose를 활용하여 클라우드 서비스 제공자에 docker 서비스를 올리는 방법을 설명합니다.
본 슬라이드에서는 Digital Ocean에서 제공하는 서비스에 웹서비스를 위한 Docker를 구성합니다.
Introduction to Docker - LOGISPOTHosang Jeon01 Docker란 무엇이며, 왜 필요한가?
02 Docker의 핵심 개념과 용어
03 Do(ckerize) it yourself
Docker란?
애플리케이션을 개발(developing)하고, 배포(shipping)하고, 실행(running)하기 위한 Open Platform
OS-level Virtualization(Linux Container)를 제공하기 위한 구현 제품.
애플리케이션과 인프라스트럭처의 의존관계를 분리할 수 있는 방법
가상머신(Virtual Machine)의 단점을 극복할 수 있는 리눅스 컨테이너 기술의 구현
Docker Client : 명령어를 통해 Docker Daemon에 API를 호출하여 Docker Image와 Container를 관리할 수 있는 프로그램
Docker Daemon : Docker API 요청을 수신하여 Docker Object(Image, Container, Network, Volue 등)를 관리할 수 있는 프로세스
Docker Registry : Docker Image를 저장하고 관리하는 공간. Public Registry(ex. Docker Hub)와 Private Registry가 있음.
Dockerfile : Docker Image를 빌드하기 위한 정보 및 명령어가 작성된 파일 (Docker Image를 생성하는 방법 중 하나)
Docker Image : Dockerfile, Docker Registry, 또는 다른 Docker Image로부터 생성된 컨테이너 생성을 위한 Read-only Template
Docker Container : Docker Image 위에서 실행된 특수한 형태의 격리된 프로세스
Introduction to Docker - LOGISPOTLOGISPOT01 Docker란 무엇이며, 왜 필요한가?
02 Docker의 핵심 개념과 용어
03 Do(ckerize) it yourself
Docker란?
애플리케이션을 개발(developing)하고, 배포(shipping)하고, 실행(running)하기 위한 Open Platform
OS-level Virtualization(Linux Container)를 제공하기 위한 구현 제품.
애플리케이션과 인프라스트럭처의 의존관계를 분리할 수 있는 방법
가상머신(Virtual Machine)의 단점을 극복할 수 있는 리눅스 컨테이너 기술의 구현
Docker Client : 명령어를 통해 Docker Daemon에 API를 호출하여 Docker Image와 Container를 관리할 수 있는 프로그램
Docker Daemon : Docker API 요청을 수신하여 Docker Object(Image, Container, Network, Volue 등)를 관리할 수 있는 프로세스
Docker Registry : Docker Image를 저장하고 관리하는 공간. Public Registry(ex. Docker Hub)와 Private Registry가 있음.
Dockerfile : Docker Image를 빌드하기 위한 정보 및 명령어가 작성된 파일 (Docker Image를 생성하는 방법 중 하나)
Docker Image : Dockerfile, Docker Registry, 또는 다른 Docker Image로부터 생성된 컨테이너 생성을 위한 Read-only Template
Docker Container : Docker Image 위에서 실행된 특수한 형태의 격리된 프로세스
Rb vs wp 로드타임 성능비교Gitaek kwonkimsQ Rb vs Wordpress 를 브라우저상에서 로드타임 비교와 서버내에서의 실행속도를 기준으로 성능 비교를 해보았습니다. 객관적으로 동일한 환경에서 정량적인 테스트가 될 수 있도록 노력 했습니다. 산출된 결과는 킴스큐가 워드프레스에 비해 로드타임에서 3.6~5배 빠른 것으로 나왔으며, 서버내 스크립트 실행속도에서는 11~16배 빠르다는 결과를 얻을 수 있었습니다. 본 테스트를 위해 사이트를 제공해 주신 하비타임즈(hobbytimes.co.kr/) 킴스오빠(이영화)님께 감사 드립니다. - 레드블럭 킴스큐 운영팀 권기택
[오픈소스컨설팅]Docker기초 실습 교육 20181113_v3Ji-Woong Choi엔터프라이즈 고객사 IT 부서 담당자분들께 실습 교육을 위해 오픈소스컨설팅 한철희님께서 만든 자료입니다.
사전에 고객 테스트를 위해 실습환경을 완벽하게 만들어가는 센스!
기초부터 한 걸음이 얼마나 중요한 지 다들 아실거라 믿습니다.
Docker 로 Linux 없이 Linux 환경에서 개발하기iFunFactory Inc.2016 아이펀팩토리 Dev Day 발표 자료
강연 제목 : Docker 로 Linux 없이 Linux 환경에서 개발하기
발표자 : 김진욱 CTO
<2016>
- 일시 : 2016년 9월 28 수요일 12:00~14:20
- 장소 : 넥슨 판교 사옥 지하 1층 교육실
[오픈소스컨설팅] Docker를 활용한 Gitlab CI/CD 구성 테스트Ji-Woong Choi Docker를 활용하여 Gitlab CI/CD 설치 구성 및 샘플 테스트를 위한 가이드 문서이며, Docker 및 Gitlab에 대한 개요 및 사용법에 대해서는 다루지 않습니다. Docker image를 이용 Gitlab 및 Gitlab CI/CD 설치 및 구성 후 Sample Spring boot web application을 이용하여 소스 변경에 따른 commit이 발생 했을 때 Gitlab CI/CD 기능을 통해 application 테스트, 빌드, 배포까지의 일련의 과정이 자동으로 진행되는지를 테스트 하는 내용입니다.
Packer + Ansible을 이용한 AMI 생성 및 AutoScaling Group 이미지 교체 이야기창훈 정Packer + Ansible을 이용한 AMI 생성 및 AutoScaling Group 이미지 교체 이야기
Youtube 영상 : https://youtu.be/9Zd1j0z4zS0
개발자를 위한 Amazon Lightsail Deep-Dive창훈 정This document discusses Amazon Lightsail, a new AWS service that provides simple and low-cost virtual private servers. Lightsail allows users to launch instances starting at $5 per month, with pricing models similar to traditional VPS plans. It aims to simplify deploying and managing VMs by removing complexities of other AWS services like EC2. Lightsail can be controlled via command line interface or API and supports actions like creating/managing instances, storage volumes, snapshots, and networking.
AWSKRUG 정기 세미나 (2016년 9월) - Lambda + S3 썸네일 생성 및 운영창훈 정AWSKRUG 정기 세미나 (2016년 9월) - 서버리스(Serverless) 아키텍처 에서 발표한 내용
한글폰트 문제로 깨지기도 하고 디자인도 이상하게 변경됬습니다. 원본은 SpeakerDeck 에서 확인해주세요 ~ https://speakerdeck.com/seapy/lambda-plus-s3-sseomneil-saengseong-mic-unyeong-awskrug-jeonggi-semina-2016nyeon-9weol
ActiveRecord Associations(2) - RORLab Season 3-8창훈 정The document discusses polymorphic associations in Active Record. It introduces a Picture model that can belong to either an Employee or Product using a polymorphic association. This allows the same Picture model to be associated with multiple other models. The document also mentions self joins, where a model can be associated with itself through a joining table like a follower/following relationship.
ActiveRecord Observers - RORLab Season 3-6창훈 정The document discusses various Active Record concepts in Ruby on Rails including object lifecycles, validations, callbacks, observers, and transactions. It covers validation helpers, conditional validations, custom validations, working with validation errors, callback classes, creating and registering observers, and transaction callbacks that run after commits or rollbacks.
ActiveRecord Associations(1) - RORLab Season 3-7창훈 정This document discusses Active Record Associations in Ruby on Rails. It explains that associations automate connections between models and automatically assign foreign keys. It outlines different types of associations like has_one, belongs_to, has_many, and has_and_belongs_to_many. It also discusses the difference between belongs_to vs has_one and has_many :through vs has_and_belongs_to_many associations.
ActiveRecord Callbacks - RORLab Season 3-5창훈 정The document discusses Active Record callbacks in Ruby on Rails. It describes the object lifecycle and when callbacks are triggered, including the available callback methods for create, save, update, destroy, and validation events. It also covers running callbacks, skipping callbacks, halting execution, conditional and relational callbacks, and callback classes.
Rails Database Migrations - RORLab Season 3-3창훈 정The document discusses database migrations in Ruby on Rails. It explains that migrations provide a way to alter the database schema and structure over time in a way that is database independent and reversible. Migrations are represented as classes and contain up and down methods that modify the database schema and allow rolling changes back if needed. Common migration methods like create_table, add_column, and remove_column are used to make changes to the database.
Vim for you창훈 정This document provides instructions for configuring Vim for Rails development. It recommends installing plugins like NERDTree for a file tree explorer, vim-rails for Rails-specific functionality, snipmate for code snippets, and EasyMotion for easier navigation. It also includes directions for setting the color scheme and font through the vimrc configuration file and using Vundle for plugin management.
1. Docker 코리아 캐주얼 토크 :
boot2docker 사용시 컨테이너
에서 생성한 데이터를 유지하기
2. # boot2docker 사용시 컨테이너에서 생성한 데이터를
유지하는 방법
* 호스트 컴퓨터의 /Users 폴더에 마운트
* boot2docker 가상머신 내부의 폴더에 마운트
* 볼륨 컨테이너 사용
3. # 호스트 컴퓨터의 /Users 폴더에 마운트
```
$ docker run
-p 5432:5432
-v ~/postgresql:/var/lib/postgresql/data
postgres:9.4
```
```
initdb: could not create directory "/var/lib/postgresql/data/global":
Permission denied
```
4. boot2docker 는 `bootdocker up` 실행시 다음과 같이 호스트 폴더를 VM 으로 마
운트
* Users share at /Users
* /Users share at /Users
* c/Users share at /c/Users
* /c/Users share at /c/Users
* c:/Users share at /c/Users
5. boo2docker 에서 /Users 를 docker:staff 계정을 사용해 자동으로 마운트
컨테이너에서 새로운 계정 생성시 boot2docker 와 다른 UID/GID 를 가지게된다.
파일 생성과 삭제는 폴더 권한을 777로 변경해 해결
하지만 하드링크 생성은 VirtualBox의 버그로
(https://www.virtualbox.org/ticket/818) 여전히 동작하지 않는다.
관련 이슈
: https://github.com/boot2docker/boot2docker/issues/581#issuecomm
ent-60309186
> 호스트의 데이터를 바로 읽을 경우 유용
> 불필요하게 호스트의 파일 및 폴더의 권한을 변경해야 해야 한다
6. # boot2docker 가상머신 내부의 폴더에 마운트
```
$ docker run
-p 5432:5432
-v /var/lib/boot2docker/postgresql:/var/lib/postgresql/data
postgres:9.4
```
`boot2docker init` 명령어 실행시 다음 2개의 가상디스크를 생성하고 VM에 마운트
* /var/lib/docker
* /var/lib/boot2docker
> 가상 디스크는 `boot2docker delete` 명령어 실행시 삭제
7. # 볼륨 컨테이너 사용
```
$ docker run --name pg-data
-v /var/lib/postgresql/data
busybox
$ docker run
-p 5432:5432
--volumes-from pg-data
postgres:9.4
```
> 볼륨 컨테이너의 데이터는 `/var/lib/docker` 가 지워지지 않는한 유지
8. # 결론
DB의 데이터를 유지 시키는 용도로 볼륨 컨테이너 사용,
호스트의 데이터를 읽기 위한 용도로 /Users 마운트