bind安装问题

龙在江湖aa 2014-08-22 09:37:06
我把bind 解压缩后然后./configure后然后make,make install后为啥rpm -q bind显示没有bind,,,然后我的/etc里也没有named.conf,rndc文件?????
...全文
121 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
小醉90s 2014-11-15
  • 打赏
  • 举报
回复
你是源码安装的,bind我没有源码安装过,但是其他软件我遇到过是自己拷贝文件进去的,像/etc/init.d/named和/etc/named.conf这些文件需要从源码中拷贝一份(不同系统文件也不同)到相应位置, 你最好是yum安装,安装后里面文件都有了;但是centos5.4比较特殊安装后没有named.conf文件必须安装caching-nameserver,centos6以上不存在此问题; 希望能帮到你,有问题请回复!
  • 打赏
  • 举报
回复
引用 6 楼 u010749410 的回复:
自己创建没问题,,但是为啥我的/init.d文件里面没有bind的启动控制文件呢????
Same reason
龙在江湖aa 2014-08-22
  • 打赏
  • 举报
回复
自己创建没问题,,但是为啥我的/init.d文件里面没有bind的启动控制文件呢????
  • 打赏
  • 举报
回复
引用 4 楼 u010749410 的回复:
我只是想问安装了bind,那个/etc不是就自动建立了named。conf了吗????
not necessary since you compiled from source. Do u have trouble to create named.conf by yourself?
龙在江湖aa 2014-08-22
  • 打赏
  • 举报
回复
我只是想问安装了bind,那个/etc不是就自动建立了named。conf了吗????
  • 打赏
  • 举报
回复
引用 2 楼 u010749410 的回复:
能不能说中文我类个察,,,但是rpm -qa |grep bind 可以查看
in ur original post, you mentioned "为啥rpm -q bind显示没有bind". But in your last response, you said "rpm -qa |grep bind ". I am lost... As far as I know, you will not be able to have rpm managed bind if you only make install. If you really want your bind to be managed by rpm, you will have to build it into a rpm package and then install after you have the binary ready through make.
龙在江湖aa 2014-08-22
  • 打赏
  • 举报
回复
能不能说中文我类个察,,,但是rpm -qa |grep bind 可以查看
  • 打赏
  • 举报
回复
Since you compile and install from source, it's out of the management of rpm. rpm database will not store any meta info for bind. if make install doesn't include the script to populate named.conf, you may have to create it by yourself. You could though, take a copy of named.conf from a rpm version bind.

23,224

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧