benhuragmf

Member
Feb 12, 2012
17
0
51
cPanel Access Level
Website Owner
1º Install Centos 7 64
2º Acess root SSH
3º systemctl stop NetworkManager.service
4º systemctl disable NetworkManager.service
5º cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
6º Termined instalation
7º systemctl enable network.service
8º systemctl start network.service
9º Change to the /etc/sysconfig/network-scripts directory.
Open the ifcfg-eth0 and ifcfg-lo files with your preferred text editor and, if they exist, set the following keys' values:

NM_CONTROLLED=no
ONBOOT=yes

After this steps I lose access to the server
Missing some step ??

Do you have to insert this?
Code:
NAME="eth0"
HWADDR=...
ONBOOT=yes
BOOTPROTO=none
IPADDR=...
NETMASK=...
GATEWAY=...
TYPE=Ethernet
NM_CONTROLLED=no
Okay, static configuration: my server

IP: 214.252.x.xx
Mascara de Sub-rede: 255.255.255.0
Gateway: 211.252.10.225
DNS: 206.202.xx.xx / 186.202.xx.x

My ifcfg-eth0

- Removed -
 
Last edited by a moderator:

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,012
647
263
Houston
cPanel Access Level
DataCenter Provider