Instal Bahamut IRCD

Install bahamut

file sumber
bahamut-1.8.3-release.tar.gz

[root@ardantus file]# tar -zxvf bahamut-1.8.3-release.tar.gz

[root@ardantus file]# mv bahamut-1.8.3 bahamut183
[root@ardantus file]# cd bahamut183
[root@ardantus bahamut-1.8.3]# ls
CHANGES       config.sub  configure.in  doc      INSTALL     LICENCE.pcre  Makefile.in  src   tools
config.guess  configure   CVS           include  install-sh  LICENSE       README       TODO  zlib
[root@ardantus bahamut-1.8.3]# ./configure
checking for gcc… gcc
checking for C compiler default output… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ANSI C… none needed
checking CFLAGS for maximum warnings… -Wall
checking build system type… i586-pc-linux-gnu
checking host system type… i586-pc-linux-gnu
checking target system type… i586-pc-linux-gnu
checking for library containing strerror… none required
checking whether make sets $(MAKE)… yes
checking for rm… /bin/rm
checking for cp… /bin/cp
checking for mv… /bin/mv
checking for a BSD-compatible install… /usr/bin/install -c
checking for inline… inline
checking for gethostbyname in -lnsl… yes
checking for res_mkquery… no
checking for res_mkquery in -lresolv… yes
checking for __res_mkquery… yes
checking for socket in -lsocket… no
checking for crypt… no
checking for crypt in -ldescrypt… no
checking for crypt in -lcrypt… yes
checking how to run the C preprocessor… gcc -E
checking for egrep… grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking limits.h usability… yes
checking limits.h presence… yes
checking for limits.h… yes
checking malloc.h usability… yes
checking malloc.h presence… yes
checking for malloc.h… yes
checking netdb.h usability… yes
checking netdb.h presence… yes
checking for netdb.h… yes
checking netinet/in.h usability… yes
checking netinet/in.h presence… yes
checking for netinet/in.h… yes
checking stddef.h usability… yes
checking stddef.h presence… yes
checking for stddef.h… yes
checking for stdlib.h… (cached) yes
checking for string.h… (cached) yes
checking for strings.h… (cached) yes
checking sys/file.h usability… yes
checking sys/file.h presence… yes
checking for sys/file.h… yes
checking sys/ioctl.h usability… yes
checking sys/ioctl.h presence… yes
checking for sys/ioctl.h… yes
checking sys/param.h usability… yes
checking sys/param.h presence… yes
checking for sys/param.h… yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… yes
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking syslog.h usability… yes
checking syslog.h presence… yes
checking for syslog.h… yes
checking for unistd.h… (cached) yes
checking utmp.h usability… yes
checking utmp.h presence… yes
checking for utmp.h… yes
checking for inttypes.h… (cached) yes
checking sys/resource.h usability… yes
checking sys/resource.h presence… yes
checking for sys/resource.h… yes
checking errno.h usability… yes
checking errno.h presence… yes
checking for errno.h… yes
checking for stdlib.h… (cached) yes
checking for stddef.h… (cached) yes
checking getopt.h usability… yes
checking getopt.h presence… yes
checking for getopt.h… yes
checking MIN and MAX definition… yes
checking whether gcc needs -traditional… no
checking for alarm… yes
checking for dup2… yes
checking for gethostbyname… yes
checking for gethostname… yes
checking for getpass… yes
checking for gettimeofday… yes
checking for inet_ntoa… yes
checking for isascii… yes
checking for memmove… yes
checking for memset… yes
checking for munmap… yes
checking for setenv… yes
checking for socket… yes
checking for strcasecmp… yes
checking for strchr… yes
checking for strdup… yes
checking for strerror… yes
checking for strncasecmp… yes
checking for strrchr… yes
checking for strtol… yes
checking for strtoul… yes
checking for index… yes
checking for strerror… (cached) yes
checking for strtoken… no
checking for strtok… yes
checking for inet_addr… yes
checking for inet_netof… yes
checking for inet_aton… yes
checking for gettimeofday… (cached) yes
checking for lrand48… yes
checking for sigaction… yes
checking for bzero… yes
checking for bcmp… yes
checking for bcopy… yes
checking for dn_skipname… no
checking for __dn_skipname… yes
checking for getrusage… yes
checking for times… yes
checking for break… no
checking for dlopen in -ldl… yes
checking dlfcn.h usability… yes
checking dlfcn.h presence… yes
checking for dlfcn.h… yes
checking for dlopen… yes
checking for dlsym… yes
checking for sys_errlist declaration… yes
checking for OpenSSL… /usr
checking for poll… yes
checking sys/epoll.h usability… yes
checking sys/epoll.h presence… yes
checking for sys/epoll.h… yes
checking for epoll_create in -lepoll… no
checking for epoll_create without -lepoll… no
checking Maximum file descriptors… 1024
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating include/setup.h
configuring zlib…
Checking for gcc…
Building static library libz.a version 1.2.1 with gcc.
Checking for unistd.h… Yes.
Checking whether to use vs[n]printf() or s[n]printf()… using vs[n]printf()
Checking for vsnprintf() in stdio.h… Yes.
Checking for return value of vsnprintf()… Yes.
Checking for errno.h… Yes.
Checking for mmap support… Yes.

      ******* Bahamut Configuration Settings *******
      System Build Type:              i586-pc-linux-gnu
      Socket Engine Type:             poll
      Encryption:                     enabled
      Loadable Modules:               enabled
      Maximum Connections:            1024
      Install Directory:              /root/ircd

[root@ardantus bahamut-1.8.3]#
[root@ardantus bahamut-1.8.3]# make install
Building zlib
make[1]: Entering directory `/home/admin/file/bahamut183/bahamut-1.8.3/zlib’
gcc -O3 -DUSE_MMAP   -c -o example.o example.c
gcc -O3 -DUSE_MMAP   -c -o adler32.o adler32.c
gcc -O3 -DUSE_MMAP   -c -o compress.o compress.c
gcc -O3 -DUSE_MMAP   -c -o crc32.o crc32.c
gcc -O3 -DUSE_MMAP   -c -o gzio.o gzio.c
gcc -O3 -DUSE_MMAP   -c -o uncompr.o uncompr.c
gcc -O3 -DUSE_MMAP   -c -o deflate.o deflate.c
gcc -O3 -DUSE_MMAP   -c -o trees.o trees.c
gcc -O3 -DUSE_MMAP   -c -o zutil.o zutil.c
gcc -O3 -DUSE_MMAP   -c -o inflate.o inflate.c
gcc -O3 -DUSE_MMAP   -c -o infback.o infback.c
gcc -O3 -DUSE_MMAP   -c -o inftrees.o inftrees.c
gcc -O3 -DUSE_MMAP   -c -o inffast.o inffast.c
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
gcc -O3 -DUSE_MMAP -o example example.o -L. libz.a
gcc -O3 -DUSE_MMAP   -c -o minigzip.o minigzip.c
gcc -O3 -DUSE_MMAP -o minigzip minigzip.o -L. libz.a
make[1]: Leaving directory `/home/admin/file/bahamut183/bahamut-1.8.3/zlib’
Building src
make[1]: Entering directory `/home/admin/file/bahamut183/bahamut-1.8.3/src’
gcc -g -O2 -Wall -I../include -c blalloc.c
gcc -g -O2 -Wall -I../include -c bsd.c
gcc -g -O2 -Wall -I../include -c channel.c
gcc -g -O2 -Wall -I../include -c clientlist.c
gcc -g -O2 -Wall -I../include -c clones.c
gcc -g -O2 -Wall -I../include -c confparse.c
gcc -g -O2 -Wall -I../include -c fdlist.c
gcc -g -O2 -Wall -I../include -c fds.c
gcc -g -O2 -Wall -I../include -c hash.c
gcc -g -O2 -Wall -I../include -c hide.c
gcc -g -O2 -Wall -I../include -c inet_addr.c
gcc -g -O2 -Wall -I../include -c ircd.c
gcc -g -O2 -Wall -I../include -c ircsprintf.c
gcc -g -O2 -Wall -I../include -c list.c
gcc -g -O2 -Wall -I../include -c m_nick.c
gcc -g -O2 -Wall -I../include -c m_rwho.c
gcc -g -O2 -Wall -I../include -c m_server.c
gcc -g -O2 -Wall -I../include -c m_services.c
gcc -g -O2 -Wall -I../include -c m_stats.c
gcc -g -O2 -Wall -I../include -c m_who.c
gcc -g -O2 -Wall -I../include -c match.c
gcc -g -O2 -Wall -I../include -c modules.c
gcc -g -O2 -Wall -I../include -c packet.c
gcc -g -O2 -Wall -I../include -c parse.c
gcc -g -O2 -Wall -I../include -c pcre.c
gcc -g -O2 -Wall -I../include -c res.c
gcc -g -O2 -Wall -I../include -c s_auth.c
gcc -g -O2 -Wall -I../include -c s_bsd.c
gcc -g -O2 -Wall -I../include -c s_conf.c
gcc -g -O2 -Wall -I../include -c s_debug.c
gcc -g -O2 -Wall -I../include -c s_err.c
gcc -g -O2 -Wall -I../include -c s_misc.c
gcc -g -O2 -Wall -I../include -c s_numeric.c
gcc -g -O2 -Wall -I../include -c s_serv.c
gcc -g -O2 -Wall -I../include -c s_user.c
gcc -g -O2 -Wall -I../include -c sbuf.c
gcc -g -O2 -Wall -I../include -c scache.c
gcc -g -O2 -Wall -I../include -c send.c
gcc -g -O2 -Wall -I../include -c struct.c
gcc -g -O2 -Wall -I../include -c support.c
gcc -g -O2 -Wall -I../include -c throttle.c
gcc -g -O2 -Wall -I../include -c userban.c
gcc -g -O2 -Wall -I../include -c whowas.c
gcc -g -O2 -Wall -I../include -I../zlib -c zlink.c
gcc -g -O2 -Wall -I../include -c socketengine_poll.c
gcc -g -O2 -Wall -I../include -c rc4.c
gcc -g -O2 -Wall  -I../include -c dh.c
/bin/sh ./version.c.SH
Extracting IRC/src/version.c…
gcc -g -O2 -Wall -I../include -c version.c
gcc  -o ircd blalloc.o bsd.o channel.o clientlist.o clones.o confparse.o fdlist.o fds.o hash.o hide.o inet_addr.o ircd.o ircsprintf.o list.o m_nick.o m_rwho.o m_server.o m_services.o m_stats.o m_who.o match.o modules.o packet.o parse.o pcre.o res.o s_auth.o s_bsd.o s_conf.o s_debug.o s_err.o s_misc.o s_numeric.o s_serv.o s_user.o sbuf.o scache.o send.o struct.o support.o throttle.o userban.o whowas.o zlink.o socketengine_poll.o rc4.o dh.o version.o -ldl -lcrypt -lresolv -lnsl   -lcrypto -Wl,-export-dynamic ../zlib/libz.a
mv version.c version.c.last
make[1]: Leaving directory `/home/admin/file/bahamut183/bahamut-1.8.3/src’
Building doc
make[1]: Entering directory `/home/admin/file/bahamut183/bahamut-1.8.3/doc’
make[1]: Nothing to be done for `build’.
make[1]: Leaving directory `/home/admin/file/bahamut183/bahamut-1.8.3/doc’
Building tools
make[1]: Entering directory `/home/admin/file/bahamut183/bahamut-1.8.3/tools’
gcc  -I../include -c mkpasswd.c
gcc -o mkpasswd mkpasswd.o -ldl -lcrypt -lresolv -lnsl   -lcrypto -Wl,-export-dynamic
gcc  -I../include -c convert_conf.c
gcc -o convert_conf convert_conf.o ../src/match.o -ldl -lcrypt -lresolv -lnsl   -lcrypto -Wl,-export-dynamic
make[1]: Leaving directory `/home/admin/file/bahamut183/bahamut-1.8.3/tools’
******************************************************************************
* For help with bahamut, please refer to http://bahamut.dal.net/             *
* If you encouter serious security related bugs, please mail coders@dal.net  *
* For other bug reports and inquiries, please mail dalnet-src@dal.net        *
* Thank you for choosing Bahamut!  – The DALnet coding team                  *
******************************************************************************
Creating directory /root/ircd
make[1]: Entering directory `/home/admin/file/bahamut183/bahamut-1.8.3/src’
/usr/bin/install -c ircd /root/ircd
/usr/bin/install -c ircd /root/ircd
make[1]: Leaving directory `/home/admin/file/bahamut183/bahamut-1.8.3/src’
make[1]: Entering directory `/home/admin/file/bahamut183/bahamut-1.8.3/doc’
/usr/bin/install -c -m 644 opers.txt /root/ircd
/usr/bin/install -c -m 644 reference.conf /root/ircd
/usr/bin/install -c -m 644 template.conf /root/ircd
ircd.motd does not exist, creating…
make[1]: Leaving directory `/home/admin/file/bahamut183/bahamut-1.8.3/doc’
make[1]: Entering directory `/home/admin/file/bahamut183/bahamut-1.8.3/tools’
/usr/bin/install -c mkpasswd /root/ircd
/usr/bin/install -c convert_conf /root/ircd
make[1]: Leaving directory `/home/admin/file/bahamut183/bahamut-1.8.3/tools’

Now edit /root/ircd/template.conf
and move it to ircd.conf – and you’ll be all set.
See the doc/ directory and the INSTALL file for more assistance
Thank you for choosing Bahamut!
[root@ardantus bahamut-1.8.3]#
[root@ardantus bahamut-1.8.3]# cd /root/ircd
[root@ardantus ircd]# ls
convert_conf  ircd  ircd.motd  mkpasswd  opers.txt  reference.conf  template.conf
[root@ardantus ircd]# cp template.conf ircd.conf
[root@ardantus ircd]# ls
convert_conf  ircd  ircd.conf  ircd.motd  mkpasswd  opers.txt  reference.conf  template.conf
[root@ardantus ircd]#
[root@ardantus ircd]# ./ircd

bahamut-1.8(03) booting…
Security related issues should be sent to coders@dal.net
All other issues should be sent to dalnet-src@dal.net

Initializing Encryption…
No random state found, generating entropy from /dev/random…
On some systems this may take a while, and can be helped by keeping the
system busy, such as pounding on the keyboard.
 25% ..  50% ..  75% .. Done.
Configuration Loaded.

Ircd is now becoming a daemon.
[root@ardantus ircd]# ps x
 4611 ?        S      0:00 ./ircd
 4621 pts/0    R      0:00 ps x
[root@ardantus ircd]# netstat -na |grep LISTEN
tcp        0      0 127.0.0.1:6667          0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:6668          0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:6669          0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:7000          0.0.0.0:*               LISTEN
[root@ardantus ircd]#

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s