Solve problem:
Step1: create Local Yum repository on centos 7 using DVD:
# mkdir /cdrom
# mount /dev/cdrom /cdrom
# vi /etc/yum.repos.d/local.repo
Add follow bellow to local.repo file:
[LocalRepo]
name=Local Repository
baseurl=file:///cdrom
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Step 2: use provides command or whatprovides command:
Step 3: install net-tools found as picture above:
#yum install net-tools
#ifconfig –a
Step 4: static ip configuration in centos 7 as picture below:
Restart network
Copyright by: www.linuxoperatingsystem.info http://goo.gl/kMscJ4
service network restartI hope will this help you!
Copyright by: www.linuxoperatingsystem.info http://goo.gl/kMscJ4
0 comments:
Post a Comment