首页 > 其他 > 详细

quagga 编译

时间:2020-08-21 18:28:12      阅读:94      评论:0      收藏:0      [点我收藏+]

 

Quagga 

Installing Quagga

Add user and group quagga

groupadd quagga
useradd -g quagga -s /bin/false quagga
Before installing quagga, it is necessary to prepare the quagga directories and files; and change ownership:

mkdir /etc/quagga
mkdir /var/state/quagga
touch /var/log/zebra.log
touch /var/log/ospfd.log
touch /var/log/bgpd.log
chown quagga:quagga /etc/quagga
chown quagga:quagga /var/state/quagga
Install quagga :

./configure --enable-user=quagga --enable-group=quagga --enable-vty-group=quagga  --prefix=/usr --sysconfdir=/etc/quagga -localstatedir=/var/state/quagga
 make
 make install
 ldconfig

 

 

 

/configure --enable-vtysh --enable-user=root --enable-group=root --enable
-vty-group=root

 

root@gobgp:~/sr-quagga# ./configure -h | grep vtysh
  --disable-vtysh         do not build integrated vty shell for Quagga
  --with-libpam           use libpam for PAM support in vtysh
root@gobgp:~/sr-quagga# ./configure -h | grep user
  --bindir=DIR            user executables [EPREFIX/bin]
  --enable-user=USER      user to run Quagga suite as (default quagga)
root@gobgp:~/sr-quagga# ./configure  --enable-user=root --enable-group=root --enable -vty-group=root
configure: error: unrecognized option: `--enableTry `./configure --help for more information
root@gobgp:~/sr-quagga# ./configure -h | grep group
  --enable-group=GROUP    group to run Quagga suite as (default quagga)
  --enable-vty-group=ARG  set vty sockets to have specified group as owner
root@gobgp:~/sr-quagga# 

git clone https://github.com/segment-routing/sr-quagga.git

1、bootstrap.sh

2、 apt-get install autoconf automake libtool  libc-ares-dev  libreadline-dev -y

3、./configure  --enable-user=root --enable-group=root --enable-vty-group=root

 

quagga 编译

原文:https://www.cnblogs.com/dream397/p/13542057.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!