Skip to content

Tag: yum

Yum Repo Issues

My CentOS-Base.repo has the following mirrors: When I say yum install yum-utils, it fails with the error saying http://custom-url/centOS-updates/Packages/yum-utils-1.1.31-46.el7_5.noarch.rpm: [Errno 14] HTTP Error 500 – Internal Server Error Trying other mirror. Error downloading packages: yum-utils-1.1…

Difference between PHP 5.6u and PHP 5.6w

I’ve been going through running PHP 5.6 and now looking at 7 running on CentOS 7 (typically 5.4) and I had been installing php56u and now I’ve been seeing php56w and I can’t find anywhere what the difference is. Answer The last letter represents some sort of informal way of designating the o…

How to force yum to update only to exact minor OS version

I have a default AWS image with the version CentOS 6.7. If I run I am getting CentOS 6.9. Is there any way to force yum to update only to version 6.8 and not 6.9? Answer Yes it is possible. Follow these steps: Find a mirror that is closer to you using: http://mirrorlist.centos.org/?release=6&arch=x86_64&a…

Can resource attributes depend on file-presence?

I’m writing a module, that will provide for mirrored yum-repositories on our network. The single server will host the mirrors offering them to other hosts (and itself). I have a problem with the initial chicken-and-egg — the first download may not happen for a while, but, if I enable a new reposit…

Best way to install MySQL 5.6 on Centos 6.4

I just installed Centos 6.4, and installed MySQL using the version that came with the Centos distribution. To my dismay, it is MySQL 5.1.69 versus the current 5.6.12. As stated on http://dev.mysql.com/doc/refman/5.5/en/linux-installation-native.html, “the MySQL version will often be some way behind the …

How can I install xclip on an EC2 instance?

I’m following Github’s instructions for adding an SSH key. I’ve generated the id_rsa.pub file from my AWS EC2 instance, but I cannot complete the step that has me copy the contents of the file using xclip because I cannot install xclip onto the EC2 instance. I tried to install xclip on the E…