How to install open xen manager on Ubuntu 16.04
How to install open xen manager on Ubuntu 16.04
OpenXenManager is Open Source Free software and popularly known as alternate of XenCenter for linux. It is mainly written in python and pyGTK helps user to interact on its GUI. OpenXenManager project code is now hosted on GitHub.
Requirements For Open Xen Manager
Following packages are required to run OpenXenManager in your system. Its script name is “ openxenmanager” by which you will open the OpenXenManager in your system.
- Python 2.7
- pyGTK 2.16
- ConfigObj
- GTK-VNC (Linux only)
To install Open Xen Manager
First update the apt source
root@linuxhelp1:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Fetched 306 kB in 2s (114 kB/s)
Reading package lists... Done
root@linuxhelp1:~#
Next install the git.
root@linuxhelp1:~# apt-get install git Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: git-man liberror-perl Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn The following NEW packages will be installed: git git-man liberror-perl 0 upgraded, 3 newly installed, 0 to remove and 460 not upgraded. Need to get 3,760 kB of archives. After this operation, 25.6 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 liberror-perl all 0.17-1.2 [19.6 kB] Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 git-man all 1:2.7.4-0ubuntu1 [735 kB] Get:3 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 git amd64 1:2.7.4-0ubuntu1 [3,006 kB] Fetched 3,760 kB in 19s (195 kB/s) Selecting previously unselected package liberror-perl. (Reading database ... 176660 files and directories currently installed.) Preparing to unpack .../liberror-perl_0.17-1.2_all.deb ... Unpacking liberror-perl (0.17-1.2) ... Selecting previously unselected package git-man. Preparing to unpack .../git-man_1%3a2.7.4-0ubuntu1_all.deb ... Unpacking git-man (1:2.7.4-0ubuntu1) ... Selecting previously unselected package git. Preparing to unpack .../git_1%3a2.7.4-0ubuntu1_amd64.deb ... Unpacking git (1:2.7.4-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Setting up liberror-perl (0.17-1.2) ... Setting up git-man (1:2.7.4-0ubuntu1) ... Setting up git (1:2.7.4-0ubuntu1) ... root@linuxhelp1:~#
Now Install xenmanager dependency
root@linuxhelp1:~# apt-get install python-gtk2 glade python-gtk-vnc python-glade2 python-configobj
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
autotools-dev dbus dbus-x11 debhelper devhelp devhelp-common
dh-strip-nondeterminism fontconfig-config gir1.2-gdkpixbuf-2.0
gir1.2-gtk-3.0 libatk-bridge2.0-dev libatk1.0-dev libatk1.0-doc
libatspi2.0-dev libcairo-script-interpreter2 libcairo2-dev libdbus-1-3
libdbus-1-dev libdevhelp-3-2 libdrm-amdgpu1 libdrm-dev libdrm-intel1
.
.
.
.
Processing triggers for gconf2 (3.2.6-3ubuntu6) ...
Setting up libdevhelp-3-2 (3.18.1-1ubuntu5) ...
Setting up devhelp (3.18.1-1ubuntu5) ...
Setting up dh-strip-nondeterminism (0.015-1) ...
Setting up debhelper (9.20160115ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Then Download xen manager using git clone
root@linuxhelp1:~# git clone https://github.com/OpenXenManager/openxenmanager.git Cloning into ' openxenmanager' ... remote: Counting objects: 1354, done. remote: Total 1354 (delta 0), reused 0 (delta 0), pack-reused 1354 Receiving objects: 100% (1354/1354), 1.50 MiB | 503.00 KiB/s, done. Resolving deltas: 100% (771/771), done. Checking connectivity... done. After downloading, move to xenmanager directory. root@linuxhelp1:~# cd openxenmanager root@linuxhelp1:~/openxenmanager#
Now the openxenmanager is installed. now install python-setup tool
root@linuxhelp1:~/openxenmanager# apt-get install python-setuptools Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: python-pkg-resources Suggested packages: python-setuptools-doc The following NEW packages will be installed: python-pkg-resources python-setuptools 0 upgraded, 2 newly installed, 0 to remove and 435 not upgraded. Need to get 278 kB of archives. After this operation, 982 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB] Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-setuptools all 20.7.0-1 [169 kB] Fetched 278 kB in 3s (84.3 kB/s) Selecting previously unselected package python-pkg-resources. (Reading database ... 184132 files and directories currently installed.) Preparing to unpack .../python-pkg-resources_20.7.0-1_all.deb ... Unpacking python-pkg-resources (20.7.0-1) ... Selecting previously unselected package python-setuptools. Preparing to unpack .../python-setuptools_20.7.0-1_all.deb ... Unpacking python-setuptools (20.7.0-1) ... Setting up python-pkg-resources (20.7.0-1) ... Setting up python-setuptools (20.7.0-1) ... root@linuxhelp1:~/openxenmanager#
Next install xen manager using python command.
root@linuxhelp1:~/openxenmanager# python setup.py install
running install
running bdist_egg
running egg_info
creating src/openxenmanager.egg-info
writing src/openxenmanager.egg-info/PKG-INFO
writing top-level names to src/openxenmanager.egg-info/top_level.txt
writing dependency_links to src/openxenmanager.egg-info/dependency_links.txt
writing manifest file ' src/openxenmanager.egg-info/SOURCES.txt'
reading manifest file ' src/openxenmanager.egg-info/SOURCES.txt'
reading manifest template ' MANIFEST.in'
writing manifest file ' src/openxenmanager.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
.
.
.
creating ' dist/openxenmanager-0.1b1-py2.7.egg' and adding ' build/bdist.linux-x86_64/egg' to it
removing ' build/bdist.linux-x86_64/egg' (and everything under it)
Processing openxenmanager-0.1b1-py2.7.egg
creating /usr/local/lib/python2.7/dist-packages/openxenmanager-0.1b1-py2.7.egg
Extracting openxenmanager-0.1b1-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding openxenmanager 0.1b1 to easy-install.pth file
Installing openxenmanager script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/openxenmanager-0.1b1-py2.7.egg
Processing dependencies for openxenmanager==0.1b1
Finished processing dependencies for openxenmanager==0.1b1
Type openxenmanager on terminal and press enter to open it.
root@linuxhelp1:~/openxenmanager# openxenmanager
Comments ( 2 )