基于Ubuntu6.06的zebra安装
时间:2007-06-02 来源:一路狂笑
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 root@kserver:readline-5.0# patch -Np1 -i ../readline-5.0-fixes-1.patch
root@kserver:readline-5.0# ./configure --prefix=/usr --libdir=/lib
root@kserver:readline-5.0# make SHLIB_XLDFLAGS=-lncurses
root@kserver:readline-5.0# make install
root@kserver:readline-5.0# chmod 755 /lib/lib{readline,history}.so*
root@kserver:readline-5.0# mv /lib/lib{readline,history}.a /usr/lib
root@kserver:readline-5.0# rm -rf /lib/lib{readline,history}.so
3. Install zebra-0.95a root@kserver:zebra-0.95a# ./configure --prefix=/usr/local --enable-vtysh
root@kserver:zebra-0.95a# make
root@kserver:zebra-0.95a# make install 4. Start Zebra root@kserver:~# cd /usr/local/etc/
root@kserver:etc# cp zebra.conf.sample zebra.conf
root@kserver:etc# cp vtysh.conf.sample vtysh.conf
root@kserver:etc# cp ripd.conf.sample rip
root@kserver:etc# cp ripd.conf.sample ripd.conf
root@kserver:etc# zebra -d
root@kserver:etc# vtysh Hello, this is zebra (version 0.95a).
Copyright 1996-2004 Kunihiro Ishiguro. kserver>
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 root@kserver:readline-5.0# patch -Np1 -i ../readline-5.0-fixes-1.patch
root@kserver:readline-5.0# ./configure --prefix=/usr --libdir=/lib
root@kserver:readline-5.0# make SHLIB_XLDFLAGS=-lncurses
root@kserver:readline-5.0# make install
root@kserver:readline-5.0# chmod 755 /lib/lib{readline,history}.so*
root@kserver:readline-5.0# mv /lib/lib{readline,history}.a /usr/lib
root@kserver:readline-5.0# rm -rf /lib/lib{readline,history}.so
3. Install zebra-0.95a root@kserver:zebra-0.95a# ./configure --prefix=/usr/local --enable-vtysh
root@kserver:zebra-0.95a# make
root@kserver:zebra-0.95a# make install 4. Start Zebra root@kserver:~# cd /usr/local/etc/
root@kserver:etc# cp zebra.conf.sample zebra.conf
root@kserver:etc# cp vtysh.conf.sample vtysh.conf
root@kserver:etc# cp ripd.conf.sample rip
root@kserver:etc# cp ripd.conf.sample ripd.conf
root@kserver:etc# zebra -d
root@kserver:etc# vtysh Hello, this is zebra (version 0.95a).
Copyright 1996-2004 Kunihiro Ishiguro. kserver>
相关阅读 更多 +