Good evening all, my knowledge of Linux is "average" so you may have to bare wth me on some of the more advanced parts.
I have found myself in need of a private VPN, without ties to another company. Naturally, openvpn came to mind. I'm currently running CentOS6.5 x64. This is a new installation, after securing the server and locking it down, I am finding it dificult to continue with the OpenVPN installation.
To begin with:
Code:
[root@localhost ~]# rpm -ivh ftp://fr2.rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/openvpn-2.2.2-1.el6.rf.x86_64.rpm
Retrieving ftp://fr2.rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/openvpn-2.2.2-1.el6.rf.x86_64.rpm
error: Failed dependencies:
liblzo2.so.2()(64bit) is needed by openvpn-2.2.2-1.el6.rf.x86_64
libpkcs11-helper.so.1()(64bit) is needed by openvpn-2.2.2-1.el6.rf.x86_64
Ok, fairly sure those would have been installed, however:
Code:
[root@localhost ~]# find / -name liblzo*
/usr/lib/liblzo2.so.2.0.0
/usr/lib/liblzo2.so.2
Not present in lib64... And nothing found at all for the libpkcs11-helper.so.1 library.
So install them right?
Code:
[root@localhost lib64]# rpm -ivh ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/p/pkcs11-helper-1.11-3.fc21.x86_64.rpm
Retrieving ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/p/pkcs11-helper-1.11-3.fc21.x86_64.rpm
warning: /var/tmp/rpm-tmp.GfRPd1: Header V3 RSA/SHA256 Signature, key ID 95a43f54: NOKEY
Preparing... ########################################### [100%]
1:pkcs11-helper ########################################### [100%]
Good.
Code:
[root@localhost lib64]# rpm -ivh ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/l/lzo-2.08-3.fc21.x86_64.rpm
Retrieving ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/l/lzo-2.08-3.fc21.x86_64.rpm
warning: /var/tmp/rpm-tmp.VqAirg: Header V3 RSA/SHA256 Signature, key ID 95a43f54: NOKEY
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by lzo-2.08-3.fc21.x86_64
Not Good. Chasing dependencies time..
Code:
[root@localhost lib64]# rpm -ivh ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/g/glibc-2.20-5.fc21.x86_64.rpm
Retrieving ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/g/glibc-2.20-5.fc21.x86_64.rpm
warning: /var/tmp/rpm-tmp.Yysequ: Header V3 RSA/SHA256 Signature, key ID 95a43f54: NOKEY
error: Failed dependencies:
glibc-common = 2.20-5.fc21 is needed by glibc-2.20-5.fc21.x86_64
And again
Code:
[root@localhost lib64]# rpm -ivh ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/g/glibc-common-2.20-5.fc21.x86_64.rpm
Retrieving ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/g/glibc-common-2.20-5.fc21.x86_64.rpm
warning: /var/tmp/rpm-tmp.hMFof3: Header V3 RSA/SHA256 Signature, key ID 95a43f54: NOKEY
error: Failed dependencies:
/usr/bin/bash is needed by glibc-common-2.20-5.fc21.x86_64
glibc = 2.20-5.fc21 is needed by glibc-common-2.20-5.fc21.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by glibc-common-2.20-5.fc21.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by glibc-common-2.20-5.fc21.x86_64
Okay, this isnt normal. "/usr/bin/bash is needed by glibc-common" what? And its dependency is glibc, the thing that was attempted installation before this but said that glibc-common was a dependency of that.
I must be missing something obvious, but my tired eyes cant see it and it's doing my head in. This shouldnt even be a problem, it should just install lol.
Running kernel version - 2.6.32-504.3.3.el6.x86_64
Although its just occured to me I ran a yum update not long ago:
Code:
[root@localhost lib64]# cat /etc/*-release
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
So I'm now running 6.6 Final... I didnt realise it had updated to 6.6. However that shouldnt change this installation procedure. Little help guys?
Thanks, Dave.