How to set network on centos7

Published: 24 July 2023
on channel: CS BABA
240
24

CS Baba (Computer Science Baba)
@csbabaa
reference --- https://www.querypanel.com/additional...

Here are the steps on how to manage Centos server nmtui network interface command:
Open a terminal window.
Run the following command to start NMTUI:
nmtui
NMTUI will open. You will see a list of all the network interfaces on your system.
To configure a network interface, select it and press Enter.
You will be presented with a list of options that you can configure.
Once you have configured the network interface, press Enter to save your changes.
To manage a network interface, select it and press the appropriate key.
For example, to enable a network interface, press the e key. To disable a network interface, press the d key. To set a network interface as the default, press the g key.


configure a static IP address.

configure a static IP address

Open a terminal window.

Run the following command to edit the network configuration file:

sudo vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 -- example

Add the following lines to the file

DEVICE=enp0s3




BOOTPROTO=static

IPADDR=192.168.20.50

NETMASK=255.255.255.0

GATEWAY=192.168.20.1

DNS1=192.168.20.2

DNS2=192.168.20.254



sudo systemctl restart network



Once you have completed these steps, your Centos Server will have a static IP address.

#staticip #networkadaptor #serverstaticip
#centos8 #centos #centos7 #yum #upgrade #update
#veeam #veembackup #recovery
#office365
#office365Administration
#AzureAdministration
#networkprinter #printer #hpprinterservice
#hypervisor #office365 #veeam #linux #querypanel.com #querypanel #itbloggerbihari
#cloud #vmware #vmwareworkstation #vmcliveclasses #vmwarecloud
#azurecloud
#microsoft
#loadbalancer
#loadbalance
#loadbalancing
#technology
#system
#administration
#veeam
#servers
#serverspeed
#engineering
#support #study
#vmware
#vmwareworkstation
#vsphere
#linux
#veeam
#information
#itblogs
#veembackup
#0ffiice365
#veeam
#linux
#windows
#windowsserver2016
#itstudent
#ai
#aimbotfreefire
#linux
#apache
#server
#changepassword #resetpassword


Watch video How to set network on centos7 online without registration, duration hours minute second in high quality. This video was added by user CS BABA 24 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 240 once and liked it 24 people.