Install dependencies:
yum install python python-devel xorg-x11-proto-devel libXext-devel
yum install gcc-c++
sudo yum install libpcap elfutils-libelf elfutils-libelf-devel libuuid libuuid-devel gcc libpcap libpcap-devel
Download and extract gns3 and dynamips source
Make a symbolic link:
cd dynamips-0.2.8-RC7-community
sudo ln -s /usr/lib64/libelf.so /usr/lib64/libelf.a
edit and save the dynamips Makefile:
# Makefile for Dynamips 0.2.8
# Host CPU selection
# - Use "x86" for a build on x86 (32-bits)
# - Use "amd64" for a build on x86_64 (64-bits)
# - Use "ppc32" for a build on powerpc (32-bits)
# - Use "nojit" for unsupported architectures.
export DYNAMIPS_ARCH?=x86
# Do you want to use lib (for 32 bit compiling) or lib64
#export DYNAMIPS_LIB?=lib
export DYNAMIPS_LIB?=lib64
Build dynamips:
[ariel@P5Q dynamips-0.2.8-RC7-community]$ make DYNAMIPS_ARCH=amd64
note: in case of bash make command not found:
sudo yum install make
Compiling Qemu:
[ariel@P5Q Downloads]$ sudo yum install ncurses-libs ncurses-devel zlib-devel SDL-devel libpcap-devel glib2-devel
download and extract qemu-1.6.0
./configure --target-list=i386-softmmu,sparc-softmmu,x86_64-softmmu
make
sudo make install
Virtual Box installation:
Download and install Virtual Box
http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html
yum install python python-devel xorg-x11-proto-devel libXext-devel
yum install gcc-c++
sudo yum install libpcap elfutils-libelf elfutils-libelf-devel libuuid libuuid-devel gcc libpcap libpcap-devel
Download and extract gns3 and dynamips source
Make a symbolic link:
cd dynamips-0.2.8-RC7-community
sudo ln -s /usr/lib64/libelf.so /usr/lib64/libelf.a
edit and save the dynamips Makefile:
# Makefile for Dynamips 0.2.8
# Host CPU selection
# - Use "x86" for a build on x86 (32-bits)
# - Use "amd64" for a build on x86_64 (64-bits)
# - Use "ppc32" for a build on powerpc (32-bits)
# - Use "nojit" for unsupported architectures.
export DYNAMIPS_ARCH?=x86
# Do you want to use lib (for 32 bit compiling) or lib64
#export DYNAMIPS_LIB?=lib
export DYNAMIPS_LIB?=lib64
Build dynamips:
[ariel@P5Q dynamips-0.2.8-RC7-community]$ make DYNAMIPS_ARCH=amd64
note: in case of bash make command not found:
sudo yum install make
Compiling Qemu:
[ariel@P5Q Downloads]$ sudo yum install ncurses-libs ncurses-devel zlib-devel SDL-devel libpcap-devel glib2-devel
download and extract qemu-1.6.0
./configure --target-list=i386-softmmu,sparc-softmmu,x86_64-softmmu
make
sudo make install
Virtual Box installation:
[ariel@P5Q Downloads]$ sudo yum install gcc kernel-devel kernel-headers dkms.noarch xdotoolDownload and install Virtual Box
http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html
No comments:
Post a Comment