Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2280790
  • 博文数量: 168
  • 博客积分: 6641
  • 博客等级: 准将
  • 技术积分: 1996
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-02 11:49
文章存档

2020年(4)

2019年(6)

2017年(1)

2016年(3)

2015年(3)

2014年(8)

2013年(2)

2012年(12)

2011年(19)

2010年(10)

2009年(3)

2008年(17)

2007年(80)

分类: LINUX

2007-06-02 14:10:22

The Steps to Install Zebra-0.95 with vtysh in ubuntu 5.10 Linux Sysytem.
2006.02.09 kenthy#qingdaonews.com
*************************************************************
Software List:
 readline-5.0-fixes-1.patch
 readline-5.0.tar.bz2
 ncurses-5.4.tar.bz2
 zebra-0.95.tar.bz2
*************************************************************
1. Install ncurses-5.4
 root@kserver:ncurses-5.4# ./configure --prefix=/usr --with-shared --without-debug
 root@kserver:ncurses-5.4# make && make install
 root@kserver:ncurses-5.4# chmod 755 /usr/lib/*.5.4
 root@kserver:ncurses-5.4# chmod 644 /usr/lib/libncurses++.a
 root@kserver:ncurses-5.4# mv /usr/lib/libncurses.so.5* /lib
 root@kserver:ncurses-5.4# ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
 root@kserver:ncurses-5.4# ln -sf libncurses.so /usr/lib/libcurses.so
 
2. Install readline-5.0
 # patch -Np1 -i ../readline-5.0-fixes-1.patch
 # ./configure --prefix=/usr --libdir=/lib
 # make SHLIB_XLDFLAGS=-lncurses
 # make install
 # chmod 755 /lib/lib{readline,history}.so*
 # mv /lib/lib{readline,history}.a /usr/lib
 # rm -rf /lib/lib{readline,history}.so
 
3. Install zebra-0.95a
 # ./configure --prefix=/usr/local --enable-vtysh
 # make
 # make install
4. Start Zebra
 :~# cd /usr/local/etc/
 # cp zebra.conf.sample zebra.conf
 # cp vtysh.conf.sample vtysh.conf
 # cp ripd.conf.sample rip
 # cp ripd.conf.sample ripd.conf
 # zebra -d
 # vtysh
 Hello, this is zebra (version 0.95a).
 Copyright 1996-2004 Kunihiro Ishiguro.
 kserver>
阅读(1271) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~