Chinaunix首页 | 论坛 | 博客
  • 博客访问: 157117
  • 博文数量: 61
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 345
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-29 10:46
文章分类

全部博文(61)

文章存档

2012年(61)

我的朋友

分类:

2012-05-23 11:01:23

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>
阅读(690) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~