Beaglebone Black: Difference between revisions
From Pumping Station One
m Bot: Cosmetic changes |
|||
| (3 intermediate revisions by one other user not shown) | |||
| Line 11: | Line 11: | ||
<code>/etc/hosts</code> | <code>/etc/hosts</code> | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
127.0.0.1 | 127.0.0.1 localhost | ||
127.0.1.1 | 127.0.1.1 new_host_name | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 23: | Line 23: | ||
While the unit is rebooting, it's worth watching the lights on the beaglebone to make sure you are rebooting the right one. | While the unit is rebooting, it's worth watching the lights on the beaglebone to make sure you are rebooting the right one. | ||
== Removing Stuff You Don't Need == | |||
<syntaxhighlight lang=bash> | |||
apt-get remove apache2 xorg | |||
</syntaxhighlight> | |||
== Upgrades == | == Upgrades == | ||
| Line 50: | Line 55: | ||
apt-get update | apt-get update | ||
apt-get dist-upgrade | apt-get dist-upgrade | ||
apt-get autoremove | |||
</syntaxhighlight> | </syntaxhighlight> | ||
This process usually fails a couple times, and even causes the beaglebone to lock up. | This process usually fails a couple times, and even causes the beaglebone to lock up. Expect to reboot and receive errors. The errors usually come with further instructions like <code>apt-get install -f</code> and <code>dpkg --configure -a</code> | ||
The dist-upgrade command will take many hours to complete. | The dist-upgrade command will take many hours to complete. | ||