您的位置:首页 > 其它

quagga安装

2016-01-20 16:51 148 查看
quagga是一款开源的软件。

先将下载好的quagga解压,然后进入目录。

1.检查环境,下发makefile

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

如果没有权限,请进入root或者sudo执行;chmod 777 configure //确保有执行权限

2. make

3. make install

4.进入命令行配置

vtysh 或 telnet localhost 2601

5.安装完成后默认的可执行文件在目录 /usr/local/sbin, 配置文件在/usr/local/etc中

安装时遇到的错误总结:以centos为例:

1.未安装gcc :yum -y install gcc

2.未安装支持包: configure: error: vtysh needs libreadline but was not found and usable on your system

yum -y install ncurses-devel

yum –y installreadline-devel

3.configure错误:checking whetherbuild environment is sane... configure: error: newly created file is older thandistributed files!

cp configure configure.bak

rm configure

cp configure.bak configure

4.未启用zebra配置:

进入/usr/local/etc目录,cp zebra.conf.sample zebra.conf

启用其他模块时,也要启用相应的配置文件,如启用OSPF,就需要cp ospf.conf.sample ospf.conf
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: