Last active
November 15, 2018 17:46
-
-
Save LuisErnestoZamb/f18ed31e415de96b693b3e4ff2ed8db0 to your computer and use it in GitHub Desktop.
Enable shared network on centos 6.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifup eth0 | |
vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
--------------- | |
DEVICE=eth0 | |
TYPE=Ethernet | |
ONBOOT=yes | |
BOOTPROTO=dhcp | |
IPV4_FAILURE_FATAL=yes | |
--------------- | |
service network restart | |
Si esto no funciona probar cambiando eth0 por eth1 as following: | |
To fix this, edit /etc/udev/rules.d/70-persistent-net.rules. Remove the first block for eth0. Change the second block to NAME="eth0" | |
yum upgrade | |
yum install mysql-server-4.1.22 | |
________________________ | |
InnoDB: Error: pthread_create returned 11 | |
Apply this fix : | |
$ ulimit -s unlimited | |
________________________ | |
cd / ; /usr/bin/mysqld_safe & | |
rpm -Uvh foo-1.0-1.i386.rpm | |
________________________ | |
$ sudo yum install gcc | |
$ sudo yum group install "Development Tools" | |
$ sudo apt-get install build-essential | |
________________________ | |
postmap /etc/postfix/virtual.cf | |
/etc/init.d/postfix restart | |
alternatives --config mta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes DNS are not enable at all:
vi /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
search localdomain
and:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=yes
DNS1=8.8.8.8
DNS2=8.8.4.4
DOMAIN=localdomain