KatharaFramework / Kathara

A lightweight container-based network emulation system.
https://www.kathara.org/
GNU General Public License v3.0
452 stars 63 forks source link

PROBLEM ON UBUNTU (VIRTUAL BOX) INSTALLATION #25

Closed simone-liotta closed 5 years ago

simone-liotta commented 5 years ago

I'm installing Kathara on Ubuntu in VirtualBox (i'm not used to work with linux systems). I've followed exactly ALL the steps mentioned in wiki (step by step). Precisely i've executed these commands on my bash:

1) curl -fsSL https://get.docker.com -o get-docker.sh 2) sudo sh get-docker.sh 3) sudo apt install python 4) sudo apt install build-essential 5) sudo apt install xterm 6) i've downloaded kathara 3.3 (source code tar.gz), i've extracted it in a folder called "kathara" and i've pasted this folder into the "opt" folder. So into my "opt" folder there is a folder called "kathara". 7) export NETKIT_HOME=/opt/kathara/bin 8) $NETKIT_HOME/install

After the 7) and 8) steps it downloads the image, so now executing again it i have this response:

image

python is installed (2.7):

image

docker-CE is installed:

image

docker (?) i don't know

image

Although this, when i try to execute vstart command (e.g) it doesn't work.

image

Why? Let me know please, thanks.

Kidel commented 5 years ago

Try $NETKIT_HOME/vstart --eth=0:A pc1

Your system fails to find vstart because it doesn't know where it's located, so you have to use the full path ($NETKIT_HOME/vstart) or add $NETKIT_HOME to your $PATH.

Also since you mentioned that you're not used to Linux, let me remind you that Kathará is compatible with Windows 8+ 64bit and Mac.

simone-liotta commented 5 years ago

No it doesn't work i've this message.

image

I know that kathara is compatible with windows 10 pro. But I have the home edition.

I think that kathara isn't installed when execute "kathara" it say that's not found:

image

Kidel commented 5 years ago

You didn't copy my command. vstart alone won't work if you don't use any parameter (what is it supposed to start?).

Also there is no executable called "kathara", so the second command doesn't work because it's not supposed to work.

From the outputs you gave, it seems that Kathará is installed and working well. You simply need to use the correct commands.

simone-liotta commented 5 years ago

ok, it's right, excuse me. thanks a lot.

Kidel commented 5 years ago

It's fine. Closing