mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-14 09:29:15 +00:00
1.1 KiB
1.1 KiB
Setup Base Image (ROCKPro64)
-
After Armbian Flash
- Login with root / 1234
- Change root password to something longish like boltbolt
- Create admin user with password bolt
-
Login as admin
-
Delete root password
sudo passwd -d root
-
Set hostname
echo "mynode" | sudo tee /etc/hostname sudo sed -i 's/rock64/mynode/g' /etc/hosts # OR armbian-config -> Personal -> Hostname
-
Update packages
sudo apt-get update sudo apt-get -y upgrade
-
Install some necessary tools
sudo apt-get -y install network-manager tmux
-
Regenerate MAC Address for RockPro64
. /usr/lib/armbian/armbian-common CONNECTION="$(nmcli -f UUID,ACTIVE,DEVICE,TYPE connection show --active | tail -n1)" UUID=$(awk -F" " '/ethernet/ {print $1}' <<< "${CONNECTION}") get_random_mac nmcli connection modify $UUID ethernet.cloned-mac-address $MACADDR nmcli connection modify $UUID -ethernet.mac-address ""
-
Sync
sync sudo shutdown -h now
-
Make image now (if imaging)