openvnet icon indicating copy to clipboard operation
openvnet copied to clipboard

Installing OpenVNet on Ubuntu and running rspec

Open Mopster opened this issue 10 years ago • 2 comments

When trying to install OpenVNet on Ubuntu I came across some issues which were resolved by the following actions. Mostly unconfirmed, but in the end I got rspec running.

Installed missing libraries

sudo apt-get install libmysqlclient-dev
sudo apt-get install libsqlite3-dev
sudo apt-get install libpcap-dev
sudo apt-get install uuid uuid-dev uuid-runtime
sudo apt-get install build-essential gcc

Install zero-mq

sudo add-apt-repository ppa:chris-lea/zeromq
sudo add-apt-repository ppa:chris-lea/libpgm
sudo apt-get update
sudo apt-get install libzmq-dbg libzmq-dev libzmq1

Then install the gem

gem install zmq

Install Redis

sudo apt-get install redis-serve

To run rspec

Test expects mysql to have no root password

bundle exec rake test:db:reset
bundle exec rspec

Mopster avatar Jun 09 '15 04:06 Mopster

Since this is focused on running rspec and doesn't actually install open vswitch, this should be a development guide. I'm setting the priority to low as I think usage guides are more important at this point.

Metallion avatar Jun 16 '15 06:06 Metallion

I'd like to see an OpenVNet guide for ubuntu/debian...?

bmullan avatar Sep 04 '15 16:09 bmullan