3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ChefDKハンズオン Debianの環境設定

Last updated at Posted at 2015-03-04

ChefDKハンズオンをLinuxの環境を確認していなかったので、Debianで確認しました。

backports-debian-7wheezyをつかった場合の例です。

環境設定方法

$ uname -v
#1 SMP Debian 3.16.7-ckt4-3~bpo70+1 (2015-02-12)
$ sudo aptitude update
$ sudo aptitude -y install git curl vim
$ curl -sSL https://get.docker.com/ | sh
$ sudo groupadd docker
$ sudo gpasswd -a ${USER} docker
$ curl -O https://opscode-omnibus-packages.s3.amazonaws.com/debian/6/x86_64/chefdk_0.4.0-1_amd64.deb
$ sudo dpkg -i chefdk_0.4.0-1_amd64.deb
$ sudo service docker restart

editorはvimにしておきました。
dockerをsudoなしで使えるようにしています。一度ログアウトして再度ログインすればChefDKハンズオンができると思います。

以下は必要に応じて。

$ git config --global user.email "you@example.com"
$ git config --global user.name "Your Name"

参考文献

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?