wiki:NikySandbox/InstallOVSIG

Version 1 (modified by nriga@bbn.com, 4 years ago) (diff)

--

  1. Reserve a node
  2. Update packages
    sudo apt-get update
    
  3. Download OVS 1.9.0 from : http://openvswitch.org/releases/openvswitch-1.9.0.tar.gz
  4. Untar, boot, configure and uninstall userspace ovs that comes with the image:
    wget http://openvswitch.org/releases/openvswitch-1.9.0.tar.gz
    tar xvfz openvswitch-1.9.0.tar.gz
    cd openvswitch-1.9.0
    sudo apt-get install pkg-config
    ./boot.sh
    ./configure
    sudo make uninstall
    	cd ../
        14	9:54	\rm openvswitch-1.9.0*
    
    1. Download latest release, untar and build the package

ALL COMMANDS

     1	9:49	ls
     2	9:49	history
     3	9:50	wget http://openvswitch.org/releases/openvswitch-1.9.0.tar.gz
     4	9:51	tar xvfz openvswitch-1.9.0.tar.gz
     5	9:51	cd openvswitch-1.9.0
     6	9:51	./boot.sh
     7	9:51	sudo apt-get install pkg-config
     8	9:52	./boot.sh
     9	9:52	./configure
    10	9:52	sudo make uninstall
    11	9:52	history
    12	9:53	man history
    13	9:53	cd ../
    14	9:54	\rm openvswitch-1.9.0*
    15	9:54	\rm -rf openvswitch-1.9.0*
    16	9:54	wget http://openvswitch.org/releases/openvswitch-1.9.3.tar.gz
    17	9:55	history
    18	9:56	tar xvfz openvswitch-1.9.3.tar.gz
    19	9:56	cd openvswitch-1.9.3
    20	9:56	ls
    21	9:56	dpkg-buildpackage -b
    22	9:56	sudo dpkg-buildpackage -b
    23	9:56	sudo apt-get isntall python-all
    24	9:57	sudo apt-get install python-all
    25	9:57	dpkg-buildpackage -b
    26	9:57	sudo dpkg-buildpackage -b
    27	9:57	vi INSTALL
    28	9:58	sudo apt-get install -y python-cjson python-qt4 python-zopeinterface python-twisted-conch
    29	10:02	sudo dpkg-buildpackage -b
    30	10:18	cd ../
    31	10:18	sudo dpkg -i *.deb
    32	10:19	sudo apt-get install -f
    33	10:20	ovs-vsctl --version
    34	10:20	ovs-ofctl
    35	10:20	ovs-vsctl
    36	10:21	sudo apt-get install linux-headers-3.2.46
    37	10:22	sudo apt-get install linux-headers-$(uname -r )
    38	10:22	uname -r
    39	10:22	sudo apt-get install linux-headers-$(uname -r )
    40	10:22	sudo apt-get install linux-headers-3.2.46
    41	10:22	sudo dpkg -i *.deb
    42	10:23	ovs-vsctl
    43	10:23	vi openvswitch-1.9.3/INSTALL