万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    Chefなどのインストール

    Rubyやgemが必要です。

    URL: https://learnchef.opscode.com/quickstart/workstation-setup/

    ・chefインストール

    curl -L https://www.opscode.com/chef/install.sh | sudo bash

    ・knife-soloのインストール

    sudo gem install knife-solo

    ・確認

    gem list
    knife configure

    全部デフォルトでいいとおもう

    WARNING: No knife configuration file found
    Where should I put the config file? [/Users/shinriyo/.chef/knife.rb]
    Please enter the chef server URL: [https://shintasukes-MacBook-Pro.local:443]
    Please enter an existing username or clientname for the API: [shinriyo]
    Please enter the validation clientname: [chef-validator]
    Please enter the location of the validation key: [/etc/chef-server/chef-validator.pem]
    Please enter the path to a chef repository (or leave blank):
    *****
    
    You must place your client key in:
      /Users/shinriyo/.chef/shinriyo.pem
    Before running commands with Knife!
    
    *****
    
    You must place your validation key in:
      /etc/chef-server/chef-validator.pem
    Before generating instance data with Knife!
    
    *****
    Configuration file written to /Users/shinriyo/.chef/knife.rb