Im going to explain how to setup a lightweight Apache and MySQL to work on a smaller server such as SliceHosts 256mb VPS. This will work on both Debian and Ubuntu servers.
Read it here
You are going to install Apache 2 and MySQL like you normally would. After you install it, we are going to edit the config files to better utilize your available memory. To do this you need to be logged in via SSH to your server.