RHEL Atomic Host 7 OpenShift Enterprise installation - atomic

Good, installation instruction
describes installation for RHEL 7 (rpm and containerized) and RHEL 7 Atomic Host 7 (containerized only), rpm seems to be valid. But how to use Atomic Host, there are no clear instructions?
Even:
-bash-4.2# atomic host install atomic-openshift-utils
Downloading metadata: [==================================================] 100%
Resolving dependencies... done
Checking out tree 90c9735... done
error: Package 'openshift-ansible-playbooks' has (currently) unsupported script of type '%pretrans'
don't help.

atomic host install supports only a subset of the available rpms packages. More in detail, rpm without scripts (pretrans in your case) are supported.
You can install atomic-openshift-utils on a regular RHEL machine and do the installation from there.

Related

Lustre Client on Linux Kernel 4+

Does anyone know if it is possible to install lustre client software on a linux machine that has kernel 4+? From what I have experimented so far, all the working examples are on kernel 3.10. And if I try to install kmod-luster-client on 4+ machine, it fails with:
rpm -ivh kmod-lustre-client-2.10.5-1.el7.x86_64.rpm
error: Failed dependencies:
kernel < 3.10.0-863 is needed by kmod-lustre-client-2.10.5-1.el7.x86_64
kernel(PDE_DATA) = 0x44f0d59d is needed by kmod-lustre-client-2.10.5-1.el7.x86_64
According to lustre/ChangeLog in the b2_10 branch, it works with kernels at least 4.4.133-94.33 (SLES12SP3) and 4.4.0-131 (Ubuntu 16.04).
If you are using a newer kernel, you also need to use a newer version of Lustre. The lustre/ChangeLog on the tip of master (almost 2.12 release) reports support for kernels 4.15.0-32 (Ubuntu 18.04).
It looks like you are trying to install a binary kernel module RPM built for the RHEL7 kernel on a non-RHEL kernel. That is never going to work. You need to either get the right RPMs/Debs for your kernel from https://lustre.org/download/ or download the source and rebuild it for your kernel.
The 2.10.x kernels are currently the LTS maintained releases (bugfixes backported to that release), while 2.11.0 is a feature release that does not have bugfixes backported.

How can I install this nvidia-x11-drv-340xx-340.106-1 package?

I tried to install this rpm software on my CentOS server:
[root#test software]# rpm -ivh nvidia-x11-drv-340xx-340.106-1.el7.elrepo.x86_64.rpm
error: Failed dependencies:
nvidia-340xx-kmod = 340.106 is needed by nvidia-x11-drv-340xx-340.106-1.el7.elrepo.x86_64
Here to say I need this nvidia-340xx-kmod package before installing nvidia-x11-drv-340xx-340.106-1.el7.elrepo.x86_64.rpm package.
I try to go to another machine that can connect to the internet to view the rpm package that this nvidia-340xx-kmod package needs, and then I will download it and install:
yum install kmod-nvidia-340xx
But the dependency of the kmod-nvidia-340xx package is the nvidia-x11-drv-340xx-340.106-1.el7.elrepo.x86_64.rpm package that I just wanted to install.
Dependencies Resolved
=================================================================================================
Package Arch Version Repository Size
=================================================================================================
Installing:
kmod-nvidia-340xx x86_64 340.106-1.el7_4.elrepo elrepo 4.9 M
Installing for dependencies:
nvidia-x11-drv-340xx x86_64 340.106-1.el7.elrepo elrepo 36 M
Transaction Summary
As you see, here is a yum endless loop.
It should be noted that this CentOS server cannot connect to the Internet for some safety reasons.
Then this server can't mount a local source image, because the server room is far from my office room and I don't want to go to that room to use an external storage device to create a local source image, then the server's free space is not enough to save a centos image, free space less than 1G(forgive me this strange problem).
So my question is, I tried to install this package, but the lack of installation process prompts the lack of this package as a dependency.
How can I fix this?
It looks like they depend on each other, so you need them both installed at the same time. sudo yum localinstall *.rpm from the directory they're copied to should work.

glibc 2.11 error on Marklogic 8.0 installation on CentOS 6.6

When I try to install Marklogic 8.0 (MarkLogic-8.0-2.x86_64.rpm) on CentOS6.6 it fails with following error:
error: Failed dependencies:
libc.so.6(GLIBC_2.11) is needed by MarkLogic-8.0-2.x86_64
I checked installed package of glibc and found that GLIB_2.12 is installed.
I tried erasing GLIBC_2.12, but Cent OS doesn't allow because it has dependencies.
I would appreciate if somebody help me how to install Marklogic 8.0 on CentOS6.6 keeping glibc 2.12 or how to downgrade glib version on CentOs
I haven't tested myself with CentOS 6.6, but am running CentOS 6.5 a lot. Did you try running this before the RPM?
yum -y install glibc.i686 gdb.x86_64 redhat-lsb.x86_64
See also Install Marklogic centos virtualbox vm
HTH!
To add to this: you're seeing this message when you attempt to install because a dependent library is unavailable; in the case of this particular message, if you run this beforehand:
yum install glibc.i686
You should get past that particular issue.

MongoDB Install Error

Just setup a fresh server at MediaTemple (dedicated virtual / CentOS Linux) and installed the developer tools, but Mongo won't install, any ideas?
Also, it's trying to DL version 1.2.10 I assume I can run pecl upgrade mongo once it is installed to go to 2.0.6 right?
Here's my output:
[root ~]# pecl install mongo
downloading mongo-1.2.10.tgz ...
Starting to download mongo-1.2.10.tgz (86,463 bytes)
.....................done: 86,463 bytes
36 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
building in /var/tmp/pear-build-root/mongo-1.2.10
running: /root/tmp/pear/cache/mongo-1.2.10/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... //bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
ERROR: `/root/tmp/pear/cache/mongo-1.2.10/configure' failed
You're not installing mongodb with pecl, here you're installing the PHP driver for mongodb.
To install mongodb on CentOS, please follow these instructions here. These instructions show you how to add the 10gen repo, which will then enable you (using yum) to install the latest production-ready mongodb release (2.0.6).
I realise that it's not Ubuntu but egarding your issue with installing the PHP driver, does it make any difference if you run
sudo pecl install mongo
There's some information here on installing the mongo php driver, just replace the 'apt-get' elements with 'yum' as the same libraries, dependencies apply afaik.
Here's a tutorial on using the mongo php driver.

GtkMozEmbed module in PyGtk

I'm working on a soloution that needs the gtkMozembed module for python.
I had installed the pygtk2 and genome-python-* packages.
But still i don't have the gtkmozembed module. Can any one tell me how can i install this module.?
I'm also searching for some good repositories for CentOS so that I can update the latest packages. All the repositories now I have, do not maintain the updated packages.
I use CentOs 6.0.
Before continuing, note that gtkmozembed is deprecated, abandoned by the authors and therefore not packaged in CentOS 6 or Ubuntu Oneiric and later:
https://lists.ubuntu.com/archives/ubuntu-devel/2011-May/033229.html
https://groups.google.com/forum/#!topic/mozilla.dev.embedding/c_NMcO-N8wo/discussion
Therefore any use of gtkmozembed is temporary. You may wish to consider the following alternatives which are available as RPM packages on CentOS 6:
pywebkitgtk : Python Bindings for WebKitGTK+
gnome-python2-gtkhtml2 : Python bindings for interacting with gtkhtml2
I managed to download gnome-python2-extras from CentOS 5 and build it on CentOS 6 with the following commands:
rpm -ivh http://vault.centos.org/5.7/os/SRPMS/gnome-python2-extras-2.14.2-7.el5.src.rpm
# edit ~/rpmbuild/SPECS/gnome-python-extras.spec
# comment out the line starting with %patch1
rpmbuild -ba ~/rpmbuild/SPECS/gnome-python-extras.spec