User Tools

Site Tools


raspberry_ubuntu_server

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
raspberry_ubuntu_server [2020/12/06 08:59] – [Ubuntu server 64bit] herwarthraspberry_ubuntu_server [2020/12/06 09:49] (current) herwarth
Line 7: Line 7:
  
 Use Etcher or whatever to install the downloaded zip on a SD card. Use Etcher or whatever to install the downloaded zip on a SD card.
 +==== Update and initial settings ==== 
 +Default user/pass is ubuntu/ubuntu. It take some minutes to be able to login. 
 +<code> 
 +apt update 
 +apt upgrade -y 
 +</code> 
 +===Timezone and time settings=== 
 +<code> 
 +dpkg-reconfige tzdata 
 +</code> 
 +<code - /etc/systemd/timesyncd.conf> 
 +[Time] 
 +NTP=172.16.0.254 
 +#RootDistanceMaxSec=5 
 +#PollIntervalMinSec=32 
 +#PollIntervalMaxSec=2048 
 +</code> 
 +===Remove unnecessary packages=== 
 +<code> 
 +apt purge cloud-init 
 +rm -rf /etc/cloud 
 +rm -rd /var/lib/cloud 
 +rm /etc/netplan/50-cloud-init.yaml 
 +</code> 
 +<code - /etc/netplan/01-netcfg.yaml> 
 +network: 
 +  version: 2 
 +  renderer: networkd 
 +  ethernets: 
 +    eth0: 
 +      dhcp4: true 
 +</code> 
 +<code> 
 +apt purge apparmor 
 +</code> 
 +<code> 
 +hostnamectl set-hostname raspberry 
 +reboot 
 +</code> 
 +{{tag>linux}}
raspberry_ubuntu_server.1607245152.txt.gz · Last modified: by herwarth