Install Ubuntu Server on Raspberry Pi: Difference between revisions
Jump to navigation
Jump to search
Line 86: | Line 86: | ||
* [https://github.com/DavidUnboxed/Ubuntu-20.04-WiFi-RaspberyPi4B Headless Install using <code>network-config</code> and <code>user-data</code>] | * [https://github.com/DavidUnboxed/Ubuntu-20.04-WiFi-RaspberyPi4B Headless Install using <code>network-config</code> and <code>user-data</code>] | ||
* [https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04 Install and Configure VNC on Ubuntu 20.04] | * [https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04 Install and Configure VNC on Ubuntu 20.04] | ||
* [https://stackoverflow.com/questions/59379842/ Ubuntu XRDP Encounter a Black Screen] | |||
* [https://ubuntu.com/server/docs/network-configuration Ubuntu Network Configuration] | * [https://ubuntu.com/server/docs/network-configuration Ubuntu Network Configuration] | ||
* [https://ubuntu.com/tutorials/access-remote-desktop Remmina a remote desktop] | * [https://ubuntu.com/tutorials/access-remote-desktop Remmina a remote desktop] | ||
|} | |} |
Revision as of 02:26, 28 March 2021
Network
ls -lah /Volumes/system-boot/|grep network-config
cat <<EOF > /Volumes/system-boot/network-config
version: 2
renderer: networkd
wifis:
wlan0:
dhcp4: true
dhcp6: true
optional: true
access-points:
"ChorkeOrg_2.4GHz":
password: "medisys@bd/0A"
EOF
ls -lah /Volumes/system-boot/|grep user-data
cat <<EOF > /Volumes/system-boot/user-data
chpasswd:
expire: true
list:
- ubuntu:ubuntu
ssh_pwauth: true
power_state:
mode: reboot
EOF
Upgrade
apt update apt list --installed
apt upgrade apt install net-tools apt install remmina remmina-plugin-vnc
RDP Server
apt install ubuntu-desktop apt install xrdp
echo gnome-session > ~/.xsession chmod +x ~/.xsession sudo reboot
systemctl enable xrdp systemctl status xrdp systemctl restart xrdp
SSH Server
apt install ssh
Lightweight
apt install synaptic apt remove --purge libreoffice* apt clean; apt autoremove
Knowledge
# mac or linux os
apt install net-tools
arp -na | grep -i "b8:27:eb"
arp -na | grep -i "dc:a6:32"
# windows os
arp -a | findstr b8-27-eb
arp -a | findstr dc-a6-32