Please ensure you have checked our other article to get the centOS-Base.repo file if you get a IPv6 error as-well: https://licensecart.com/billing/plugin/support_manager/knowledgebase/view/353/linevast-de-won-t-install-anything/15/
echo "ClientAliveInterval 60" | sudo tee -a /etc/ssh/sshd_config this will ensure you don't get disconnected from the server.
Then we need to edit the network file:
Add this line to the bottom:
And then run the following to restart the network:
ifdown eth0 && ifup eth0 WARNING!!! If you don't run both together in one line you can break your server…. CAREFUL
Finally reboot your server.