bind dlz slave 安装

一、首先安装依赖包:

yum -y install make gcc-c++ cmake bison-devel  ncurses-devel zlib-devel

yum 安装mysql

1.配置yum 源

vim /etc/yum.repos.d/mysql-community.repo
[mysql56-community]
name=MySQL 5.6 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

2.配置签名检查

https://dev.mysql.com/doc/refman/5.6/en/checking-gpg-signature.html

复制链接中的PUBLIC KEY到mysql_pubkey.asc
gpg --import mysql_pubkey.asc
rpm --import mysql_pubkey.asc

3.安装mysql

yum -y install mysql-community-server

yum -y install mysql-community-devel

二、编译bind

bind-9.12.2.tar.gz

./configure --prefix=/usr/local/bind/ --with-dlz-mysql=/usr --enable-threads=no --enable-largefile --disable-ipv6 --with-openssl=no
make && make install

你可能感兴趣的:(DNS)