2010-10-09から1日間の記事一覧
とりあえずこんな感じで、サーバに入って適当に設定情報をとってくるスクリプトを書いた。 #!/usr/bin/env perl use strict; use warnings; use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new('SERVER'); #鍵を省略した場合は、${HOME}/.ssh/id_dsaを参照…
gmp.hが無いとMath::GMPのインストールで止まっちゃうよ。 sudo aptitude install libgmp3-dev cpanm Math::BigInt::GMP cpanm Net::SSH::PerlついでにMath::BigInt::GMPをいれないと、こんなwarningsが出る。 Math::BigInt: couldn't load specified math l…
自分メモ インストール virtualenvを使っているのでpipで。 pip install PasteScript テンプレートリストの表示 paster create --list-templatesAvailable templates: basic_package: A basic setuptools-enabled package paste_deploy: A web application d…