Centos8 is a linux platform released on June 2019. It has many features like native support for java 8 and 11, Python 3, new composer tool, new stratis storage management tool, session recording, system wide cryptographic policies, enhanced security etc....
Questions tagged [centos8]
475 questions
37
votes
3 answers
AllowZoneDrifting - Firewalld: What is it and should I disable it?
I am new here, so please forgive me if I am asking something silly.
I have created a DO droplet on CentOS 8. After installing firewalld, I checked its status and it gives a warning.
Apr 24 05:56:31 centos-s-1vcpu-1gb-blr1-01 firewalld[2956]:…

Manohar Bhatia
- 371
- 1
- 3
- 5
37
votes
3 answers
Sign virtual box modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) Centos 8
I started using Centos 8 recently, and I installed VirtualBox to manage my virtual machines,
the problem that I encountered with is that my VirtualBox couldn't boot any VMs and it told me to execute this script /sbin/vboxconfig as root, when I run…

Younes LAB
- 1,136
- 1
- 9
- 16
31
votes
7 answers
Unable to docker-compose up any project
Whenever I try to docker-compose up any project I get the following error.
I've tried with and without sudo
I am only having this issue on this machine. I am able to run the same containers on my Mac and Amazon WorkSpace.
(myslabs) [austin@localhost…

Austin Gilkison
- 509
- 1
- 4
- 10
13
votes
5 answers
PM2 keeps getting killed every 90 seconds on centos 8
I just installed CentOS 8 and added nodejs (tried v12 & v14) And then I installed pm2 using npm install pm2@latest (so at the time of posting it uses v4.4.0). I did try an older version (v3.5.0), but it does the exact same thing.
and after pm2 got…

Alex Laz
- 339
- 2
- 6
12
votes
1 answer
Error: connect ECONNREFUSED 127.0.0.1:5432 when connecting with nodejs program
I have a postgresql server set up on a CentOS 8 machine, and a js program running on the same machine, using the pg library.
const { Pool } = require('pg')
const pool = new Pool({
user: process.env.PG_USER, //postgres user
host:…

K. Sutherland
- 196
- 1
- 1
- 9
12
votes
4 answers
ERROR with "Failed to set locale, defaulting to C" on Centos at the docker environment (yum install)
The docker has released a new version of centos 8, so I try to use it with Dockerfile to build a new environment but I got some error message
Dockerfile content
FROM centos
RUN yum install
when I ran the above command, it got an error.
so I…

Willie Cheng
- 7,679
- 13
- 55
- 68
10
votes
1 answer
PHP Installation: Error: It is not possible to switch enabled streams of a module
Im trying to upgrade php from 7.2 to last 7.4 version in centos 8 with this commands:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf module…

Luis Alfredo Serrano Díaz
- 644
- 1
- 9
- 17
8
votes
3 answers
Installed docker and I got podman
Installed docker on Centos (running using VirtualBox) following steps below:
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum install docker
sudo yum-config-manager --add-repo…

swcraft
- 2,014
- 3
- 22
- 43
6
votes
1 answer
How do I add a repository with Ansible on CentOS 8?
In CentOS 7, Ansible has the yum-repository module that can be used for adding repositories.
In CentOS 8 there exists the dnf module for package management, but there doesn't seem to be a dnf-repository module to add repositories.
How do you achieve…

fignet
- 305
- 2
- 7
6
votes
2 answers
How to list and edit GRUB2's "menuentry" in command-line under Centos-8?
How to list GRUB2's “menuentries” in command-line under Centos-8?
The used workable method "fgrep menuentry /etc/grub2.conf" failed.
Because at Centos-8/RHEL-8, they DO NOT store menuentry in /etc/grub2.conf.
Instead, they search and build entries…

Kirby Zhou
- 161
- 1
- 10
6
votes
1 answer
unixODBC installed but odbcinst.ini and odbc.ini are empty
I'm trying to setup a CentOS 8 RStudio-Server to connect to MS SQL server using odbc. I think I've installed the unixODBC driver, the odbcinst -j command shows below: But the ini files are empty and R odbc isn't able to connect to the db.
Hoping…

stuck
- 85
- 1
- 5
6
votes
2 answers
CentOS, libedit-devel not found
I'm trying to install sqlsrv (ms sql) PHP drivers per https://learn.microsoft.com/en-us/sql/connect/php/installation-tutorial-linux-mac?view=sql-server-2017#installing-the-drivers-on-red-hat-7
I can get all the pre-reqs installed except php-devel…

fbas
- 1,676
- 3
- 16
- 26
5
votes
1 answer
Has anyone figured out how to install `moreutils` on Centos8?
Has anyone figured out how to install moreutils on Centos8?
I'm getting this error:
[root@default-bento-centos-8 vagrant]# dnf install moreutils
Last metadata expiration check: 0:19:17 ago on Tue 17 Aug 2021 08:27:50 PM UTC.
Error:
Problem:…

user1079703
- 442
- 6
- 15
5
votes
0 answers
Sequel Pro connection to Mysql 8.0 server doesn't list database
I'm setting up Mysql 8.0 on my Centos 8 server. I've followed a guide for setting up Mysql, and although it's for the previous Centos version, installation was successful. However, when I connect to my DB through Sequel Pro, I can add a new…

Ryan H
- 2,620
- 4
- 37
- 109
5
votes
2 answers
Pm2 startup issue with CENTOS 8 / SELinux
Please, do you know how resolve this issue ?
I searched everywhere without finding.
06:45 SELinux is preventing systemd from open access on the file /root/.pm2/pm2.pid. For complete SELinux messages run: sealert -l…

Bob
- 1,011
- 3
- 12
- 28