-------------------Installing Quagga
# tar xzf quagga-0.99.21mr2.2.tar.gz
# cd quagga-0.99.21mr2.2
// # ./bootstrap.sh
[root@localhost quagga-0.99.21mr2.2]# ./configure --enable-user=root --enable-group=root --with-cflags=-ggdb --sysconfdir=/usr/local/etc/quagga --enable-vtysh --localstatedir=/var/run/quagga
[root@localhost quagga-0.99.21mr2.2]# make -j4
[root@localhost quagga-0.99.21mr2.2]# make install
[root@localhost quagga-0.99.21mr2.2]# mkdir /run/quagga

++++++++++++++++++++++++++++++++++++++++++++++++++++++

# rpm -ivh /mnt/iso/Packages/quagga-0.99.22.4-4.el7.x86_64.rpm
# cp /etc/sysconfig/quagga /etc/sysconfig/quagga.bac
# cp /usr/lib/systemd/system/zebra.service /usr/lib/systemd/system/zebra.service.bac
# cp /etc/quagga/zebra.conf /etc/quagga/zebra.conf.bac
# ls /run/quagga/
#
# cp /usr/sbin/zebra /usr/sbin/zebra.bac
# rpm -e quagga
++++++++++++++++++++++++++++++++++++++++++++++++++++++
# mkdir /run/quagga
# cp /etc/sysconfig/quagga.bac /etc/sysconfig/quagga

# gedit /usr/lib/systemd/system/zebra.service

--------------------------------------


--------------------------------------

[root@localhost quagga-0.99.21mr2.2]# systemctl enable zebra
ln -s '/usr/lib/systemd/system/zebra.service' '/etc/systemd/system/multi-user.target.wants/zebra.service'
[root@localhost quagga-0.99.21mr2.2]# systemctl start zebra
[root@localhost quagga-0.99.21mr2.2]# systemctl status zebra

[root@localhost quagga-0.99.21mr2.2]# vtysh
[root@localhost quagga-0.99.21mr2.2]# telnet localhost 2601

+++++++++++++++++++++++++++++++ CentOS7

[root@localhost quagga]# pwd
/opt/tools/network_simulators/quagga/quagga
[root@localhost quagga]# ll ../quagga
quagga/                     quagga-0.99.21mr2.2.tar.gz  quagga-svnsnap.tgz          
[root@localhost quagga]# ll ../quagga-svnsnap.tgz
-rw-r--r--. 1 root root 2560375 1月  29 11:05 ../quagga-svnsnap.tgz
[root@localhost quagga]# ./bootstrap.sh

[root@localhost quagga]# ./configure --enable-user=root --enable-group=root --with-cflags=-ggdb --sysconfdir=/usr/local/etc/quagga --enable-vtysh --localstatedir=/var/run/quagga


# make -j4
# make install



相关文章:

  • 2021-10-11
  • 2022-12-23
  • 2021-09-17
  • 2021-08-27
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
猜你喜欢
  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
  • 2021-09-06
  • 2022-01-01
相关资源
相似解决方案