<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>raspberry on Christian Knedel</title>
    <link>https://www.christian-knedel.de/ja/tags/raspberry/</link>
    <description>Recent content in raspberry on Christian Knedel</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja-jp</language>
    <lastBuildDate>Sat, 26 Jun 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://www.christian-knedel.de/ja/tags/raspberry/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>コンテナですごいこと：Kubernetes Dashboard</title>
      <link>https://www.christian-knedel.de/ja/post/2021/june/20210726-kubernetes-board/</link>
      <pubDate>Sat, 26 Jun 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2021/june/20210726-kubernetes-board/</guid>
      <description>コンテナですごいこと：KubenetesクラスタとNFSストレージチュートリアルでKubernetesクラスタを作成した後、Kubernetesダッシュボードをインストールしたいと思います。    このコマンドには、私のプロジェクトに必要なものがすべて含まれています。 x  &amp;ndash;  +   Terminal   $ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.2.0/aio/deploy/recommended.yaml   関連するサービスは外部からアクセスできないため、やはり「.spec.type」ノードを変更する必要があります。 x  &amp;ndash;  +   Terminal   $ kubectl -n kube-system edit service kubernetes-dashboard --namespace=kubernetes-dashboard   ノード「.spec.type」は &amp;ldquo;NodePort &amp;ldquo;でなければならない。    その後、すでにダッシュボードにアクセスできるようになっています。      アクセストークンを取得するには、デプロイメントコントローラーのキーを検索する必要があります。 x  &amp;ndash;  +   Terminal   $ kubectl -n kube-system get secret | grep deployment-controller-token   そして、トークンを表示し、コピーすることができます。 x  &amp;ndash;  +   Terminal   $ kubectl -n kube-system describe secret deployment-controller-token-g7qdm</description>
    </item>
    
    <item>
      <title>AnsibleでPIをリモートで制御する</title>
      <link>https://www.christian-knedel.de/ja/post/2021/june/20210725-ansible/</link>
      <pubDate>Fri, 25 Jun 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2021/june/20210725-ansible/</guid>
      <description>コンテナですごいこと：KubenetesクラスタとNFSストレージチュートリアルでKubernetesクラスターを作成した後、今度はAnsibleでこれらのコンピュータに対処できるようにしたいと思います。    そのためには、新しいキーが必要です。 x  &amp;ndash;  +   Terminal   $ ssh-keygen -b 4096   すべてのサーバー（Server 1, Server 2, Server 3）の &amp;ldquo;/home/pi/.ssh/authorized_keys&amp;rdquo; ファイルに新しい公開鍵を追加しました。また、Ansible では、このパッケージをインストールする必要があります。 x  &amp;ndash;  +   Terminal   $ sudo apt-get install -y ansible   その後、「/etc/ansible/hosts」ファイルにRaspberrysを入力する必要があります。
[raspi-kube.clust] ip-server-1:ssh-port ansible_ssh_user=username ip-server-2:ssh-port ansible_ssh_user=username ip-server-3:ssh-port ansible_ssh_user=username これで、以下のように設定を確認することができます。 x  &amp;ndash;  +   Terminal   $ ansible all -m ping --ssh-common-args=&amp;#39;-o StrictHostKeyChecking=no&amp;#39;   ご覧ください。      これで、すべてのサーバーを再起動するなどのプレイブックやコマンドを実行できるようになりました。 x  &amp;ndash;  +   Terminal   $ ansible raspi -m shell -a &amp;#39;sudo /sbin/reboot&amp;#39;</description>
    </item>
    
    <item>
      <title>コンテナですごいこと：KubenetesクラスタとNFSストレージ</title>
      <link>https://www.christian-knedel.de/ja/post/2021/june/20210620-pi-kubenetes-cloud/</link>
      <pubDate>Sun, 20 Jun 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2021/june/20210620-pi-kubenetes-cloud/</guid>
      <description>今日は新しいKubenetesクラスタをインストールするのですが、やることがたくさんあります。    そのために、これらの部品を注文しました。
 1x WDBU6Y0050BBK WD Elements portable 5TB：https://www.reichelt.de/wd-elements-portable-5tb-wdbu6y0050bbk-p270625.html? 3x ファン、デュアル： https://www.reichelt.de/raspberry-pi-luefter-dual-rpi-fan-dual-p223618.html? 1x Raspberry 4 / 4GB Ram: https://www.reichelt.de/raspberry-pi-4-b-4x-1-5-ghz-4-gb-ram-wlan-bt-rasp-pi-4-b-4gb-p259920.html? 2x Raspberry 4 / 8GB Ram：https://www.reichelt.de/raspberry-pi-4-b-4x-1-5-ghz-8-gb-ram-wlan-bt-rasp-pi-4-b-8gb-p276923.html? 3x 電源ユニット： https://www.reichelt.de/raspberry-pi-netzteil-5-1-v-3-0-a-usb-type-c-eu-stecker-s-rpi-ps-15w-bk-eu-p260010.html 1x ラックマウント: https://amzn.to/3H8vOg7 1x 600 pieces Dupont plug kit: https://amzn.to/3kcfYqQ 直列抵抗付き緑色LED1個：https://amzn.to/3EQgXVp 直列抵抗付き青色LED 1個：https://amzn.to/31ChYSO 10x Marquardt 203.007.013 Blanking piece Black: https://www.voelkner.de/products/215024/Marquardt-203.007.013-Blindstueck-Schwarz.html 1x ランプベース: https://amzn.to/3H0UZkG  さあ、行こう！    Raspian Liteのインストールをベースに、インストール用のイメージを独自に作成しました。私のユーザー/公開鍵はすでにこのイメージに保存されており、「/boot/config.txt」ファイルは私のLEDに適合するように作られています。
# meine Server brauchen kein HDMI, WLAN und Bluetooth dtoverlay=disable-bt dtoverlay=disable-wifi disable_splash=1 hdmi_blanking=1 hdmi_ignore_hotplug=1 hdmi_ignore_composite=1 # Status-LEDs an GPIO weiterleiten dtoverlay=act-led,gpio=21 dtparam=act_led_trigger=cpu0 サーバー1 - マウントディスク まず、「Server 1」にNFSサービスをインストールする。このストレージは、後で私のコンテナ・クラスタに使用することができます。USBハードディスクを「サーバー1」に接続し、以下の説明を参考にEXT4でフォーマットしてみました。https://homecircuits.</description>
    </item>
    
    <item>
      <title>Raspberry PI：PI用CPUのヒートフリー化</title>
      <link>https://www.christian-knedel.de/ja/post/2020/february/20200214-rpi-cpu-temp/</link>
      <pubDate>Fri, 14 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2020/february/20200214-rpi-cpu-temp/</guid>
      <description>特定の温度でラズベリーのスイッチを切るならCrontab経由でCPUの温度をチェックするスクリプトがあるのですが。
#!/bin/sh # This script reads the Broadcom SoC temperature value and shuts down if it # exceeds a particular value. # 80ºC is the maximum allowed for a Raspberry Pi. # Get the reading from the sensor and strip the non-number parts SENSOR=&amp;quot;`/opt/vc/bin/vcgencmd measure_temp | cut -d &amp;quot;=&amp;quot; -f2 | cut -d &amp;quot;&#39;&amp;quot; -f1`&amp;quot; # -gt only deals with whole numbers, so round it. TEMP=&amp;quot;`/usr/bin/printf &amp;quot;%.</description>
    </item>
    
    <item>
      <title>RaspberryPiZeroWとLibreElecによるSmartTV。</title>
      <link>https://www.christian-knedel.de/ja/post/2019/july/20190717-libreelec/</link>
      <pubDate>Wed, 17 Jul 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2019/july/20190717-libreelec/</guid>
      <description>SmartTVは時限爆弾になりかねません。テレビのオペレーティングシステムには重大な欠陥があったり、最新の状態に保たれていないことがよくあります。良い解決策は、スタンドアロンのMediaPCオペレーティングシステムにすることができます。LibreElecは最弱のRaspberryで動作し、テレビのリモコンで操作することが可能です。LibreElecはSmartTvのOSよりもカスタマイズ性が高く、様々なアプリ/モジュールが提供されています。必要なものは、RaspberryZeroWと空のSDカードだけです。
ステップ1． Noobsのインストーラは、https://www.raspberrypi.org/downloads/noobs/ からダウンロードしてください。
ステップ2． 空のSDカードにこのZIPアーカイブを解凍してください。 &amp;ldquo;    &amp;rdquo; 完了！これで、RaspberryPiZeroとテレビを接続することができました。その後、インストールメニューが表示されます。 &amp;ldquo;    &amp;rdquo; ここで「LibreElec RPI」を選択し、「インストール」をクリックしてください。 &amp;ldquo;    &amp;rdquo; その後、インストールが終了し、ブート可能になります &amp;ldquo;    &amp;rdquo; これで、このMediaPcをNASなどの外部ソースに接続したり、Youtubeなどのアプリをインストールすることができるようになりました。楽しんできてください。
&amp;ldquo;    &amp;rdquo; すでに書いたように、CECコントローラー経由でテレビのリモコンを使うことも可能です。</description>
    </item>
    
    <item>
      <title>Atlassian でできること: Pimp my Bamboo Monitor</title>
      <link>https://www.christian-knedel.de/ja/post/2021/april/20210402-bamboo-monitor/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2021/april/20210402-bamboo-monitor/</guid>
      <description>Bamboo、Jenkins、Gitlab 用のビルドモニターを作成するにはどうしたらいいですか？今夜までに何とかします!すでに似たようなGitlab-Issue-Boardsのためのチュートリアルを書きました。    このチュートリアルのベースとなるのは、ラズベリーイメージャーと「Raspberry Pi OS Lite」オペレーティングシステムです。OSのインストールが完了すると、SDカードをラズパイに挿入できるようになります。私の場合、これはRaspberry Pi Zeroです。          ステップ1：Matchbox/Window Managerのインストール キオスクモードでラズベリーを操作するには、ウィンドウマネージャとブラウザが必要です。これらは、以下のコマンドでインストールします。 x  &amp;ndash;  +   Terminal   $ sudo apt-get install xorg nodm matchbox-window-manager uzbl xinit unclutter vim  
ステップ2：ダッシュボードユーザーを作成する 以下のコマンドで、&amp;ldquo;dashboard &amp;ldquo;というユーザーを新規に作成します。 x  &amp;ndash;  +   Terminal   $ sudo adduser dashboard  
ステップ3：xServerとWindow Managerの設定 以下の手順は、すべて「dashboard」ユーザーセッションで行う必要があります。suでセッションに変更する。 x  &amp;ndash;  +   Terminal   $ sudo su dashboard</description>
    </item>
    
  </channel>
</rss>
