1 sudo apt-get update
3 sudo apt-get install git
4 git clone https://github.com/sensu/sensu-chef.git ~/chef-repo-sensu
6 cd chef-repo-sensu/
10 sudo apt-get install bundler
11 bundle install
12 curl -L https://www.opscode.com/chef/install.sh | sudo bash
13 sudo mkdir -p /var/chef/{cookbooks,data_bags,nodes}
14 cd examples/ssl/
This file contains 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
$ sudo useradd vagrant |
This file contains 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
$ brew install qemu # この記事では2.1.2を使用しています。 | |
$ qemu-img convert -f qcow2 -O vdi CentOS-7-x86_64-AtomicHost.qcow2 CentOS-7-x86_64-AtomicHost.vdi |
This file contains 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
# "#"で始まる行はコメント行とみなされます。 | |
# Dockerfileは必ずベースとなるイメージを指定するFROMから書きます。 | |
FROM ubuntu:14.04 | |
# MAINTAINERには文字通りDockerfile作成者を記載します。 | |
MAINTAINER smile-0yen smile0yen.1024@gmail.com | |
# RUNは指定されたコマンドをコンテナ内で実行し、結果をイメージとして保存します。 | |
RUN apt-get install ruby -y |
This file contains 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
$ rpm -q docker | |
docker-1.3.2-4.el7.centos.x86_64 |
This file contains 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
$ sudo yum -y install libaio-devel | |
$ wget http://brick.kernel.dk/snaps/fio-2.2.4.tar.gz |
This file contains 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
$ mkdir dockerenv && cd dockerenv | |
$ vagrant init |