Installing Ubuntu Server
Installing Ubuntu Server on Raspberry Pi 3 Headless
To write ubuntu server image use etcher first.
Download and install Raspberry Pi Imager. https://www.raspberrypi.org/software/
Download the ubuntu server image from the following link according to Raspberry Pi Version. https://ubuntu.com/download/raspberry-pi
now right click on downloaded image and open with Raspberry Pi Imager, then select the right card and then wirte.
- Now eject the cardreader then insert again into pc then edit the
network-configfile, with the configuration file.
don’t forget the fucking blank line at the end of
# This file contains a netplan-compatible configuration which cloud-init # will apply on first-boot. Please refer to the cloud-init documentation and # the netplan reference for full details: # # https://cloudinit.readthedocs.io/ # https://netplan.io/reference # # Some additional examples are commented out below version: 2 ethernets: eth0: dhcp4: true optional: true wifis: wlan0: dhcp4: true optional: true access-points: Home: password: "fdsa1234"
- now edit the
user-datafile and enter two lines at the end of the file
- Discover ip address from router interface or type
arp -a | findstr b8-27-ebin command prompt, you will get ip address.
use this command to remove the old ssh entry. ssh-keygen -R 192.168.1.123