hi,
on the terminal login console log in as root with your password.
then do nano /etc/network/interfaces, edit the file like you want, and to save & quit do CTRL+X
afterwards you can restart networking with systemctl restart networking or just reboot server