Difference between revisions of "installling openvpn on xenserver"

From thelinuxwiki
Jump to: navigation, search
(Created page with " == Problem == I want to run openvpn, but the default "citrix" repo is the only on enables, and it don't have it. (yes i know that wasn't proper english) xenserver version: 6...")
 
(Solution)
 
(3 intermediate revisions by one user not shown)
Line 11: Line 11:
 
edit /etc/yum.repos.d/CentOS-Base.repo file, set enabled=0 to enabled=1 for every section except the [updates] one
 
edit /etc/yum.repos.d/CentOS-Base.repo file, set enabled=0 to enabled=1 for every section except the [updates] one
  
links...[http://sysadmin.circularvale.com/server-config/xenserver-install-one-off-centos-packages-aka-install-a-package-from-a-disabled-repo-with-yum/] [http://cristiansan.wordpress.com/2012/05/23/xenserver-trick-linux-repository/ xenserver-trick-linux-repository]
+
links...[http://sysadmin.circularvale.com/server-config/xenserver-install-one-off-centos-packages-aka-install-a-package-from-a-disabled-repo-with-yum/ using centos repos in xenserver] [http://cristiansan.wordpress.com/2012/05/23/xenserver-trick-linux-repository/ xenserver-trick-linux-repository]
  
 
'''2. Install RPMforge repot'''
 
'''2. Install RPMforge repot'''
Line 19: Line 19:
 
'''3. Verify repos are installed.'''  You should see the Centos and RPMforge repos in the list.
 
'''3. Verify repos are installed.'''  You should see the Centos and RPMforge repos in the list.
  
# '''yum repolist'''
+
# '''yum repolist'''
Loaded plugins: fastestmirror
+
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
+
Loading mirror speeds from cached hostfile
 
  * base: dist1.800hosting.com
 
  * base: dist1.800hosting.com
 
  * centosplus: centos.gravityfish.com
 
  * centosplus: centos.gravityfish.com
Line 27: Line 27:
 
  * extras: mirrors-pa.sioru.com
 
  * extras: mirrors-pa.sioru.com
 
  * rpmforge: mirror.team-cymru.org
 
  * rpmforge: mirror.team-cymru.org
Excluding Packages from CentOS-5 - Base
+
Excluding Packages from CentOS-5 - Base
Finished
+
Finished
repo id                                                                     repo name                                                                                   status
+
repo id               repo name                     status
base                                                                       CentOS-5 - Base                                                                             2781+8
+
base                   CentOS-5 - Base               2781+8
centosplus                                                                 CentOS-5 - Plus                                                                                 54
+
centosplus             CentOS-5 - Plus               54
citrix                                                                     XenServer 6.2.0 updates                                                                         11
+
citrix                 XenServer 6.2.0 updates       11
contrib                                                                     CentOS-5 - Contrib                                                                               0
+
contrib               CentOS-5 - Contrib           0
extras                                                                     CentOS-5 - Extras                                                                               271
+
extras                 CentOS-5 - Extras             271
rpmforge                                                                   RHEL 5 - RPMforge.net - dag                                                                   11546
+
rpmforge               RHEL 5 - RPMforge.net - dag   11546
  
 +
4. Install
  
 
  # '''yum install openvpn'''
 
  # '''yum install openvpn'''
Line 101: Line 102:
 
  <br>Complete!
 
  <br>Complete!
  
 
+
5. Configure it.  That isn't covered here :)
  
 
[[category:xenserver]]
 
[[category:xenserver]]

Latest revision as of 16:05, 14 February 2014

Problem

I want to run openvpn, but the default "citrix" repo is the only on enables, and it don't have it. (yes i know that wasn't proper english)

xenserver version: 6.2


Solution

1. enable centos base repo

edit /etc/yum.repos.d/CentOS-Base.repo file, set enabled=0 to enabled=1 for every section except the [updates] one

links...using centos repos in xenserver xenserver-trick-linux-repository

2. Install RPMforge repot

follow the instructions found here...Installing RPMforge repo

3. Verify repos are installed. You should see the Centos and RPMforge repos in the list.

# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: dist1.800hosting.com
* centosplus: centos.gravityfish.com
* contrib: mirrors.gigenet.com
* extras: mirrors-pa.sioru.com
* rpmforge: mirror.team-cymru.org
Excluding Packages from CentOS-5 - Base
Finished
repo id                repo name                     status
base                   CentOS-5 - Base               2781+8
centosplus             CentOS-5 - Plus               54
citrix                 XenServer 6.2.0 updates       11
contrib                CentOS-5 - Contrib            0
extras                 CentOS-5 - Extras             271
rpmforge               RHEL 5 - RPMforge.net - dag   11546

4. Install

# yum install openvpn
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: dist1.800hosting.com
* centosplus: centos.gravityfish.com
* contrib: mirror.beyondhosting.net
* extras: mirrors-pa.sioru.com
* rpmforge: mirror.team-cymru.org
Excluding Packages from CentOS-5 - Base
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openvpn.i386 0:2.2.2-1.el5.rf set to be updated
--> Processing Dependency: lzo for package: openvpn
--> Processing Dependency: liblzo2.so.2 for package: openvpn
--> Processing Dependency: libpkcs11-helper.so.1 for package: openvpn
--> Running transaction check
---> Package lzo.i386 0:2.06-1.el5.rf set to be updated
---> Package pkcs11-helper.i386 0:1.08-1.el5.rf set to be updated
--> Processing Dependency: libgnutls.so.13 for package: pkcs11-helper
--> Processing Dependency: libgnutls.so.13(GNUTLS_1_3) for package: pkcs11-helper
--> Running transaction check
---> Package gnutls.i386 0:1.4.1-10.el5_9.2 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved

=========================================== Package Arch Version Repository Size ======================================= Installing: openvpn i386 2.2.2-1.el5.rf rpmforge 461 k Installing for dependencies: gnutls i386 1.4.1-10.el5_9.2 base 352 k lzo i386 2.06-1.el5.rf rpmforge 135 k pkcs11-helper i386 1.08-1.el5.rf rpmforge 128 k
Transaction Summary ========================= Install 4 Package(s) Upgrade 0 Package(s)
Total download size: 1.1 M Is this ok [y/N]: y Downloading Packages: (1/4): pkcs11-helper-1.08-1.el5.rf.i386.rpm | 128 kB 00:00 (2/4): lzo-2.06-1.el5.rf.i386.rpm | 135 kB 00:00 (3/4): gnutls-1.4.1-10.el5_9.2.i386.rpm | 352 kB 00:00 (4/4): openvpn-2.2.2-1.el5.rf.i386.rpm | 461 kB 00:01 --------------------------------------- Total 342 kB/s | 1.1 MB 00:03 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing  : gnutls 1/4 Installing  : pkcs11-helper 2/4 Installing  : lzo 3/4 Installing  : openvpn 4/4
Installed: openvpn.i386 0:2.2.2-1.el5.rf
Dependency Installed: gnutls.i386 0:1.4.1-10.el5_9.2 lzo.i386 0:2.06-1.el5.rf pkcs11-helper.i386 0:1.08-1.el5.rf
Complete!

5. Configure it. That isn't covered here :)