《centos7安装dnsserver傻瓜操作指南》由会员分享,可在线阅读,更多相关《centos7安装dnsserver傻瓜操作指南(27页珍藏版)》请在金锄头文库上搜索。
1、第一步:安装bind-chrootrootlocalhost named# yum install y bind bind-chroot bind-utils 效果如下rootlocalhost # yum install y bind bind-chroot bind-utilsLoaded plugins: fastestmirror, langpacksRepodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fastbase | 3.6 kB 00:00:00 extras | 3.4 kB 00:00:
2、00 updates | 3.4 kB 00:00:00 (1/2): extras/7/x86_64/primary_db | 117 kB 00:00:00 (2/2): updates/7/x86_64/primary_db | 4.7 MB 00:00:01 Determining fastest mirrors * base: * extras: * updates: Resolving Dependencies- Running transaction check- Package bind.x86_64 32:9.9.4-18.el7_1.5 will be installe
3、d- Processing Dependency: bind-libs = 32:9.9.4-18.el7_1.5 for package: 32:bind-9.9.4-18.el7_1.5.x86_64- Package bind-chroot.x86_64 32:9.9.4-18.el7_1.5 will be installed- Package bind-utils.x86_64 32:9.9.4-18.el7 will be updated- Package bind-utils.x86_64 32:9.9.4-18.el7_1.5 will be an update- Runnin
4、g transaction check- Package bind-libs.x86_64 32:9.9.4-18.el7 will be updated- Package bind-libs.x86_64 32:9.9.4-18.el7_1.5 will be an update- Processing Dependency: bind-license = 32:9.9.4-18.el7_1.5 for package: 32:bind-libs-9.9.4-18.el7_1.5.x86_64- Running transaction check- Package bind-license.
5、noarch 32:9.9.4-18.el7 will be updated- Processing Dependency: bind-license = 32:9.9.4-18.el7 for package: 32:bind-libs-lite-9.9.4-18.el7.x86_64- Package bind-license.noarch 32:9.9.4-18.el7_1.5 will be an update- Running transaction check- Package bind-libs-lite.x86_64 32:9.9.4-18.el7 will be update
6、d- Package bind-libs-lite.x86_64 32:9.9.4-18.el7_1.5 will be an update- Finished Dependency ResolutionDependencies Resolved= Package Arch Version Repository Size=Installing: bind x86_64 32:9.9.4-18.el7_1.5 updates 1.8 M bind-chroot x86_64 32:9.9.4-18.el7_1.5 updates 82 kUpdating: bind-utils x86_64 3
7、2:9.9.4-18.el7_1.5 updates 199 kUpdating for dependencies: bind-libs x86_64 32:9.9.4-18.el7_1.5 updates 1.0 M bind-libs-lite x86_64 32:9.9.4-18.el7_1.5 updates 713 k bind-license noarch 32:9.9.4-18.el7_1.5 updates 80 kTransaction Summary=Install 2 PackagesUpgrade 1 Package (+3 Dependent packages)Tot
8、al download size: 3.8 MIs this ok y/d/N: yDownloading packages:updates/7/x86_64/prestodelta | 297 kB 00:00:05 Delta RPMs reduced 1.7 M of updates to 307 k (82% saved)(1/6): bind-libs-lite-9.9.4-18.el7_9.9.4-18.el7_1.5.x86_64.drpm | 139 kB 00:00:00 (2/6): bind-libs-9.9.4-18.el7_9.9.4-18.el7_1.5.x86_6
9、4.drpm | 168 kB 00:00:00 warning: /var/cache/yum/x86_64/7/updates/packages/bind-chroot-9.9.4-18.el7_1.5.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEYPublic key for bind-chroot-9.9.4-18.el7_1.5.x86_64.rpm is not installed(3/6): bind-chroot-9.9.4-18.el7_1.5.x86_64.rpm | 82 kB 00:0
10、0:00 (4/6): bind-license-9.9.4-18.el7_1.5.noarch.rpm | 80 kB 00:00:00 (5/6): bind-utils-9.9.4-18.el7_1.5.x86_64.rpm | 199 kB 00:00:00 (6/6): bind-9.9.4-18.el7_1.5.x86_64.rpm | 1.8 MB 00:00:00 Finishing delta rebuilds of 2 package(s) (1.7 M)-Total 1.6 MB/s | 2.4 MB 00:00:01 Retrieving key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7Importing GPG key 0xF4A80EB5: Userid : CentOS-7 Key (CentOS 7 Official Signing Key) Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-