Difference between revisions of "installling openvpn on xenserver"
From thelinuxwiki
(→Solution) |
|||
Line 102: | Line 102: | ||
<br>Complete! | <br>Complete! | ||
− | + | 5. Configure it. That isn't covered here :) | |
[[category:xenserver]] | [[category:xenserver]] |
Revision as of 22:43, 13 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...[1] 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 :)