Questions tagged [centos8]

CentOS 8 was a community developed and supported distribution of Linux based on Red Hat Enterprise Linux. It was released on September 24, 2019 and reached End Of Life on December 31, 2021.

CentOS 8 was a community developed and supported distribution of Linux based on Red Hat Enterprise Linux. It was released on September 24, 2019 and reached End Of Life on December 31, 2021.

280 questions
0
votes
0 answers

CentOS 8 - How can I set a client to use a dns server for all domains and one dns for a particular domain?

I'm currently struggle to configure Linux (CentOS 8) in a special way. The goal should be that my client asks ALWAYS a public DNS Server for everything that is not "example.local". "example.local" should be resolved by an internal DNS. How can I do…
0
votes
0 answers

CentOS 8 KVM under CentOS 7 -- Kickstart Network Install Fails

We have CentOS 8 KVM running under CentOS 7. Everything seems to be working well for us once the KVM is up and running. We are using kickstart to bootstrap the KVM. We are having problems automating the network install sequence. Each time we…
Greg Sims
  • 101
  • 1
0
votes
1 answer

Run incoming mail through PHP script - Postfix

I have followed this answer Pipe all Postfix email for a domain to PHP script - Centos7/EC2 to direct incoming mail for a specific address to a PHP script. My aliases file entry looks like: mail-incoming-php: "/usr/bin/php -q…
Kline
  • 247
  • 1
  • 5
  • 17
0
votes
1 answer

CentOS 8 remote logging logs on both custom log and /var/log/messages

I'm trying to configure a remote log host for my servers (all CentOS 8). I added this on my central server if $fromhost-ip == '123.123.123.123' then /var/log/{{hostname}}.log Also I changed my client config to *.*…
Gwynn
  • 13
  • 6
0
votes
1 answer

CentOS 8 /etc/profile.d/ not executed

On CentOS 8, the $PATH is not being updated with the value set in my script '/etc/profile.d/app-server-profile.sh' (SSH login). I am logging into the box via SSH. I expect for '/etc/profile' to execute my '/etc/profile.d/app-server-profile.sh'…
KevinB
  • 101
0
votes
1 answer

Apache rewrite need seperate rules for https?

On a centos8 server I created a file called /etc/httpd/conf.d/rewrite.conf with these contents: RewriteEngine on RewriteRule (.*) https://www.othersite.com [L,R] If I goto http://myserver.com it gets redirected to https://www.othersite.com as…
0
votes
1 answer

Spamassassin fails after reboot due to missing tmpfiles.d entry

The /run/spamassassin directory is not being re-created at boot because there is no /usr/lib/tmpfiles.d/spamassassin file telling it to do so. If I manually create /run/spamassassin and start the service everything runs fine, but after reboot, same…
oucil
  • 557
  • 6
  • 21
0
votes
2 answers

Cannot access into my server after running iptables-restore. How to revert this command

I decided to run this command iptables-save | tee iptables_backup.conf | grep -v '\-A' but instead I accidentally put an extra command iptables-restore and ran this and now my server is locked. I cannot SSH anymore: iptables-save | tee…
Kalib Zen
  • 137
  • 7
0
votes
1 answer

How to make sure all uploaded files are readable by the webserver?

Every file uploaded has the wrong permissions so my webserver (Nginx) can't read them. When I manually adjust them by running sudo chmod -R 755 /var/www/* it works again but I'd have to to it everytime I upload a new file. How can I automatically…
leonheess
  • 144
  • 3
  • 12
0
votes
1 answer

Rsyslog / CentOS 8 / no write logs|no catch?

I use rsyslog (8.37.0-13) on CentOS 8 (CentOS Linux release 8.1.1911) and I've type error with my configuration. My rsyslog.conf is…
celine
  • 13
  • 5
0
votes
1 answer

Rsyslog "typo error" CentOS 8

I use rsyslog (8.37.0-13) on CentOS 8 (CentOS Linux release 8.1.1911) and I've type error with my configuration. My configuration is : template(name="template1" type="string" string="/data/%HOSTNAME%-%FROMHOST-IP%.log") ruleset(name="ruleset1"){ …
celine
  • 13
  • 5
0
votes
1 answer

In /etc/hosts file why would IPv4 hosts be different from IPv6 hosts?

Background: CentOS 8, Digital Ocean droplet. Question 1) I just looked at my hosts file in /etc/hosts and I noticed that hostnames listed under IPv4 and IPv6 are different. IPv4 lists example, example.com and mail.example.com while IPv6 only lists…
myNewAccount
  • 569
  • 1
  • 6
  • 19
0
votes
1 answer

Issue running Golang server binary as a service with Systemd

I am trying to run a Golang server binary as a service with Systemd on Centos 8, but I get an error. This is my script…
Daniele B
  • 367
  • 1
  • 4
  • 14
0
votes
1 answer

How to install Node.js 12 on CentOS 8?

I tried the following this post which states Application Streams are typically named for the version of the software that is included, e.g. nodejs:8 or nodejs:10 [...] ... but as you can see below: It's not working. $ dnf module list nodejs …
leonheess
  • 144
  • 3
  • 12
0
votes
1 answer

virt-install on Centos 8.1 doesn't complete when using --location http://localhost/inst

Should you reached this before, please let me know. ISSUE virt-install works well when passing arguments --cdrom /path/to/iso (and creates the guest) like [root@192-168-0-104 admin]# virt-install --virt-type kvm --name tester2 --memory 2048 --disk…
PortoFino
  • 1
  • 2