chào mọi người,
vấn đề là em đang định cài DHCP trên centos, em đã config như sau:
1. đặt ip tỉnh
Code:
DEVICE=eth0
IPADDR=192.168.69.21
NETMASK=255.255.255.0
GATEWAY=192.168.69.254
TYPE=Ethernet
BOOTPROTO=none
DNS1=8.8.8.8
IPV6INIT=no
ONBOOT=no
USERCTL=no
PREFIX=24
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
HWADDR=00:0C:29:3F:21:46
máy truy cập internet thành công,
2. cài đặt
Code:
kết quả:
Code:
[root@localhost vanbang]# yum -y install dhcp
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirror.vietoss.com
* extras: mirror.vietoss.com
* updates: mirror.vietoss.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package dhcp.i686 12:4.1.1-31.0.1.P1.el6.centos.1 set to be updated
--> Processing Dependency: dhcp-common = 12:4.1.1-31.0.1.P1.el6.centos.1 for package: 12:dhcp-4.1.1-31.0.1.P1.el6.centos.1.i686
--> Running transaction check
---> Package dhcp-common.i686 12:4.1.1-31.0.1.P1.el6.centos.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
dhcp i686 12:4.1.1-31.0.1.P1.el6.centos.1 updates 820 k
Installing for dependencies:
dhcp-common i686 12:4.1.1-31.0.1.P1.el6.centos.1 updates 141 k
Transaction Summary
================================================================================
Install 2 Package(s)
Upgrade 0 Package(s)
Total size: 960 k
Installed size: 2.1 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /usr/share/man/man5/dhcp-eval.5.gz from install of dhcp-common-12:4.1.1-31.0.1.P1.el6.centos.1.i686 conflicts with file from package dhclient-12:4.1.1-12.P1.el6.i686
file /usr/share/man/man5/dhcp-options.5.gz from install of dhcp-common-12:4.1.1-31.0.1.P1.el6.centos.1.i686 conflicts with file from package dhclient-12:4.1.1-12.P1.el6.i686
Error Summary
-------------
[root@localhost vanbang]#
cho em hỏi như trên là lỗi gì, em làm có sai gì không ạ? để cài thành công thì phải làm gì ạ?
mong các anh chị giúp đỡ, chân thành cảm ơn!!