server not accessible
all this can be done from rescue mode
After enabling the rescue system you need to reboot the server in the next 60 minutes to activate it. After another reboot your server will boot from its local disk again.
1.disk
2./etc/sysconfig/network-scripts
3.flush iptables
in etc/rc/local
/sbin/iptbles -F
4. change kernel
[root@plskcp network-scripts]# cat ifcfg-eth0
BOOTPROTO=none
DEFROUTE=yes
DEVICE=eth0
GATEWAY=51.195.88.254
HWADDR=a0:42:3f:46:ef:82
IPADDR=51.195.88.114
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
with IPv6
BOOTPROTO=none
DEFROUTE=yes
DEVICE=eth0
GATEWAY=213.136.81.1
HWADDR=00:50:56:44:fc:33
IPADDR=213.136.81.82
IPV6ADDR=2a02:c207:2078:0211:0000:0000:0000:0001/64
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6_DEFAULTGW=fe80::1
IPV6_FORCE_ACCEPT_RA=no
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
Comments
Post a Comment