Sie sind auf Seite 1von 6

10/17/2015

HowtosetupnetworkafterRHEL/CentOS7minimalinstallation

ATMAd

Home
Linux
Commands
Webserver
Control panels
Virtualization
Services
Monitoring
Apps

CENTOS / LINUX

13

FOLLOW:

How to setup network after


RHEL/CentOS 7 minimal
installation
BY RASHO 26/08/2014

After installing RHEL/CentOS 7 minimal, You may not able to


connect network in that machine. This will happen because Ethernet
interfaces are not enabled by default.
This guide explain you to setup network on RHEL/CentOS 7.

How to install and configure


DenyHost in CentOS linux

Setup network on CentOS 7 minimal


First, type nmcli d command in your terminal for quick list ethernet

Install Webmin on Ubuntu


15.04 Server

card installed on your machine:


Install CentOS web panel
(free hosting control panel on
CentOS)

How to install DHCP server


on Ubuntu
http://lintut.com/howtosetupnetworkafterrhelcentos7minimalinstallation/

1/6

10/17/2015

HowtosetupnetworkafterRHEL/CentOS7minimalinstallation

14.04/14.10/15.04

How to install Tvheadend


(open source TV streaming
server) on Ubuntu

nmcli d command output

Type nmtui command in your terminal to open Network manager.


After opening Network manager chose Edit connection and press
Enter (Use TAB button for choosing options).

CentOS_7 Network manager screen

Now choose you network interfaces and click Edit


ATMAd

ATMAd

http://lintut.com/howtosetupnetworkafterrhelcentos7minimalinstallation/

2/6

10/17/2015

HowtosetupnetworkafterRHEL/CentOS7minimalinstallation

Edit your network interfaces

DHCP configuration
Choose Automatic in IPv4 CONFIGURATION and check
Automatically connect check box and press OK and quit from
Network manager.

Set ip adress using DHCP

Reset network services:

servicenetworkrestart

Now your server will get IP Address from DHCP .

http://lintut.com/howtosetupnetworkafterrhelcentos7minimalinstallation/

3/6

10/17/2015

HowtosetupnetworkafterRHEL/CentOS7minimalinstallation

CentOS 7 check ip address

If you want to set a static IP address seeHow to configure static ip


address on CentOS 7.

Faceb
ook
17

Twitte
r
5

Googl
e+
103

reddit
4

ATMAd

Tags:

centos 7

network configuration

network manager

nmtui

rhel 7

rasho

Linux System Administrator with over 7 years experience in


administering production level servers (CentOS/Ubuntu/Debian
with apache2/nginx, mysql server, etc)

YOU MAY ALSO LIKE...


2

How to Install Cacti


Monitoring tool on
Ubuntu 14.04/14.10
Linux

Easy Rootkit hunter


installation in
RHEL/CentOS and
Fedora linux

Atop monitor
system resources in
Linux
12 APR,

http://lintut.com/howtosetupnetworkafterrhelcentos7minimalinstallation/

4/6

10/17/2015

HowtosetupnetworkafterRHEL/CentOS7minimalinstallation

1 APR,

2 JAN,

2015

2014

2014

13 RESPONSES
Comments 13
Magma

Pingbacks 0

05/09/2014 at 22:55

Hi, these information is very useful. Thank you very much


Reply
Roger Griffith

26/10/2014 at 17:50

tnx!
Reply
neczzz

25/12/2014 at 12:02

Activate network after install:


1. Edit /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=yes
2. #/etc/init.d/network restart
Look for easyrsh app og google play quick reference guide for Solaris, HPUX,
Redhat OSs
Reply
Lester

14/01/2015 at 13:49

Thanks!
Reply
Luu

17/01/2015 at 00:05

Hi, guys. I cant see any available Ethernet after I open nmtui as attached. I
have to add a new Ethernet connection every time I create a new VM, and I
have to hard code the MAC address to the new Ethernet connection I have
created.
Does anyone know is there a way to detect the connection automatically
after I deploy a new VM?
Thank you in advance.
Reply
Bin

31/01/2015 at 08:33

Hi,I also meet this problem and cant see any avaiable Ethernet after use
nmcli d,so how to do? Can you send solutions to my
email:bingliang711@hotmail.com
Thanks!
Reply
rashoba

02/02/2015 at 21:52

First, verify the status of Network Manager service


# systemctl status NetworkManager.service
To check which network interface is managed by Network Manager,
type:
# nmcli dev status
I hope I helped you
Reply
snakebite

24/05/2015 at 05:09

thanks! this one works for me. I am using Centos 7 in VMware


http://lintut.com/howtosetupnetworkafterrhelcentos7minimalinstallation/

5/6

10/17/2015

HowtosetupnetworkafterRHEL/CentOS7minimalinstallation
Reply
arul

01/06/2015 at 11:24

Hi, how to setup wireless after install centos7


Reply
Marko

23/06/2015 at 16:41

NetworkManager is still an abomination in my eyes for most uses, but for a


workstation I get it.. otherwise NM_CONTROLLED=n is my friend.
Reply
Striata

24/06/2015 at 20:12

For a minimal install, why would you ever use networkmanager? Is it now
forced in 7? If not, I would never, ever, use networkmanager on a server. Its
only real use is for mobile devices that hop around wireless networks all the
time.
In 6, I would use system-config-network-tui
Reply
yousuf

14/09/2015 at 08:49

Thank you so much.. very helpful.


Reply
andy

08/10/2015 at 06:52

Thanks so much man!


Reply

LEAVE A REPLY
Name *

Email *

Website

Comment

Post Comment


lintut.com Linux Howto's Guide 2015. All Rights Reserved.

http://lintut.com/howtosetupnetworkafterrhelcentos7minimalinstallation/

6/6

Das könnte Ihnen auch gefallen