A Raspberry Pi is just the board. The old phone can be the whole server.
You should have at least one of these services running on your Pi at all times.