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

Nächste Überarbeitung
Vorhergehende Überarbeitung
projekte:banana-pro:start [2016/03/02 19:18] – angelegt 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 ======
  
 +===== Writing the OS image to a SD card =====
 +
 +<code bash>
 +# Linux example: /dev/sdx is your sd card device
 +sudo dd bs=1M if=filename.raw of=/dev/sdx
 +sudo sync
 +sudo umount /dev/sdx
 +</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).
 +===== First steps in Armbian =====
 +
 +Default user: ''root''\\
 +Password: ''1234''
 +
 +Armbian request to create a new user and change the default password for root on the first startup.
 +
 +<code bash>
 +sudo su
 +dpkg-reconfigure keyboard-configuration
 +dpkg-reconfigure locales
 +dpkg-reconfigure tzdata
 +reboot
 +apt-get update
 +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>
projekte/banana-pro/start.1456942715.txt.gz · Zuletzt geändert: 2016/03/02 19:18 von daniel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki