Daniels Lab Wiki

It is worth noting that.

Benutzer-Werkzeuge

Webseiten-Werkzeuge


projekte:banana-pro:start

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
projekte:banana-pro:start [2016/03/09 23:12] – [Erste Schritte in Armbian] danielprojekte:banana-pro:start [2016/04/19 03:48] (aktuell) – [First steps in Armbian] daniel
Zeile 1: Zeile 1:
 ====== LeMaker Banana Pro ====== ====== LeMaker Banana Pro ======
  
-===== Write a OS image to a SD card =====+===== Writing the OS image to a SD card =====
  
 <code bash> <code bash>
 # Linux example: /dev/sdx is your sd card device # Linux example: /dev/sdx is your sd card device
-dd bs=1M if=filename.raw of=/dev/sdx+sudo dd bs=1M if=filename.raw of=/dev/sdx 
 +sudo sync 
 +sudo umount /dev/sdx
 </code> </code>
- +Change ''/dev/sdx'' to your sd card device (don't specify a partition like /dev/sdx<del>**1**</del>. dd will write the image to your sd card but the result is a broken boot medium). 
-===== Erste Schritte in Armbian =====+===== First steps in Armbian =====
  
 Default user: ''root''\\ Default user: ''root''\\
 Password: ''1234'' Password: ''1234''
 +
 +Armbian request to create a new user and change the default password for root on the first startup.
  
 <code bash> <code bash>
 +sudo su
 dpkg-reconfigure keyboard-configuration dpkg-reconfigure keyboard-configuration
 dpkg-reconfigure locales dpkg-reconfigure locales
Zeile 20: Zeile 25:
 apt-get update apt-get update
 apt-get upgrade apt-get upgrade
 +</code>
 +
 +Change hostname from ''bananapipro'' to a custom name.
 +<code bash>
 +sudo su
 +# edit /etc/hostname
 +nano /etc/hostname
 +
 +#edit /etc/hosts and change all "bananapipro" to your new hostname
 +nano /etc/hosts
 +
 +  #old:
 +  #127.0.0.1   localhost bananapipro
 +  #::1         localhost bananapipro ip6-localhost ip6-loopback
 +
 +  #new:
 +  127.0.0.1   localhost myhostname
 +  ::1         localhost myhostname ip6-localhost ip6-loopback
 +  fe00::    ip6-localnet
 +  ff00::    ip6-mcastprefix
 +  ff02::    ip6-allnodes
 +  ff02::    ip6-allrouters
 +
 +# restart the system
 +reboot
 +</code>
 +
 +Update ssh keys
 +<code bash>
 +sudo rm /etc/ssh/ssh_host_*
 +sudo dpkg-reconfigure openssh-server
 +</code>
 +
 +Disable ssh root login
 +<code bash>
 +sudo nano /etc/ssh/sshd_config
 +# alter option
 +PermitRootLogin no
 +AllowUsers <user1> <user2> <user3>
 </code> </code>
projekte/banana-pro/start.1457561540.txt.gz · Zuletzt geändert: 2016/03/09 23:12 von daniel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki