Debian BackUp server
To backup remote folders
First of all download the Debian last edition, from here https://www.debian.org/distrib/ The net installer and put it in a bootable USB stick
Install it with the option Basic Desktop and LXDE or xfce desktop and ssh server for remote access
Then you have to see on your router the given IP from DHCP to your new server to access it and then give a static IP filling the following form at the bottom. If you can't find it use the Angry ip programm from a windows machine to determine it in case you don't install a grafical environment.
If you have access directly on your server use the command ip address on the terminal to see the taken IP.
You don't need to connect a screen to your PC after installation, 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
user_name@your_computerIP
That will ask you the permition to procceed and give the users password
If you use Putty you connect to the IP address you give the users name and then the password.
Then you switch to root because all the commands must be given as root:
su root
Give the root's password
Regenerate SSH Host Keys
On Debian, Ubuntu or their derivatives, you can use dpkg-reconfigure tool to regenerate SSH host keys as follows.
rm -r /etc/ssh/ssh*key
dpkg-reconfigure openssh-server
To edit some files needed later we use the nano editor which is allready accesible in the terminal
If you want to use a static IP for your server fill the following form:
Please fill your settings: