From 5fae23e966d417113572ed2eaf59fab55f4413ca Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 18 Feb 2014 15:04:15 +0100 Subject: add content --- content/posts/git-on-rhel5.rst | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 content/posts/git-on-rhel5.rst (limited to 'content/posts/git-on-rhel5.rst') diff --git a/content/posts/git-on-rhel5.rst b/content/posts/git-on-rhel5.rst new file mode 100644 index 0000000..d46229f --- /dev/null +++ b/content/posts/git-on-rhel5.rst @@ -0,0 +1,39 @@ +Install GIT on RHEL5 without Internet +##################################### +:date: 2014-02-18 13:37 +:tags: rhel, git + +I was facing the problem that i desperately needed git on one of the +development Redhat 5 systems which had no direct internet connection. As EPEL is an open +repository to retrieve all kinds of cool packages also Git is available there. +All i needed to do was to find out the dependencies, copy the packages to the +host and you are done. + +You need the following packages: + +- git (EPEL) + - perl-Git (dep) (EPEL) + - perl-error (EPEL) + - perl-termreadkey (EPEL) + - perl (installed in my case) (core) + +Today (2014-02-18) i downloaded the following packages: + +.. code-block:: bash + + #?/bin/sh + # on internet-available node: + wget 'http://mirror.bytemark.co.uk/fedora/epel/5Server/x86_64/perl-Error-0.17010-1.el5.noarch.rpm' \ + 'http://mirror.bytemark.co.uk/fedora/epel/5Server/x86_64/perl-TermReadKey-2.30-4.el5.x86_64.rpm' \ + 'http://mirror.bytemark.co.uk/fedora/epel/5Server/x86_64/perl-Git-1.8.2.1-1.el5.x86_64.rpm' \ + 'http://mirror.bytemark.co.uk/fedora/epel/5Server/x86_64/git-1.8.2.1-1.el5.x86_64.rpm' \ + # you may need this as well. + # http://mirror.bytemark.co.uk/centos/5.10/os/x86_64/CentOS/perl-5.8.8-41.el5.x86_64.rpm + scp *.rpm :~ + ssh + sudo rpm -i *.rmp + +If they go 404 have a look at +http://mirror.bytemark.co.uk/fedora/epel/5Server/x86_64/ for EPEL (replace +5Server with 6Server for RHEL6) and http://mirror.bytemark.co.uk/centos/ for +core packages for RHEL. -- cgit v1.2.3