UJP - 技術情報2 バックアップ : RapsberryPi3/002/FirstSetting のバックアップ差分(No.2)

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

1: 2016-07-03 (日) 12:25:28 nobuaki ソース 2: 2016-07-03 (日) 17:47:13 nobuaki ソース
Line 7: Line 7:
**SSH接続する [#j1050cce] **SSH接続する [#j1050cce]
- デフォルトでSSHサーバが起動して接続できる様になっている.今回の場合は,192.168.0.3になっているが,IPアドレスを調べて,リモート接続してみる.+ デフォルトでSSHサーバが起動して接続できる様になっている.今回の場合は,192.168.0.3になっているが,IPアドレスを調べて,リモート接続してみ 
 + 
 +る.
 デフォルトで用意されているユーザIDのpiで接続.  デフォルトで用意されているユーザIDのpiで接続.
Line 229: Line 231:
 接続できた.  接続できた.
 +
 +**SDカード領域の拡張(raspi-config) [#x508707f]
 +
 + SDカードの容量全てを利用できる様に設定する.
 + rootユーザでraspi-configコマンドを実行.
 +
 + root@raspberrypi:/home/pi# raspi-config
 + root@raspberrypi:/home/pi#
 +
 + 次の様な画面が表示.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=3481&raspberrypiDiskExpand1.jpg,center,mw:600,mh:600)
 + Expand Filesystemを選択する.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=3482&raspberrypiDiskExpand2.jpg,center,mw:600,mh:600)
 + 今回,NOOBSでインストールしているので作業不要の模様.raspi-configを終了してdfコマンドで確認してみる.
 +
 + root@raspberrypi:/home/pi# df -h
 + Filesystem      Size  Used Avail Use% Mounted on
 + /dev/root        28G  3.4G  24G  13% /
 + devtmpfs        459M    0  459M  0% /dev
 + tmpfs          463M    0  463M  0% /dev/shm
 + tmpfs          463M  6.4M  457M  2% /run
 + tmpfs          5.0M  4.0K  5.0M  1% /run/lock
 + tmpfs          463M    0  463M  0% /sys/fs/cgroup
 + /dev/mmcblk0p6  63M  20M  43M  32% /boot
 + tmpfs            93M    0  93M  0% /run/user/1000
 + /dev/mmcblk0p5  30M  437K  28M  2% /media/pi/SETTINGS
 + root@raspberrypi:/home/pi#
 +
 + 空き領域が24Gあるので,たぶん32GBのSDカード全体を使える様になっている模様.
 +
 +**インターナショナル設定(raspi-config) [#h2de7f83]
 +
 + raspi-configのInternationalisation Optionにて,言語,タイムゾーン,キーボード設定を行う.
 +
 +***言語LANG設定 [#l2b589e6]
 +
 + raspi-configのトップメニューにあるInternationalisation Option選択する.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=3483&RapsberryInternationalSetting00001.jpg,center)
 + まずはLocale設定.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3484&RapsberryInternationalSetting00002.jpg,center)
 + Raspberry Pi3はイギリス製なので,言語設定のデフォルトがen_GB.UTF-8になっている.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3485&RapsberryInternationalSetting00003.jpg,center)
 + ja_JP.UTF-8を選択.選択するにはスペースキーを押せば良い.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3486&RapsberryInternationalSetting00004.jpg,center)
 + Debianの文字が見て取れる.ユーザのデフォルトの言語設定を選べるので,ja_JP.UTF-8を選択する.
 + 選択するとトップ画面に戻る.
 +
 +***Timezoneの変更 [#be266a19]
 +
 + タイムゾーンは,東京に変更する.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3487&RapsberryInternationalSetting00005.jpg,center)
 + raspi-configのトップメニューにあるInternationalisation Option選択する.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3488&RapsberryInternationalSetting00006.jpg,center)
 + Change Timezoneを選択.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3489&RapsberryInternationalSetting00007.jpg,center)
 + Asiaを選択.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3490&RapsberryInternationalSetting00008.jpg,center)
 + Tokyoを見つけて選択.アルファベットオーダーなのでTはかなりスクロールが必要.
 + 選択するとトップ画面に戻る.
 +
 +***キーボードレイアウトの選択 [#g32a6d96]
 +
 + 日本語キーボードを選択する.
 + raspi-configのトップメニューにあるInternationalisation Option選択する.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3491&RapsberryInternationalSetting00009.jpg,center)
 + Change Keyboard Layoutを選択.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3492&RapsberryInternationalSetting00010.jpg,center)
 + 106キーボードがないので,Generic 105-keyを選択する.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3493&RapsberryInternationalSetting00011.jpg,center)
 + キーボードレイアウトに該当するものが無いので,Otherを選択.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3494&RapsberryInternationalSetting00012.jpg,center)
 + Japaneseを選択.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3495&RapsberryInternationalSetting00013.jpg,center)
 + Japaneseを選択.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3496&RapsberryInternationalSetting00014.jpg,center)
 + AltGRキーについて設定.一部の国のキーボードレイアウトだと,スペースキーの右横あたりにAltGRというキーがある.これはCtrl+Altと同じ意味のキーアサインのようだ. そんなキーを持ってないので,The Default for the keyboard layoutを選択.
 +#ref(site://modules/xelfinder/index.php?page=view&file=3497&RapsberryInternationalSetting00015.jpg,center)
 + Control+Alt+Backspaceの同時押しでXサーバを停止するかと聞かれているので,Yesを選択.XサーバとはざっくりとGUIのこと.


トップ   差分 バックアップ 複製 名前変更 リロード   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom
Counter: 2028, today: 2, yesterday: 0

広告スペース
Google