2019-06-15 23:02:44 +00:00
|
|
|
###
|
|
|
|
### Setup Base OS
|
|
|
|
###
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# Overclock
|
|
|
|
sudo sed -i "s/MAX_SPEED=.*/MAX_SPEED=1510000/" /etc/default/cpufrequtils
|
2019-06-26 04:15:07 +00:00
|
|
|
sudo systemctl restart cpufrequtils
|
|
|
|
|
2019-07-13 18:25:22 +00:00
|
|
|
# Update packages
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get -y upgrade
|
|
|
|
|
2019-06-26 04:15:07 +00:00
|
|
|
# Sync
|
|
|
|
sync
|
|
|
|
|
|
|
|
######################
|
|
|
|
### MAKE IMAGE NOW ###
|
|
|
|
######################
|