raspberrypi/起動後の設定
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
[[FrontPage]]
#contents
2012/11/04からのアクセス回数 &counter;
** Wifiの設定 [#h2808dbc]
起動後に行うのは、USB-Wifiドングルの設定です。((最初の起...
&ref(Wifi-setting.png);
設定時にRaspberryのIPアドレスをメモしておいてください。
今後の設定はパソコンのターミナルから行うので、起動時にX-W...
#pre{{
$ sudo raspi-config
}}
最初の起動で設定をした画面がでますので、boot_behaviourか...
** PCからsshで接続 [#s05eb534]
Mac OSXのターミナルソフト(Windowsの場合、TeraTerm等のソ...
#pre{{
$ ssh -l pi 先にメモったIPアドレス
$ ssh pi@192.168.1.103
The authenticity of host '192.168.1.103 (192.168.1.103)' ...
RSA key fingerprint is 13:d8:81:f0:e9:46:02:41:e0:54:f5:5...
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.103' (RSA) to the l...
pi@192.168.1.103's password:
Linux raspberrypi 3.2.27+ #160 PREEMPT Mon Sep 17 23:18:4...
The programs included with the Debian GNU/Linux system ar...
the exact distribution terms for each program are describ...
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to th...
permitted by applicable law.
pi@raspberrypi ~ $
}}
初期設定では、Raspberry Piのユーザpiのパスワードはrespber...
最初の接続時に上記のように接続確認がでますので、yesと入力...
** アプリケーションのインストール [#x096a7e8]
続いて、apt-getを使って必要なアプリケーションをインストー...
#pre{{
$ sudo apt-get update
Get:1 http://mirrordirector.raspbian.org wheezy InRelease...
Get:2 http://archive.raspberrypi.org wheezy InRelease [7,...
途中省略
Ign http://mirrordirector.raspbian.org wheezy/rpi Transla...
Fetched 7,473 kB in 2min 35s (48.0 kB/s) ...
Reading package lists... Done
}}
これで準備完了、以下のアプリケーションとリソースをインス...
- VNCサーバ
- 日本語フォント
- パッケージ検索ソフトapt-file
apt-getを使ってアプリケーションをインストールするときには...
#pre{{
$ sudo apt-get install tightvncserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
x11-xserver-utils xfonts-base xfonts-encodings xfonts-u...
Suggested packages:
tightvnc-java nickle cairo-5c xorg-docs-core
The following NEW packages will be installed:
tightvncserver x11-xserver-utils xfonts-base xfonts-enc...
0 upgraded, 5 newly installed, 0 to remove and 87 not upg...
Need to get 7,824 kB of archives.
After this operation, 11.7 MB of additional disk space wi...
Do you want to continue [Y/n]?
}}
継続するか確認してきますので、そのままリターンキーを入力...
次に日本語フォントをインストールします。
#pre{{
$ sudo apt-get install ttf-takao-mincho
$ sudo apt-get install ttf-takao
}}
同様にapt-fileをインストールします。
#pre{{
$ sudo apt-get install apt-file
}}
apt-fileのデータベースも更新します。
#pre{{
$ sudo apt-file update
}}
** VNCサーバの起動 [#x562ee42]
簡単にVNCサーバを起動できるようにコマンドを1個のスクリプ...
#pre{{
$ cat <<EOF >StartVNC.sh
vncserver :1 -geometry 1024x728 -depth 24
EOF
$ chmod +x StartVNC.sh
}}
VNCサーバを起動するときには、以下のように入力します。
#pre{{
$ ./StartVNC.sh
You will require a password to access your desktops.
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
New 'X' desktop is raspberrypi:1
Creating default startup script /home/pi/.vnc/xstartup
Starting applications specified in /home/pi/.vnc/xstartup
Log file is /home/pi/.vnc/raspberrypi:1.log
}}
最初の起動時にパスワードとview-onlyのパスワード設定を要求...
*** VNCクライアントからpiを操作する [#pf6c38ec]
ようやくVNCクライアントからpiにアクセスすることができるよ...
&ref(VNC-client.png);
** タイムゾーンの設定 [#nb3160ac]
正しい時刻を表示するようにタイムゾーンを設定します。
VNCクライアントを終了し、VNSサーバを起動したSSHの画面に戻...
#pre{{
$ sudo raspi-config
Current default time zone: 'Asia/Tokyo'
Local time is now: Sun Nov 4 16:43:48 JST 2012.
Universal Time is now: Sun Nov 4 07:43:48 UTC 2012.
}}
change_timezoneを選択し、Asia→Tokyoを選択します。
これで起動後の設定は完了です。
** コメント [#rc1f1933]
#vote(おもしろかった[20],そうでもない[0],わかりずらい[0])
皆様のご意見、ご希望をお待ちしております。
- パスワードの resp -> raspです。小さなことですみません。...
- Mac を使ってVNCサーバの起動まできました。VNCサーバの起...
- Mac のFinder にある「 VNCサーバーへの接続」をクリックし...
- ysatoさま、コメントに気づかず申し訳ありません。Raspberr...
- Mac からVNC接続ができたのですが、画面の中での操作がまど...
- Raspberry Pi で Mathematica が使えることを書きました。h...
- ysatoさま、これはMathmaticaのノートブックが、Raspberry ...
- はじめのイメージは、Mathmaticaのノートブックが、Raspber...
- Mac のFinder にある「 VNCサーバーへの接続」は遅い。VNC ...
- Raspberry Pi用のMathmaticaは無料なのですか? -- [[竹本...
- Raspberry Pi のOSをダウンロードすると Mathematica は無...
- ysatoさま、貴重な情報ありがとうございます。 -- [[竹本 ...
- Mac からRaspberryPi にフィルをコピーしたいのですが rcp ...
- Raspberry Pi で scp を使えばコピーできる。rcp は使えな...
- Wifi 設定を wpa gui を使って行ったが成功しない。次のweb...
- ysatoさま、私はGUIを使った設定で問題なくできました。バ...
- もしかしたら、wifiの設定を変更した後に、リブートが必要...
- NOOBS_v1.4.2 をダウンロードしてRaspberry Pi 2 にインス...
- きっと他のコマンドに置きかわったのだと思うのですが、そ...
- Wifi 設定が簡単になりました。http://mag.switch-science....
- システムに組み込まれた感じですね。良かった! -- [[竹本...
- Raspbian Jessie の環境整備のメモを作ってみました。http:...
#comment_kcaptcha
終了行:
[[FrontPage]]
#contents
2012/11/04からのアクセス回数 &counter;
** Wifiの設定 [#h2808dbc]
起動後に行うのは、USB-Wifiドングルの設定です。((最初の起...
&ref(Wifi-setting.png);
設定時にRaspberryのIPアドレスをメモしておいてください。
今後の設定はパソコンのターミナルから行うので、起動時にX-W...
#pre{{
$ sudo raspi-config
}}
最初の起動で設定をした画面がでますので、boot_behaviourか...
** PCからsshで接続 [#s05eb534]
Mac OSXのターミナルソフト(Windowsの場合、TeraTerm等のソ...
#pre{{
$ ssh -l pi 先にメモったIPアドレス
$ ssh pi@192.168.1.103
The authenticity of host '192.168.1.103 (192.168.1.103)' ...
RSA key fingerprint is 13:d8:81:f0:e9:46:02:41:e0:54:f5:5...
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.103' (RSA) to the l...
pi@192.168.1.103's password:
Linux raspberrypi 3.2.27+ #160 PREEMPT Mon Sep 17 23:18:4...
The programs included with the Debian GNU/Linux system ar...
the exact distribution terms for each program are describ...
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to th...
permitted by applicable law.
pi@raspberrypi ~ $
}}
初期設定では、Raspberry Piのユーザpiのパスワードはrespber...
最初の接続時に上記のように接続確認がでますので、yesと入力...
** アプリケーションのインストール [#x096a7e8]
続いて、apt-getを使って必要なアプリケーションをインストー...
#pre{{
$ sudo apt-get update
Get:1 http://mirrordirector.raspbian.org wheezy InRelease...
Get:2 http://archive.raspberrypi.org wheezy InRelease [7,...
途中省略
Ign http://mirrordirector.raspbian.org wheezy/rpi Transla...
Fetched 7,473 kB in 2min 35s (48.0 kB/s) ...
Reading package lists... Done
}}
これで準備完了、以下のアプリケーションとリソースをインス...
- VNCサーバ
- 日本語フォント
- パッケージ検索ソフトapt-file
apt-getを使ってアプリケーションをインストールするときには...
#pre{{
$ sudo apt-get install tightvncserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
x11-xserver-utils xfonts-base xfonts-encodings xfonts-u...
Suggested packages:
tightvnc-java nickle cairo-5c xorg-docs-core
The following NEW packages will be installed:
tightvncserver x11-xserver-utils xfonts-base xfonts-enc...
0 upgraded, 5 newly installed, 0 to remove and 87 not upg...
Need to get 7,824 kB of archives.
After this operation, 11.7 MB of additional disk space wi...
Do you want to continue [Y/n]?
}}
継続するか確認してきますので、そのままリターンキーを入力...
次に日本語フォントをインストールします。
#pre{{
$ sudo apt-get install ttf-takao-mincho
$ sudo apt-get install ttf-takao
}}
同様にapt-fileをインストールします。
#pre{{
$ sudo apt-get install apt-file
}}
apt-fileのデータベースも更新します。
#pre{{
$ sudo apt-file update
}}
** VNCサーバの起動 [#x562ee42]
簡単にVNCサーバを起動できるようにコマンドを1個のスクリプ...
#pre{{
$ cat <<EOF >StartVNC.sh
vncserver :1 -geometry 1024x728 -depth 24
EOF
$ chmod +x StartVNC.sh
}}
VNCサーバを起動するときには、以下のように入力します。
#pre{{
$ ./StartVNC.sh
You will require a password to access your desktops.
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
New 'X' desktop is raspberrypi:1
Creating default startup script /home/pi/.vnc/xstartup
Starting applications specified in /home/pi/.vnc/xstartup
Log file is /home/pi/.vnc/raspberrypi:1.log
}}
最初の起動時にパスワードとview-onlyのパスワード設定を要求...
*** VNCクライアントからpiを操作する [#pf6c38ec]
ようやくVNCクライアントからpiにアクセスすることができるよ...
&ref(VNC-client.png);
** タイムゾーンの設定 [#nb3160ac]
正しい時刻を表示するようにタイムゾーンを設定します。
VNCクライアントを終了し、VNSサーバを起動したSSHの画面に戻...
#pre{{
$ sudo raspi-config
Current default time zone: 'Asia/Tokyo'
Local time is now: Sun Nov 4 16:43:48 JST 2012.
Universal Time is now: Sun Nov 4 07:43:48 UTC 2012.
}}
change_timezoneを選択し、Asia→Tokyoを選択します。
これで起動後の設定は完了です。
** コメント [#rc1f1933]
#vote(おもしろかった[20],そうでもない[0],わかりずらい[0])
皆様のご意見、ご希望をお待ちしております。
- パスワードの resp -> raspです。小さなことですみません。...
- Mac を使ってVNCサーバの起動まできました。VNCサーバの起...
- Mac のFinder にある「 VNCサーバーへの接続」をクリックし...
- ysatoさま、コメントに気づかず申し訳ありません。Raspberr...
- Mac からVNC接続ができたのですが、画面の中での操作がまど...
- Raspberry Pi で Mathematica が使えることを書きました。h...
- ysatoさま、これはMathmaticaのノートブックが、Raspberry ...
- はじめのイメージは、Mathmaticaのノートブックが、Raspber...
- Mac のFinder にある「 VNCサーバーへの接続」は遅い。VNC ...
- Raspberry Pi用のMathmaticaは無料なのですか? -- [[竹本...
- Raspberry Pi のOSをダウンロードすると Mathematica は無...
- ysatoさま、貴重な情報ありがとうございます。 -- [[竹本 ...
- Mac からRaspberryPi にフィルをコピーしたいのですが rcp ...
- Raspberry Pi で scp を使えばコピーできる。rcp は使えな...
- Wifi 設定を wpa gui を使って行ったが成功しない。次のweb...
- ysatoさま、私はGUIを使った設定で問題なくできました。バ...
- もしかしたら、wifiの設定を変更した後に、リブートが必要...
- NOOBS_v1.4.2 をダウンロードしてRaspberry Pi 2 にインス...
- きっと他のコマンドに置きかわったのだと思うのですが、そ...
- Wifi 設定が簡単になりました。http://mag.switch-science....
- システムに組み込まれた感じですね。良かった! -- [[竹本...
- Raspbian Jessie の環境整備のメモを作ってみました。http:...
#comment_kcaptcha
ページ名:
SmartDoc