App-RemoteCommand

E4967f90a08dadff9cc185b863cd99a7?s=47 Shoichi Kaji
December 17, 2014
110

 App-RemoteCommand

Gotanda.pm Perl Technology Conference #3 2014.12.17 LT

E4967f90a08dadff9cc185b863cd99a7?s=128

Shoichi Kaji

December 17, 2014
Tweet

Transcript

  1. App-RemoteCommand Shoichi Kaji 2014.12.17

  2. What is App-RemoteCommand? ෳ਺ϗετʹ ฒྻʹίϚϯυΛ࣮ߦ͢ΔεΫϦϓτ

  3. ͳͥ࡞͔ͬͨ • ͪΐͬͱͨ͜͠ͱʹ fabric, chef ͱ͔࢖͍ͨ͘ͳ͍ɻ • gnu parallel, pssh

    ͍·͍ͪ࢖͍ͮΒ͍ɻ • sudo pass Λิ׬ͯ͠΄͍͠ɻ • Ͳͷϗετ͕੒ޭ͔ͨ͠Θ͔Βͳ͍ɻ • ϩʔΧϧʹ͋ΔεΫϦϓτϑΝΠϧΛ࣮ߦ͍ͨ͠ɻ • ֤ϗετ͝ͱʹग़ྗΛ෼͚͍ͨɻ • Θ͔Γ΍͘͢ର৅ϗετΛࢦఆ͍ͨ͠ɻ
  4. INSTALL > cpanm git://github.com/shoichikaji/App-RemoteCommand.git . . . Successfully installed App-RemoteCommand-0.01

    1 distribution installed > rcommand -v App::RemoteCommand 0.01
  5. ಛ௃ • ग़ྗʹग़ྗݩͷϗετ໊Λࣗಈతʹ෇Ճ • ࠷ޙʹͲͷϗετͰ੒ޭ͔ͨ͠ɺࣦഊ͔ͨ͠ ͷαϚϦʔ͕දࣔ͞ΕΔ • ϩʔΧϧͷεΫϦϓτϑΝΠϧΛ࣮ߦՄೳ • sudo

    password Λ࠷ॳʹೖྗ͢Ε͹ࣗಈతʹ ิ׬͞ΕΔ
  6. DEMO

  7. End