To configure a static IP address on an Ubuntu server, you must locate and alter a network configuration file named netplan.
To assign the static IP address 192.168.1.1 to your network interface enp0s3.
Once ready, run the following commands to implement the updated Netplan configuration changes: $ sudo apply netplan