This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
rpi:raspberrypi [2020/04/22 14:22] nanjo |
rpi:raspberrypi [2020/04/30 05:03] (current) nanjo [Initial setup (apt)] |
||
---|---|---|---|
Line 56: | Line 56: | ||
- PC側からsshで接続する。Macのターミナルから''ssh pi@...(RPiのIP)...'' | - PC側からsshで接続する。Macのターミナルから''ssh pi@...(RPiのIP)...'' | ||
- 初期password、''raspberry''を使ってlogin | - 初期password、''raspberry''を使ってlogin | ||
+ | ==== For Linux beginners ==== | ||
+ | https://www.raspberrypi.org/documentation/linux/ | ||
==== Initial setup (raspi-config)==== | ==== Initial setup (raspi-config)==== | ||
https://www.raspberrypi.org/documentation/configuration/raspi-config.md\\ | https://www.raspberrypi.org/documentation/configuration/raspi-config.md\\ | ||
ssh接続をした状態で、\\ | ssh接続をした状態で、\\ | ||
- | ''sudo rasps-config''\\ | + | ''sudo raspi-config''\\ |
として、下の項目を設定する。 | として、下の項目を設定する。 | ||
- Update ...raspi-configそのものを最新にupdate | - Update ...raspi-configそのものを最新にupdate | ||
Line 67: | Line 69: | ||
- Localization Options => Change locale => ja_JP.utf8, Default=C.utf8 | - Localization Options => Change locale => ja_JP.utf8, Default=C.utf8 | ||
- Localization Options => Change time zone => Asia => Tokyo | - Localization Options => Change time zone => Asia => Tokyo | ||
+ | - Localization Options => Change Wifi Countries => JP Japan | ||
- Interfacing Options => VNC on ...VNC(Virtual Network Connection)でリモートデスクトップ可。RealVNCのサーバが稼働するようになる。 | - Interfacing Options => VNC on ...VNC(Virtual Network Connection)でリモートデスクトップ可。RealVNCのサーバが稼働するようになる。 | ||
- Advanced Options => Expand Filesystem ...SDカード全領域を利用できるようになる | - Advanced Options => Expand Filesystem ...SDカード全領域を利用できるようになる | ||
Line 73: | Line 76: | ||
==== Initial setup (apt)==== | ==== Initial setup (apt)==== | ||
ssh接続した状態で | ssh接続した状態で | ||
- | - ''apt update'' | + | - ''sudo apt update'' |
- | - ''apt upgrade'' | + | - ''sudo apt upgrade'' |
- ''exit''でssh接続解除。 | - ''exit''でssh接続解除。 | ||
==== VNC接続 ==== | ==== VNC接続 ==== | ||
Line 86: | Line 89: | ||
{{:rpi:スクリーンショット_2020-04-20_0.07.36.png?200|}} | {{:rpi:スクリーンショット_2020-04-20_0.07.36.png?200|}} | ||
{{:rpi:auth.png?200|}} | {{:rpi:auth.png?200|}} | ||
- | {{:rpi:スクリーンショット_2020-04-20_0.08.59.png?200|}} | + | {{:rpi:login.png?200|}} |
===== Useful software ===== | ===== Useful software ===== | ||
- | sudo apt install ibus-mozc | + | # Japanese input |
+ | sudo apt install ibus-mozc | ||
#再起動 | #再起動 | ||
- | #Custom setup of HN | ||
#GUI menu->preference->IBus Preferences->Input methods->Add->Japanese->Japanese-Mozc | #GUI menu->preference->IBus Preferences->Input methods->Add->Japanese->Japanese-Mozc | ||
- | #GUI menu->preference->IBus Preferences->General->Keyboard shortcut->Shift space | + | #(Custom setup of me)GUI menu->preference->IBus Preferences->General->Keyboard shortcut->Shift space |
- | #GUI menu->preference->Mozc Setup->General->Key map style->Customize->Hiragan=Ctrl \ | + | #(Custom setup of me)GUI menu->preference->Mozc Setup->General->Key map style->Customize->Hiragan=Ctrl \ |
- | sudo apt install emacs | + | |
- | sudo apt install emacs-mozc | + | # editor |
+ | sudo apt install emacs emacs-mozc | ||
+ | |||
+ | # text-based web browser | ||
sudo apt install w3m w3m-img | sudo apt install w3m w3m-img | ||
+ | | ||
+ | # text-based calculator | ||
sudo apt install apcalc | sudo apt install apcalc | ||
+ | | ||
+ | #Latex | ||
sudo apt install texlive-lang-cjk | sudo apt install texlive-lang-cjk | ||
sudo apt install yatex | sudo apt install yatex | ||
+ | | ||
+ | #PDF viewer | ||
sudo apt install evince | sudo apt install evince | ||
===== Misc. ===== | ===== Misc. ===== | ||
Line 123: | Line 135: | ||
(setq YaTeX-kanji-code nil) | (setq YaTeX-kanji-code nil) | ||
(setq YaTeX-latex-message-code 'utf-8) | (setq YaTeX-latex-message-code 'utf-8) | ||
- | (setq tex-command "pdflatex") | + | (setq tex-command "platex") |
(setq dvi2-command "evince") | (setq dvi2-command "evince") | ||
(setq YaTeX-inhibit-prefix-letter t) | (setq YaTeX-inhibit-prefix-letter t) | ||
(setq bibtex-command "bibtex") | (setq bibtex-command "bibtex") | ||
+ | (prefer-coding-system 'utf-8) | ||
</file> | </file> | ||