特に複数のシステムやクラウド サービスを管理する場合は、さまざまなツールを使用することが重要です。ユーザーとシステム管理者は全てをコントロールし、ジョブに適したツールを持っている必要があります。多くの場合、選択するツールはコマンド ラインです。
Linode CLI の紹介
Linode CLIの正式リリースをお知らせします。 – シンプルでありながら強力で使いやすいツールで、管理とプロビジョニングを行うことができます。 Linode コマンド ラインからクラウド サービスを実行できます。Linode CLI は、ユーザーが使い慣れているのと同じ機能をユーザーに提供しますが、コマンド ラインの利便性を備えています。
Linode CLI は Linode サーバーの作成、再起動、名前の変更、およびサイズ変更を行うことができます。ドメインと DNS レコード、NodeBalancer なども管理します。ユーザーは、自分のアカウントの残高やネットワーク転送にアクセスすることもできます。Linode CLI を使用すると、組み込みの JSON 出力モードを使用してタスクのスクリプト作成と自動化を簡単に行うことができます。
OS X へのインストール:
お使いのシステムにHomebrewがまだインストールされていない場合は、優れたインストール手順に従ってください。そして、あなたのターミナルから:
brew tap linode /cli && brew install linode -cli
Debian / Ubuntu へのインストール:
echo "deb http://apt.linode.com/ stable main" \ > /etc/apt/sources.list.d/linode.list wget -O- https://apt.linode.com/linode.gpg | apt-key add - apt-get update && apt-get install linode-cli
その他のシステムについては、github の Linode CLIで詳細を参照してください。
フリーでオープンソース
Linode CLI は、すべての Linode のお客様が利用でき、オープンソースです - GPLv2とPerl芸術ライセンスの下でデュアルライセンスです。API 2 要素認証や Real Soon Now™ のサポートなど、積極的に開発が続いています。お楽しみに!
詳細についてはhttps://github.com/linode/cliをご覧ください。
お楽しみください!
コメント (19)
Hi, i get this error when i try to install it on mavericks:
Error: undefined method `prepend_create_path’ for #
Great news!
Awesome! This helps increase the scope and automation of my chef and capistrano deployments…
How is this different from the LISH offering that you already have?
I am receiving this error:
Error: undefined method `resource’ for LinodeCli:Class
Please report this bug:
https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Formula/linode-cli.rb:8
/usr/local/Library/Homebrew/formulary.rb:40:in `require’
/usr/local/Library/Homebrew/formulary.rb:40:in `klass’
/usr/local/Library/Homebrew/formulary.rb:90:in `get_formula’
/usr/local/Library/Homebrew/formulary.rb:175:in `factory’
/usr/local/Library/Homebrew/formula.rb:410:in `factory’
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae’
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `map’
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae’
/usr/local/Library/Homebrew/cmd/install.rb:22:in `install’
/usr/local/Library/brew.rb:95:in `send’
/usr/local/Library/brew.rb:95
I needed to install (xcode-select –install) the developer tools. Problem fixed.
This looks great, and bonus points for putting it in Homebrew! Thanks a ton.
@Laurent: That’s usually caused by an outdated Homebrew. Running `brew update` should resolve that.
Please consider submitting a MacPort, too.
A very large percentage of Mac using customers lack the necessary level of RubyHipster-chlorians in their bloodstream that are necessary to find Homebrew attractive.
Error: undefined method `prepend_create_path’ for #
@Sang_Le see @tparker’s comment.
Any chance of a yum repo?
This is a neat tool. I made a new linode with it! But I can’t figure out how to run a StackScript with the linode cli. Could someone give a simple example? Without running a StackScript, it’s not obvious how I can fully automate a deployment. Thank you!
No, thank you. I don’t store critical server passwords in unknown formats in unknown places in my system.
Let me know when you have a version that doesn’t require permanent password storage. Perhaps an API key that can be reset?
Daniel: Not sure what you’re referring to. The API key is stored on your system in ~/.linodecli, or you can store it however you’d like and provide it via the environment variable LINODE_API_KEY or –api-key option:
https://github.com/linode/cli#initial-configuration
You can also reset your API key at any time via the Linode Manager’s My Profile tab.
…or an API key that has an expiration time (like the idle timeout for the website) and a cancel capability.
Having this CLI is a great feature but I won’t use it if it requires Homebrew to install it. I’ve never liked nor trusted Homebrew and refuse to use it for installing applications.
Robert: the whole dealio is open source, so you can clone it right from GitHub
I am receiving this error : Error: undefined method `resource’ for LinodeCli:Class