The Perfect Server - Raspbian
For Raspberry Pi
First of all download the Raspbia server edition, in which are removed the unneeded components such as desktop interface.
I use this https://minibianpi.wordpress.com/
Download the Win32DiskImager image writer to write the Raspbian image to SD card. On a Linux system there is another disk image writer to do the job.
You don't need to connect a screen to your Raspberry Pi, because is running now a SSH server so you can access it using another windows PC running Putty or using a Linux PC from the Terminal with the command ssh pi@your_RPip ([email protected]) . That will ask you the permition to procceed, you answer yes and will prompt you for a password. You answer raspberry (default password, which you will change it)
If you run a Linux system you can mount the SD card, then as root, fill the form hit the submit and you'll see at the next page the settings to edit the /etc/interfaces file.
raspi-config
Regenerate SSH Host Keys
On Debian, Ubuntu or their derivatives, you can use dpkg-reconfigure tool to regenerate SSH host keys as follows.
$ sudo rm -r /etc/ssh/ssh*key
$ sudo dpkg-reconfigure openssh-server
Otherwise you have to see on your router the given IP to your RP to access it and then give a static IP. If you can't find it use the Angry ip programm to determine it.
Please fill your settings: