SlideShare a Scribd company logo
1 of 3
Download to read offline
Installation of ovs 2.3.1 on Debian 8.1
In this text I would like to share how I installed ovs 2.3.1. on a machine with Debian
8.1 system. To be reasonable, I wrote these following steps to show the details.
Actually I did a batch of installations of many kinds of openvswtich versions on
different operating system like Ubuntu 12.04, Ubuntu 14.04 and Debian serials.
Finally, I called this combination, which is the briefest way I’ve even attempted. It
should be helpful to you, however, there are always some uncertainties in this magic
world like, you meet some problems that I never did or I didn’t mention here. So if
you have any question or topic and want to talk to me, please feel free to contact me.
I will leave ways at the end of this file.
So what we need now, the first is a computer running Debian 8.1 and connected to
Internet. Secondly, patience. When problems come, try to fix them. If all systems go,
let’s get moving :-)
1. Update and Upgrade. Before all these, I recommend you use the sources provided below.
vi /etc/apt/sources.list
Comment original content inside and add them below.
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb-src http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
Then start our main task.
apt-get update
apt-get upgrade
2. Install those dependencies.
apt-get get install aptitude
aptitude install libssl-dev
apt-get install -y build-essential fakeroot debhelper autoconf automake bzip2 openssl
graphviz python-all procps python-qt4 python-zope.interface python-twisted-conch libtool
apt-get install uuid-runtime
There should no trouble in this step
3. Now we’re going to download ovs and get ready to install it.
Download from this source
wget http://openvswitch.org/releases/openvswitch-2.3.1.tar.gz
Decompress the file.
tar –zxvf openvswitch-2.3.1.tar.gz
Enter the directory
cd openvswitch-2.3.1/
Check if all dependent packages are ready
dpkg-checkbuilddeps
If nothing pops out, it means so far so good.
4. Here we will build install packages
DEB_BUILD_OPTIONS='parallel=8 nocheck' fakeroot debian/rules binary
To check those, we enter the corresponding directory
cd or cd / # either one of two places. Figure it out by yourself
ls # see the packages
openvswitch-2.3.1
openvswitch-dbg_2.3.1-1_amd64.deb
openvswitch-vtep_2.3.1-1_amd64.deb
openvswitch-2.3.1.tar.gz
openvswitch-ipsec_2.3.1-1_amd64.deb
python-openvswitch_2.3.1-1_all.deb
openvswitch-common_2.3.1-1_amd64.deb
openvswitch-pki_2.3.1-1_all.deb
openvswitch-datapath-dkms_2.3.1-1_all.deb
openvswitch-switch_2.3.1-1_amd64.deb
openvswitch-datapath-source_2.3.1-1_all.deb
openvswitch-test_2.3.1-1_all.deb
5. The true installation here by the command below
dpkg -i openvswitch-common_2.3.1-1_amd64.deb
openvswitch-switch_2.3.1-1_amd64.deb
We’re supposed to finish our installation of ovs in this step.
6. After installation, let’s do some exams. Please note that all these numbers can be different
from mine. Don’t worry about that.
lsmod | grep open
openvswitch 65844 0
gre 13796 1 openvswitch
vxlan 37629 1 openvswitch
libcrc32c 12644 1 openvswitch
ovs-vsctl --version
ovs-vsctl (Open vSwitch) 2.3.1
Compiled Jul 23 2015 22:37:29
DB Schema 7.6.2
ps –ea | grep ovs
27715 ? 00:00:00 ovsdb-server
27725 ? 00:00:00 ovs-vswitchd
If you can see all these in your display, you should have a well installed openvswitch now.
Because I just want to install ovs here, I don’t plan to talk about operations of ovs like
building virtual bridge, adding port to bridge and so on. If you’re willing to, I strongly
recommend you to search related stuff on internet because it is really a good way to
learn by yourself. Hit me up if you have anything want to discuss.
Zixiong Peng
Department of EECS, College of Engineering and Computer Science
Syracuse University, Syracuse, NY State
E-mail: zpeng01@syr.edu
Tel: +1 3157513252

More Related Content

What's hot

2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
Sri Yuyaxdab
 

What's hot (20)

Rhel 7 root password reset
Rhel 7 root password resetRhel 7 root password reset
Rhel 7 root password reset
 
Desktop Application In Linux
Desktop Application In LinuxDesktop Application In Linux
Desktop Application In Linux
 
Practical Introduction To Linux
Practical Introduction To LinuxPractical Introduction To Linux
Practical Introduction To Linux
 
Presentación1
Presentación1Presentación1
Presentación1
 
2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
 
Lab so-abertos-unidade1
Lab so-abertos-unidade1Lab so-abertos-unidade1
Lab so-abertos-unidade1
 
Unix environment
Unix environmentUnix environment
Unix environment
 
ssh
sshssh
ssh
 
Unix environment [autosaved]
Unix environment [autosaved]Unix environment [autosaved]
Unix environment [autosaved]
 
Cara Set Up FTP server di ubuntu
Cara Set Up FTP server di ubuntuCara Set Up FTP server di ubuntu
Cara Set Up FTP server di ubuntu
 
Se linux basic
Se linux basicSe linux basic
Se linux basic
 
Using linux in schools
Using linux in schools Using linux in schools
Using linux in schools
 
Steganography
SteganographySteganography
Steganography
 
How to manage Microsoft Azure with open source
How to manage Microsoft Azure with open sourceHow to manage Microsoft Azure with open source
How to manage Microsoft Azure with open source
 
Bugzilla installation guide
Bugzilla installation guideBugzilla installation guide
Bugzilla installation guide
 
DevOps Series: Extending vagrant with Puppet for configuration management
DevOps Series: Extending vagrant with Puppet for configuration managementDevOps Series: Extending vagrant with Puppet for configuration management
DevOps Series: Extending vagrant with Puppet for configuration management
 
Installation of linux mint 18 sarah
Installation of linux mint 18 sarahInstallation of linux mint 18 sarah
Installation of linux mint 18 sarah
 
The Unix Command Line | Jim Reevior
The Unix Command Line | Jim ReeviorThe Unix Command Line | Jim Reevior
The Unix Command Line | Jim Reevior
 
Recovering unallocated space of a usb flash drive
Recovering unallocated space of a usb flash driveRecovering unallocated space of a usb flash drive
Recovering unallocated space of a usb flash drive
 
Light my-fuse
Light my-fuseLight my-fuse
Light my-fuse
 

Similar to ovs-2.3.1 on debian 8.1

101 2.4 use debian package management
101 2.4 use debian package management101 2.4 use debian package management
101 2.4 use debian package management
Acácio Oliveira
 
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Simon Boulet
 
Dockerfish-Tutorial
Dockerfish-TutorialDockerfish-Tutorial
Dockerfish-Tutorial
Brian Hood
 
R hive tutorial supplement 1 - Installing Hadoop
R hive tutorial supplement 1 - Installing HadoopR hive tutorial supplement 1 - Installing Hadoop
R hive tutorial supplement 1 - Installing Hadoop
Aiden Seonghak Hong
 

Similar to ovs-2.3.1 on debian 8.1 (20)

How to Build Package in Linux Based Systems.
How to Build Package in Linux Based Systems.How to Build Package in Linux Based Systems.
How to Build Package in Linux Based Systems.
 
Debian Packaging tutorial
Debian Packaging tutorialDebian Packaging tutorial
Debian Packaging tutorial
 
The Gory Details of Debian packages
The Gory Details of Debian packagesThe Gory Details of Debian packages
The Gory Details of Debian packages
 
grate techniques
grate techniquesgrate techniques
grate techniques
 
Debian packaging
Debian packagingDebian packaging
Debian packaging
 
Preparing_Your_Computer.pdf
Preparing_Your_Computer.pdfPreparing_Your_Computer.pdf
Preparing_Your_Computer.pdf
 
101 2.4 use debian package management
101 2.4 use debian package management101 2.4 use debian package management
101 2.4 use debian package management
 
Sun raysetup
Sun raysetupSun raysetup
Sun raysetup
 
Respositórios do Ubuntu, santo apt-get e outras coisas
Respositórios do Ubuntu, santo apt-get e outras coisasRespositórios do Ubuntu, santo apt-get e outras coisas
Respositórios do Ubuntu, santo apt-get e outras coisas
 
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
 
cs506_linux
cs506_linuxcs506_linux
cs506_linux
 
Srgoc linux
Srgoc linuxSrgoc linux
Srgoc linux
 
Erp 2.50 openbravo environment installation openbravo-wiki
Erp 2.50 openbravo environment installation   openbravo-wikiErp 2.50 openbravo environment installation   openbravo-wiki
Erp 2.50 openbravo environment installation openbravo-wiki
 
Python setup for dummies
Python setup for dummiesPython setup for dummies
Python setup for dummies
 
Preparando tu computadora para Linux
Preparando tu computadora para LinuxPreparando tu computadora para Linux
Preparando tu computadora para Linux
 
Dockerfish-Tutorial
Dockerfish-TutorialDockerfish-Tutorial
Dockerfish-Tutorial
 
Linux
LinuxLinux
Linux
 
Dev Environments: The Next Generation
Dev Environments: The Next GenerationDev Environments: The Next Generation
Dev Environments: The Next Generation
 
R hive tutorial supplement 1 - Installing Hadoop
R hive tutorial supplement 1 - Installing HadoopR hive tutorial supplement 1 - Installing Hadoop
R hive tutorial supplement 1 - Installing Hadoop
 
HowTo Install openMPI on Ubuntu
HowTo Install openMPI on UbuntuHowTo Install openMPI on Ubuntu
HowTo Install openMPI on Ubuntu
 

ovs-2.3.1 on debian 8.1

  • 1. Installation of ovs 2.3.1 on Debian 8.1 In this text I would like to share how I installed ovs 2.3.1. on a machine with Debian 8.1 system. To be reasonable, I wrote these following steps to show the details. Actually I did a batch of installations of many kinds of openvswtich versions on different operating system like Ubuntu 12.04, Ubuntu 14.04 and Debian serials. Finally, I called this combination, which is the briefest way I’ve even attempted. It should be helpful to you, however, there are always some uncertainties in this magic world like, you meet some problems that I never did or I didn’t mention here. So if you have any question or topic and want to talk to me, please feel free to contact me. I will leave ways at the end of this file. So what we need now, the first is a computer running Debian 8.1 and connected to Internet. Secondly, patience. When problems come, try to fix them. If all systems go, let’s get moving :-) 1. Update and Upgrade. Before all these, I recommend you use the sources provided below. vi /etc/apt/sources.list Comment original content inside and add them below. deb http://ftp.us.debian.org/debian stable main contrib non-free deb-src http://ftp.us.debian.org/debian stable main contrib non-free deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free Then start our main task. apt-get update apt-get upgrade 2. Install those dependencies. apt-get get install aptitude aptitude install libssl-dev apt-get install -y build-essential fakeroot debhelper autoconf automake bzip2 openssl graphviz python-all procps python-qt4 python-zope.interface python-twisted-conch libtool apt-get install uuid-runtime
  • 2. There should no trouble in this step 3. Now we’re going to download ovs and get ready to install it. Download from this source wget http://openvswitch.org/releases/openvswitch-2.3.1.tar.gz Decompress the file. tar –zxvf openvswitch-2.3.1.tar.gz Enter the directory cd openvswitch-2.3.1/ Check if all dependent packages are ready dpkg-checkbuilddeps If nothing pops out, it means so far so good. 4. Here we will build install packages DEB_BUILD_OPTIONS='parallel=8 nocheck' fakeroot debian/rules binary To check those, we enter the corresponding directory cd or cd / # either one of two places. Figure it out by yourself ls # see the packages openvswitch-2.3.1 openvswitch-dbg_2.3.1-1_amd64.deb openvswitch-vtep_2.3.1-1_amd64.deb openvswitch-2.3.1.tar.gz openvswitch-ipsec_2.3.1-1_amd64.deb python-openvswitch_2.3.1-1_all.deb openvswitch-common_2.3.1-1_amd64.deb openvswitch-pki_2.3.1-1_all.deb openvswitch-datapath-dkms_2.3.1-1_all.deb openvswitch-switch_2.3.1-1_amd64.deb openvswitch-datapath-source_2.3.1-1_all.deb openvswitch-test_2.3.1-1_all.deb
  • 3. 5. The true installation here by the command below dpkg -i openvswitch-common_2.3.1-1_amd64.deb openvswitch-switch_2.3.1-1_amd64.deb We’re supposed to finish our installation of ovs in this step. 6. After installation, let’s do some exams. Please note that all these numbers can be different from mine. Don’t worry about that. lsmod | grep open openvswitch 65844 0 gre 13796 1 openvswitch vxlan 37629 1 openvswitch libcrc32c 12644 1 openvswitch ovs-vsctl --version ovs-vsctl (Open vSwitch) 2.3.1 Compiled Jul 23 2015 22:37:29 DB Schema 7.6.2 ps –ea | grep ovs 27715 ? 00:00:00 ovsdb-server 27725 ? 00:00:00 ovs-vswitchd If you can see all these in your display, you should have a well installed openvswitch now. Because I just want to install ovs here, I don’t plan to talk about operations of ovs like building virtual bridge, adding port to bridge and so on. If you’re willing to, I strongly recommend you to search related stuff on internet because it is really a good way to learn by yourself. Hit me up if you have anything want to discuss. Zixiong Peng Department of EECS, College of Engineering and Computer Science Syracuse University, Syracuse, NY State E-mail: zpeng01@syr.edu Tel: +1 3157513252