It might be easier for you to use our automated installer, these three commands will install gateway, dashboard and pump:
(Caveat Emptor: We don’t recommend these because they pipe to sudo bash, this is considered bad practice, but for a dev or demo env this should be ok.)
Detected operating system as amzn/2016.
Checking for curl…
Detected curl…
Downloading repository file: https://packagecloud.io/install/repositories/tyk/ty k-gateway/config_file.repo?os=amzn&dist=2016&source=script
done.
Installing pygpgme to verify GPG signatures…
Loaded plugins: priorities, update-motd, upgrade-helper
tyk_tyk-gateway-source/signature | 836 B 00:00
tyk_tyk-gateway-source/signature | 951 B 00:00 …
Package python26-pygpgme-0.3-9.12.amzn1.x86_64 already installed and latest version
Nothing to do
Installing yum-utils…
Loaded plugins: priorities, update-motd, upgrade-helper
Package yum-utils-1.1.31-29.26.amzn1.noarch already installed and latest version
Nothing to do
Generating yum cache for tyk_tyk-gateway…
Not using downloaded repomd.xml because it is older than what we have:
Current : Wed Jul 6 09:37:27 2016
Downloaded: Wed Jul 6 09:37:19 2016 https://packagecloud.io/tyk/tyk-gateway/el/6/x86_64/repodata/8cb79c74df4e5c7101b6d07bde579d0927fd06d5-filelists.xml.gz: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
One of the configured repositories failed (tyk_tyk-gateway),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable tyk_tyk-gateway
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
What version of RHEl are you using and where? This is seriously the most hand-holding script you can get, so it failing could be an underlying security configuration of your RHEL setup.
Erm, ok that’s not actually a RHEL version, but it is an AWS AMI ID, so I assume it’s either 6 or 7. Either way, running the command above on a fresh AWS RHEL instance:
[ec2-user@ip-xxx-xxx-xxx-xxx ~]$ curl -s https://packagecloud.io/install/repositories/tyk/tyk-gateway/script.rpm.sh | sudo bash
Detected operating system as rhel/7.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/tyk/tyk-gateway/config_file.repo?os=rhel&dist=7&source=script
done.
Installing pygpgme to verify GPG signatures...
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
rhui-REGION-client-config-server-7 | 2.9 kB 00:00:00
rhui-REGION-rhel-server-releases | 3.7 kB 00:00:00
rhui-REGION-rhel-server-rh-common | 3.8 kB 00:00:00
tyk_tyk-gateway-source/signature | 836 B 00:00:00
Retrieving key from https://packagecloud.io/tyk/tyk-gateway/gpgkey
Importing GPG key 0xD59097AB:
Userid : "packagecloud ops (production key) <[email protected]>"
Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
From : https://packagecloud.io/tyk/tyk-gateway/gpgkey
tyk_tyk-gateway-source/signature | 951 B 00:00:08 !!!
(1/5): rhui-REGION-rhel-server-rh-common/7Server/x86_64/group | 104 B 00:00:00
(2/5): rhui-REGION-rhel-server-rh-common/7Server/x86_64/primary_db | 104 kB 00:00:00
(3/5): rhui-REGION-rhel-server-releases/7Server/x86_64/primary_db | 22 MB 00:00:01
(4/5): rhui-REGION-client-config-server-7/x86_64/primary_db | 5.5 kB 00:00:15
(5/5): rhui-REGION-rhel-server-rh-common/7Server/x86_64/updateinfo | 28 kB 00:00:15
(1/3): rhui-REGION-rhel-server-releases/7Server/x86_64/group_gz | 134 kB 00:00:00
(2/3): rhui-REGION-rhel-server-releases/7Server/x86_64/updateinfo | 1.2 MB 00:00:00
(3/3): tyk_tyk-gateway-source/primary | 175 B 00:00:00
Package pygpgme-0.3-9.el7.x86_64 already installed and latest version
Nothing to do
Installing yum-utils...
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Package yum-utils-1.1.31-34.el7.noarch already installed and latest version
Nothing to do
Generating yum cache for tyk_tyk-gateway...
Importing GPG key 0xD59097AB:
Userid : "packagecloud ops (production key) <[email protected]>"
Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
From : https://packagecloud.io/tyk/tyk-gateway/gpgkey
The repository is setup! You can now install packages.
Seems to work just fine, I have a feeling your issue comes down to the version of RHEL you are running and us not having a supported repository.