Plesk 12 / NGINX – Setting Expires
Setting up expires on Plesk is a little bit tricky, if you're like us, under…
To add /modify the static IP address of your ubuntu installation follow the steps below:
Find out which interface is connected to the internet, issue the following:
In this case, the interface you’re looking for is enp0s3.
Currently this server has it’s interface set to get an IP address from the local DHCP server at the time of boot, we’re going to change that and set an IP of our liking.
Edit the file at: /etc/network/interfaces
Our file looks something like this:
The portion to look at are the last two lines, pretty self explanatory. To change this to a static IP setup remove the two and add the following with your own IP address:
To restart the network service:
That’s it, the new static IP should be active