How to assign a static IP to the ubuntu server

Follow the below steps to have a static IP Static IP Address Assignment 1.) Login to the ubuntu server 2.) After that enter the below command to edit the network file 3.) Add the below code in the file, Please…