Questions tagged [centos]

Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

How can i route specific traffic through VPN Client

I have VPN network based CentOS 8 with OpenConnect Package. I need to allow VPN clients to use their local internet for browsing instead of server side. Currently all VPN clients utilising server side ...
0
votes
1answer
21 views

run xterm in background and exit

From hostA (my Linux desktop), i ssh into hostB : $ ssh hostB -X $ (nohup xterm &) $ (nohup xterm &) $ exit ## i don't get my prompt back The xterm windows show up on hostA, but the ...
1
vote
1answer
27 views

How to add a new network device on CentOS 7?

My VPS is assigned two IPs but "ip a" shows only one real network interface eth0 and one loopback interface lo. I copy /etc/sysconfig/network-scripts/ifcfg-eth0 to /etc/sysconfig/network-...
0
votes
1answer
13 views

chcon: failed to change context of ‘/usr/sbin/httpd’, Permission denied

I am new to SELiunx concept and as per the RHEL7 > SELinux User's and Administrator's Guide > 3.2. UNCONFINED PROCESSES Audit log type=IPC msg=audit(1624375715.312:4225): ouid=0 ogid=0 mode=0666 ...
0
votes
0answers
17 views

How to “yum install” lcov on centos8

On centos7 it was possible to yum install lcov from the epel-release repo, however lcov no longer seems to be present on centos8. I'm wondering what the new, correct way to install lcov is, if such a ...
0
votes
0answers
49 views

Receiving traffic from 0.0.0.0

While monitoring network traffic with iftop, i saw that my server receives some data from 0.0.0.0 to ff02::16, each 10 minutes, 24h per day, for about ~10s, I did not found any cronjob. iftop shows ...
0
votes
1answer
21 views

Trying to download Gauge on centos7 machine

I am trying to download Gauge on my centos7 docker. I tried sudo yum install gauge but get the following error: Loaded plugins: fastestmirror, ovl Loading mirror speeds from cached hostfile * base: ...
0
votes
2answers
30 views

What's the easiest way to track exact time of a user ssh to another system

env - centos/rhel I have two systems. Bastion and DEV. Bastion - Bastion has many individual users. (apple, orange... etc) Users can directly ssh to Bastion. DEV - DEV has only one user. (fruit) ...
3
votes
1answer
68 views

How to cd into the only subfolder by auto-completion in bash?

I am using Centos 7 and bash. I know on some machines, if there is only one subfolder (and some files) in current folder, when you type cd <tab> it will auto-complete the name of the subfolder. ...
2
votes
0answers
65 views

Variations in variable expansion in bash between CentOS versions

EDIT: @steeldriver in the comments pointed to this being a bug in some versions of visudo in processing EDITOR=, [ Bug 942 - visudo fails if $EDITOR contains quotes ] - the correlation to centos ...
0
votes
0answers
9 views

CentOS 7 PPTP, CTRL: PTY read or GRE write failed (pty,gre)

I've installed pptp server on CentOS 7, however I can not connect to the VPN server. /etc/pptpd.conf option /etc/ppp/options.pptpd logwtmp localip 10.10.10.1 remoteip 10.10.10.2-254 /etc/ppp/options....
0
votes
0answers
18 views

APACHE ON CENTOS 7 - Error while trying to access web page by using url domain name

I installed Apache web server (httpd) on CentOS 7 server, virtual machine, created using Vagrant on Ubuntu 20.04 GUI. On CentOS server, I specifically configured certain files for Apache server to ...
0
votes
0answers
9 views

chrony / gpsd with refclock

I'm trying to configure a CentOS 8 box to sync the time from a Meinberg PCI GPS receiver. I've built and installed the driver[1], and I get valid time from /dev/refclock-0. Running od -tx1 -Ax -w /dev/...
0
votes
2answers
64 views

Centos 8.4 what is POSIXLY_CORRECT and what makes it change?

I am testing using this script from github: https://github.com/rocky-linux/rocky-tools/blob/main/migrate2rocky/migrate2rocky.sh I tested this yesterday and it worked fine. Today I reverted to a ...
0
votes
1answer
24 views

Set Windows like default entry with efibootmgr, but showing menu

I have this menu starting my laptop. As you can see, I have multiple entries for CentOS 8. But, I want to set like default, my Windows Boot Manager (on /dev/nvme01p1) entry… I was thinking in ...
0
votes
1answer
24 views

Add more partition to NVMe SoftRAID CentOS 7

I have SoftRAID setup on CentOS on my NVMe Drive (2x1TB) . Issue is I only provisioned 80GB and I now want to provision more for additional space. Can someone please help me do this. Here is output of ...
1
vote
1answer
36 views

Unable to validate LUKS encryption

Hello I have a question about LUKS encryption. I have used LUKS to encrypt a disk on my server but when I create a file and add content to it, and cat the file, the content is still in plain text. ...
0
votes
1answer
11 views

Open ports for an interface without adding the interface to a zone?

I am using CentOS 8 and the firewall it comes with. I would like to open a port for my VPN interface (tun0). Is it possible to do this without adding the interface to a zone and then open the port for ...
0
votes
0answers
24 views

Why alias and global enverionment variables defined in .bashrc file are not working?

I used the nano .bashrc command and modified bashrc with the code below: # .bashrc # User specific aliases and functions alias php='/bin/php80-cgi' alias ymir='$HOME/.config/composer/vendor/bin/ymir' ...
0
votes
0answers
24 views

How to configure default DISPLAY variable on gdm for x11vnc to work (changed in CentOS 8 from CentOS 7)

Problem: GDM/KDE is defaulting to use DISPLAY :1 instead of DISPLAY :0 in CentOS 8, and I want it to use DISPLAY :0 like in CentOS 7. This is affecting x11vnc and causing more of a headache to VNC ...
0
votes
1answer
36 views

CentOS 7 Disk space missing

I have recently installed CentOS on my laptop which has two disks, SSD(32GB) + HDD(1TB). During installation I had set /boot(2GB) and /boot/efi(500MB) on SSD while rest all partitions on HDD. I want ...
0
votes
0answers
12 views

Is there a way to disable intelligent resolution handling in Gnome/VirtualBox?

I am using VM VirtualBox in CentOS7, with three monitors: 1920x1200 24" 1920x1200 24" 3840x2160 24" Some applcations, notably VirtualBox attempt to be intelligent about the monitor ...
1
vote
1answer
20 views

CentOS 8: How to add a user to a cgroups?

How to add a user to a cgroups in CentOS 8?
0
votes
0answers
15 views

centos 8: Failed to restart cgred.service: Unit cgred.service not found

After run the following comand: yum install libcgroup yum install libcgroup-tools I still not found /etc/cgrules.conf, and when I run systemctl start cgred command, I get the following error: Failed ...
0
votes
0answers
27 views

Can't remove Centos 7 kernel while updating to Centos 8

I am attempting to upgrade my Centos 7 installation to Centos 8 by following this guide. When I get to the step to remove the old kernel and run rpm -e `rpm -q kernel` I am met with several dozen ...
0
votes
0answers
5 views

how can I programmably config the qemu machine's firmware settings?

On centos there is no OVMF_CODE.fd but only OVMF_CODE.secboot.fd But I need to turn off the secure boot due to some drivers. I can manually disable the secure boot. But I wonder how can I do this ...
1
vote
1answer
26 views

CentOS-7 installation on two disks (SSD + HDD)

I am trying to install CentOS-7(GNOME) on my Dell Laptop which has 30GB SSD and 1TB HDD, RAM of 8GB, i7 Intel processor. I am doing manual partition. I have selected SSD as bootable drive and my /boot ...
1
vote
0answers
24 views

Multi-WAN CentOS router - Xfinity connection is Xfinicky. All other WAN connections work fine

This problem has been driving me crazy for days. I'm working on a prototype for a mini router/VPN client device to deploy to our employee's homes. Currently due to family circumstances I'm actually ...
1
vote
1answer
39 views

How to block outbound traffic in CentOS without using IPTables or Firewalld?

I am trying to implement something like Chaos engineering, so implementing the functionalities manually. One of the functionality is blocking outbound DNS traffic without using IPTables or firewalld. ...
0
votes
0answers
31 views

is the mdadm configuration ok?

I have installed a new raid 10 under /dev/md123 and I want to be sure that the raid array is ok after reboot. my original mdadm.config was # mdadm.conf written out by anaconda MAILADDR root AUTO +imsm ...
0
votes
1answer
17 views

Installing VirtualBox 6.1.22 conflicts with installed 6.0.20

On my CentOS 7 installation I am looking to upgrade VM VirtualBox. The downloaded installer runs through yum and asks permission to install. However the installation fails with a Transaction check ...
0
votes
0answers
28 views

yum-config-manager --enable repo id but not work

Description: I tried to use yum repolist all to get all my repos and i got Failed to set locale, defaulting to C Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ...
0
votes
1answer
12 views

ClamTK Scan Result Location CentOS 7

I've setup ClamTK on my CentOS 7.9 PC and I wanted to know where the on demand scan results are stored? I couldn't find any references on the developer website nor the Linux man pages. Would anyone ...
-1
votes
0answers
17 views

Can't find openjdk after rpm installation

I'm using CentOS 7 and want to install openjdk7. After executing rpm -ivh java-1.7.0-openjdk-devel-1.7.0.221-2.6.18.1.el7.x86_64.rpm, I typed update-alternatives --config java, the result was: There ...
0
votes
0answers
17 views

Crash and data gone on audit backlog limit

I am seeing crash and entering grub rescue mode on hard reboot after a few messages of "audit: backlog limit exceeded" on console. Suddenly, the above messages are seen on conosle and at ...
-1
votes
1answer
30 views

How to decrease /dev/sda1 partition size?

This is defualt CentOS7 partition download from Vagrant box package except the disk size I change from 40GB to 80GB How can I decrease /dev/sda1 partition size without losing Boot data? And Is fresh ...
0
votes
0answers
14 views

How to rebuild original file structure from the “Lost” folders that show in UFS Explorer Professional Recovery

"Documents" folder had been deleted on CentOS which used LUKS & XFS. UFS Explorer Professional Recovery has been able to recover what it seems all documents that were inside this folder ...
0
votes
0answers
9 views

error restart apache after the patching in centos 7

I did a yum update for my server and the server failed to restart. I got: Job for httpd.service failed because the control process exited with error code. [root@Sarh log]# apachectl configtest [Sun ...
0
votes
0answers
32 views

Problem with updating Cent OS 8 Linux with yum and dnf

I am new to CentOS 8. I installed CentOS 8 and now i am facing problems with updating the CentOS. I tried with yum and dnf both. Below is the error which I am getting. Could you kindly help. [root@...
0
votes
1answer
43 views

How can I revert the permissions of /etc? Whole system stopped working

I am looking forward for this question. How can I revert a chmod on the etc directory? I have tried all the methods, but I am still not able to restore the permissions of my /etc directory. sudo: ...
0
votes
0answers
14 views

No sound Centos 6.7 installed on Vmware

I installed centos 6.7 on vmware (I know it is outdated now) , but the sound didn't work and when I head to the sound it keeps saying: Waiting for sound system to respond I tried to change the ...
0
votes
0answers
23 views

Kernel-ml-devel installed on Centos 8 Stream but the packages is not considered as kenel-devel replacement

I have an issue, Thanks in Adance, I am long time Ubuntu user, using fedora since last year, but a newbie for Centos, I installed centos 8 stream in my auxiliary laptop, after using fedora I feel dnf ...
0
votes
0answers
33 views

Unable to connect to AWS centos instance from Oracle Linux Virtualbox

When I am trying to connect to AWS CentOS instance from Linux Oracle I am getting below error: ssh -i "/LinuxTest.pem" centos@ec2-3-7-55-40.ap-south-1.compute.amazonaws.com Load key "/...
0
votes
2answers
32 views

Shutdown and reboot privileges

While I tried 'reboot' through normal user (non-root), it went through. I tried 'shutdown' through same user, it also went through after scheduling the shutdown. But when i tried sudo shutdown through ...
0
votes
0answers
14 views

Haproxy rate limits by URL parameter

We have a haproxy and need to rate limit per second requests to API by URL parameter(token\key). Right now we have test a configuration from documentation: frontend website bind *:443 ssl crt /etc/...
-1
votes
0answers
20 views

The Compress menu item in Gnome. Where can I look to try to fix it?

In the Gnome file manager in CentOS 7, the context menu has many 'Compress' options. However none seem to work, all with various symptoms: .zip generates no file at all .tar generates an empty ...
1
vote
1answer
32 views

Unable to mount USB CD Drive

I have a Linux machine running CentOS7 that does not have a built-in CD drive. I need to copy files from a CD onto the computer, so I'm using a USB CD drive. I cannot get the computer to recognize the ...
0
votes
0answers
7 views

x2go sharing smartcard

If I use desktop Mate in remote session settings - I see my smartcard inside session. If I use "application" and write path to my app - smartcard not visible inside my session. What command ...
0
votes
0answers
19 views

Kickstart: get sw installation list of minimal-centos8

I am trying to create a custom kickstart-file for our installation media, which will be based on a minimal centos8 installation. But to have a bit better knowledge about what is actually being ...
-2
votes
0answers
44 views

How to manually install ncurses on Centos 7?

My centos docker container is unable to contact Internet via yum, so I am unable to install packages via yum. However, I require one package for further operations: ncurses-devel I have downloaded the ...

1
2 3 4 5
154