[root@localhost ~]# cat /etc/fedora-release
Fedora release 18 (Spherical Cow)
[root@localhost ~]# uname -ri
3.8.7-201.fc18.x86_64 x86_64
|
install required packages to build bind10
[root@localhost ~]# yum install -y boost-devel botan-devel gtest-devel lcov python3-devel sqlite-devel log4cplus-devel git gcc-c++ automake libtool
|
# git clone git://git.bind10.isc.org/bind10
# cd bind10/
# autoreconf -i
libtoolize: putting auxiliary files in `.'.
libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh' to `./'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4macros'.
libtoolize: can not copy `/usr/share/aclocal/libtool.m4' to `m4macros/'
libtoolize: can not copy `/usr/share/aclocal/ltoptions.m4' to `m4macros/'
libtoolize: can not copy `/usr/share/aclocal/ltsugar.m4' to `m4macros/'
libtoolize: can not copy `/usr/share/aclocal/ltversion.m4' to `m4macros/'
libtoolize: can not copy `/usr/share/aclocal/lt~obsolete.m4' to `m4macros/'
autoreconf: libtoolize failed with exit status: 1
|
needs tar command.
# yum install tar
|
# autoreconf -i
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4macros'.
libtoolize: copying file `m4macros/libtool.m4'
libtoolize: copying file `m4macros/ltoptions.m4'
libtoolize: copying file `m4macros/ltsugar.m4'
libtoolize: copying file `m4macros/ltversion.m4'
libtoolize: copying file `m4macros/lt~obsolete.m4'
configure.ac:58: installing './config.guess'
configure.ac:58: installing './config.sub'
configure.ac:10: installing './install-sh'
configure.ac:10: installing './missing'
Makefile.am: installing './depcomp'
src/bin/bind10/Makefile.am:11: installing './py-compile'
# echo $?
0
|
# ./configure
BIND 10 source configure results:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Package:
Name: bind10
Version: 20130221
C++ Compiler: g++
Flags:
DEFS: -DHAVE_CONFIG_H
CPPFLAGS: -DOS_LINUX -I$(top_srcdir)/ext/asio -I$(top_srcdir)/ext/coroutine -DASIO_DISABLE_THREADS=1
CXXFLAGS: -g -O2
LDFLAGS: -Wl,-R//lib64
B10_CXXFLAGS: -Wall -Wextra -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Werror -fPIC
OS Family: Linux
Python: -I/usr/include/python3.3m -I/usr/include/python3.3m
-L/usr/lib -Wl,-R/usr/lib
Boost:
Botan: -I//include
-L//lib64
-L//lib64 -lbotan -lbz2 -lcrypto -lgmp -lpthread -lrt -lz -lbotan -lbz2 -lcrypto -lgmp -lpthread -lrt -lz
Log4cplus:
-llog4cplus -pthread
SQLite:
-lsqlite3
Features:
SQLite3
Developer:
Enable Debugging: no
Google Tests: no
Valgrind: not found
C++ Code Coverage: no
Python Code Coverage: no
Logger checks: no
Generate Documentation: no
Now you can type "make" to build BIND 10
|
# ./configure
# make
# make install
# ldconfig
# /usr/local/sbin/bind10 --version
bind10 20110223 (BIND 10 20130221)
|
create a user
issue “b10-cmdctl-usermgr add” under /usr/local/etc/bind10 directory.
# cd /usr/local/etc/bind10/
# pwd
/usr/local/etc/bind10
# b10-cmdctl-usermgr add
Using accounts file: /usr/local/etc/bind10/cmdctl-accounts.csv
Username to add: bind10
Choose a password:
Re-enter password:
#
|
start bind10
# /usr/local/sbin/bind10 &
[1] 8942
|
connect to bind10
# bindctl
No stored password file found.
When the system is first set up you need to create at least one user account.
For information on how to set up a BIND 10 system, please check see the
BIND 10 Guide:
http://bind10.isc.org/docs/bind10-guide.html#quick-start-auth-dns
If a user account has been set up, please check the b10-cmdctl log for other
information.
Username: bind10
Password:
["login success"]
> Init shutdown
|
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.