How to Safely Shutdown or Reboot Your Raspberry Pi
Title says it all, but there’s a bit more useful information too. Personally, I’ve always used “sudo halt”.
Title says it all, but there’s a bit more useful information too. Personally, I’ve always used “sudo halt”.
This post will only interest you if you’re using a Mac. AFP (Apple Filing Protocol) is the protocol Macs use to share files over a network. This post will guide you through setting this up using Netatalk. It will also cover setting it up to be easily accessible without the IP address.
To install Netatalk, simply use apt-get:
sudo apt-get install netatalk”You should now be able to access your Raspberry Pi from the Finder side bar and under Network (shift + command + k).

EDIT: The remainder of this post is now outdated and should not be required once you have installed netatalk.
This installs 2.1.2 of Netatalk which is not the latest (2.2.3 at time of writing) which may cause issues with using this for Time Machine and with Lion, although I have not experienced any issues on my two Lion machines. My attempts at installing 2.2.3 failed though I’m sure it’s possible.
When apt-get has finished, you can connect from the Mac:

sudo apt-get install avahi-daemon”.sudo update-rc.d avahi-daemon defaults”.sudo nano /etc/avahi/services/afpd.service”. Enter (or copy/paste) the following: <?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
</service-group> sudo /etc/init.d/avahi-daemon restart”
The RPi version of Debian comes with the Midori web browser, but you might want something a bit more mainstream, so try why not Chromium.
To install simply run “sudo apt-get install chromium-browser” from the command line and it will appear under Internet in the Application menu (icon in the bottom left corner).
So you’ve got your Raspberry Pi setup, but what if you don’t have a dedicated monitor to use with it (for example, mine’s connected to my TV). How can you use it without disrupting your setup? VNC (Virtual Network Computing) allows you to see your Pi’s desktop and control it remotely using another computer running Mac OS X, Windows or Linux (and other devices too).
The VNC server software runs on your RPi, access it by running VNC client software on your other device.
The VNC Server
There are various guides for this online, most suggest using the TightVNC server software, here’s my summarised need to know version, run all commands from the command line:
Notes:
The VNC Viewer/Client
There are lots of VNC clients you can use, depending on your platform. I’m using Apple’s Remote Desktop software which is incredibly powerful (especially when administering Macs) but is overkill if you are just using it with your RPi. TightVNC has a free client application, there’s a native Windows version and a surprisingly good (but limited) Java version, which should run on any desktop/laptop system. A Google search should find you a suitable app for your own system.
To connect to your RPi:
