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
先将下载好的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
相关文章推荐
- 从零开始写一个Tomcat(壹)
- bower的权限问题
- 前端开发工程师如何在2013年里提升自己【转】--2016已更新升级很多何去何从?
- Redis Key 过期策略
- c: stringtoken_s分词函数 ,strftime时间函数,clock计时函数
- Android中Services之异步IntentService
- 文章标题
- PHP连接MYSQL数据库
- Android 布局1.属性介绍
- list数组转换为json数组
- WebView中你不知道的事localStorage
- Mac OS设置rootpassword
- Semaphore实现信号灯
- 左侧定宽,右侧自适应,两列布局且等高
- 判断IE10以下版本以及IE11版本
- 人的思维本质是四维
- Sublime Text搭建python调试环境
- 解决ScrollView和RecyclerView滑动冲突的一种方法
- redis键空间通知消息详解和例子
- 浅谈Java中的hashcode方法