User Tools

Site Tools


rpi:raspberrypi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rpi:raspberrypi [2020/04/22 14:31]
nanjo [Initial setup (raspi-config)]
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 74: 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 90: Line 92:
  
 ===== 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 124: 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>​
  
  
rpi/raspberrypi.1587565908.txt.gz · Last modified: 2020/04/22 14:31 by nanjo