Raspberry Pi 3 i Ubuntu Server


Descarregar iso i gravar en targeta microSD

Download i descomprimir

$ sudo fdisk-l #per vorer on està muntada la targeta
$ sudo dd bs=1M if=ubuntu-16.04-preinstalled-server-armhf+raspi3.img of=/dev/sdb

#Configurar ip fitxa

$ sudo nano /etc/network/interfaces


# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
# source-directory /etc/network/interfaces.d

  # The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
# iface eth0 inet dhcp
address 192.168.1.30
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 87.216.1.65 87.216.1.66

Per averiguar les dns nmcli device show eth0 | grep IP4.DNS

$ sudo reboot

Comprovar configuració ifconfig i un ping www.google.es

LAMP server, phpmyadmin i Open ssh fàcil

$ sudo apt-get install tasksel
$ sudo tasksel

$ apt-get install phpmyadmin

$ sudo apt-get autoremove
$ sudo apt-get autoclean

$ sudo apt-get install -f
$ sudo dpkg --configure -a

font: http://agrportfolioeducativo.blogspot.com.es/2016/08/listado-raspberry-pi.html

Comentaris