Saturday, December 16, 2017

Here are some of the most popular locations and names of files to edit in Linux to get the networking working.
The leading forward slash at the beginning has been removed on this page as my CMS didn't like it. Sorry

Edit NIC 0

etc/sysconfig/network-scripts/ifcfg-eth0

Edit DNS Settings
etc/resolv.conf

Edit Default Gateway
etc/sysconfig/network

Restart Network Interfaces
etc/init.d/network restart

Diable the Linux Firewall
system-config-firewall
or
service iptables stop
chkconfig iptables off

Install mysql
yum install mysql-server
etc/init.d/mysqld start

Secure mysql
mysql_secure_installation

Install PHP
yum install php

Linux Updates
yum update

 

If You copy/clone Your machine, or change network card, on linux Your interfaces get names eth1, eth2, eth3 and so on.

Before makeing changes just delete /etc/udev/rules.d/70-persistent-net.rules file.
After first boot, network interfaces will be enumerated from zero again.

rm /etc/udev/rules.d/70-persistent-net.rules