CentOS - Corporate-driven, Not suitable for Enterprise
Newbie to CentOS7 and struggling to research this one.
I'm compiling PHP with ZTS enabled and having problems.
Following the guide at https://gist.github.com/asvignesh/f206717e8626bb9e4903e6b7136141c7 and I hit a problem when it tries to install nginx. I keep getting the message
sw-nginx conflicts with 1:nginx-1.20.1-9.el7.x86_64
I'd followed this guide and thought it was all working properly, as thread safety *was* shown initially as enabled, but now it's not!
So... removing PHP again and going through the whole recompile and spotted the error above.
Can anyone advise on how to remove the current nginx as
yum remove nginx doesn't work
yum remove nginx
Loaded plugins: fastestmirror
I couldn't find if it's possible or not to install packages (say, RPM) on anaconda environment.
The reason I need this is that I'm installing automatically and headlessly CentOS on a VM, and I'm writing logs from this install on a remote rsyslog using inst.rsyslog anaconda boot option.
It's working fine. But for now everything sent is all clear text, and I would like use rsyslog TLS mutual authentication. Only thing that is preventing me to do so is that my anaconda environment is lacking rsyslog-gnutls package (error "could not load module 'lmnsd_gtls'" in rsyslog service logs).
Would a package from CentOS sucessfully install on anaconda environment, or is there a specific way to do so ?
Second question: I'm wondering if there's a way to remotly grab IP address of a running anaconda environment. At the moment I'm using a custom logger command to send it via rsyslog to my remote rsyslog, but if I go TLS on rsyslog, I won't be able to do so because I will need the IP address before copying the certificates using scp from the machine that drive the install. Though of a simple curl in %pre part of kickstart on an apache running in a docker, but seems a bit dirty and overkill. If I can install package, maybe I could install openvm-tools and grab it from hypervisor API.