From aa12ddeb1d4014eaf8fd1c62f37ee055edd02dd2 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Mon, 31 Mar 2014 14:42:49 +0300 Subject: [PATCH] Download PUIAS repo from hosted file --- install/centos/PUIAS_6_computational.repo | 7 +++++++ install/centos/README.md | 12 +++--------- 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 install/centos/PUIAS_6_computational.repo diff --git a/install/centos/PUIAS_6_computational.repo b/install/centos/PUIAS_6_computational.repo new file mode 100644 index 0000000..898ee72 --- /dev/null +++ b/install/centos/PUIAS_6_computational.repo @@ -0,0 +1,7 @@ +[PUIAS_6_computational] +name=PUIAS computational Base $releasever - $basearch +mirrorlist=http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch/mirrorlist +#baseurl=http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch +enabled=1 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias diff --git a/install/centos/README.md b/install/centos/README.md index 342c888..370208d 100644 --- a/install/centos/README.md +++ b/install/centos/README.md @@ -99,17 +99,11 @@ repositories only provide v1.7.1 which is not compatible with GitLab. Although the PUIAS offers an RPM to install the repo, it requires the other PUIAS repos as a dependency, so you'll have to add it manually. -Create `/etc/yum.repos.d/PUIAS_6_computational.repo` and add the following lines: +Download PUIAS repo: - [PUIAS_6_computational] - name=PUIAS computational Base $releasever - $basearch - mirrorlist=http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch/mirrorlist - #baseurl=http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch - enabled=1 - gpgcheck=1 - gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias + wget -O /etc/yum.repos.d/PUIAS_6_computational.repo https://gitlab.com/gitlab-org/gitlab-recipes/raw/master/install/centos/PUIAS_6_computational.repo -Next download and install the gpg key. +Next download and install the gpg key: wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-puias http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puias rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-puias