タグ

2018年4月13日のブックマーク (4件)

  • CentOS 6.2 上のKVMをリモートのvirt-managerから操作する - 気ままにインフラエンジニア

    CentOS系ではyum install qemu-kvm libvirtしたあと、root以外でlibvirtを実行できるような設定になっていない。 ・rootユーザーでSSHログインはしない ・virt-managerはサーバー上でなく、手元からリモートで動かしたい 上記を満たすために、libvirtdの設定を変更する。 # vi /etc/libvirt/libvirtd.conf unix_sock_group = "libvirt" unix_sock_rw_perms = "0770" groupadd libvirt usermod -a -G libvirt [username] これでlibvirtdを再起動すればOK…のはずだったのだが。 SSHの鍵認証をさせて、virt-managerで接続させても延々と"libvirtError: authentication fa

    CentOS 6.2 上のKVMをリモートのvirt-managerから操作する - 気ままにインフラエンジニア
    kkoiro
    kkoiro 2018/04/13
    libvirtのerrorでお世話になった
  • libvirt: Connection authentication

    When connecting to libvirt, some connections may require client authentication before allowing use of the APIs. The set of possible authentication mechanisms is administrator controlled, independent of applications using libvirt. Once authenticated, libvirt can apply fine grained access control to the operations performed by a client. Client configuration¶ When connecting to a remote hypervisor wh

    kkoiro
    kkoiro 2018/04/13
    authentication unavailable: no polkit agent available to authenticate action ‘org.libvirt.unix.manager'
  • ansible commandとshellモジュールの違い - kakts-log

    ansibleで使って対象ノードで特定のコマンドを実行する際、 デフォルトで用意されているcommandモジュールとshellモジュールを使うことができます。 環境変数や、パイプを使ったコマンドを実行させる場合 この2つは挙動が異なるのでまとめてみました。 command モジュール まずはcommandモジュールについて command - Executes a command on a remote node — Ansible Documentation The given command will be executed on all selected nodes. It will not be processed through the shell, so variables like $HOME and operations like “<”, “>”, “|”, “;” an

    ansible commandとshellモジュールの違い - kakts-log
    kkoiro
    kkoiro 2018/04/13
    パイプが使えなくてハマったので
  • 【最新版】これくらいは知っときたい、源泉徴収票の見方! - みんなの給与計算教室

    こんにちは、給与計算教室です。 2014年も残すところあと2週間ほどになってしまいました。今年はソチオリンピックや消費税UP、モーニング娘。'14 道重さゆみさんの卒業と12期メンバー加入、Berryz工房の無期限活動停止発表、スマイレージ*1 3期メンバー加入などなど、当にたくさんの出来事がありましたね。 そんな2014年を気持ちよく締めくくるためにも、今日は源泉徴収票の読み方について解説します。ちょうど今ごろから来月にかけて、会社からみなさんのもとへ配布されていることでしょう。一昨年にも同じような記事を書いたのですが、法改正もありましたし、もう少し分かりやすく書き直してみることにします。 スポンサーリンク 源泉徴収票とはなんなのか すぐなくしてしまいそうな紙切れ1枚ですが、そこにはとっても大事な情報が載っています。まずは 今年一年間、あなたがいくら稼いだのか それに応じていくら所得税

    【最新版】これくらいは知っときたい、源泉徴収票の見方! - みんなの給与計算教室
    kkoiro
    kkoiro 2018/04/13
    こういうの助かる