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
0 answers
10 views

How to add windows client machines IP’s and names in squid proxy so the logs output as clients name instead IP

I have configured squid proxy server on centos stream and its up and running perfectly I want access.log output as windows client usernames instead of machine IP . As example below . current output ...
user avatar
0 votes
0 answers
3 views

Centos-Http connection fails for GUI applications/browser over Xwindows

http proxy is defined inside profile and all cli applications like curl,wget,yum all work fine. When running any browser over Xwindows and setting the proxy through the browser menu or system wide ...
user avatar
  • 103
0 votes
0 answers
14 views

Setting DISPLAY variable on a remote XServer session

I have a CentOS system running an X2go server and I use a client machine to connect to it. I'm trying to do some command-line automation for mouse-clicks using xdotool. The automation is scripted in ...
user avatar
0 votes
2 answers
25 views

How to install libreoffice in centos5 without yum?

I'm trying to install the Libreoffice in CentOS 5. Unfortunately, my system is separated with Internet. So I can't use the YUM for install. Fortunately I found https://downloadarchive....
user avatar
  • 135
0 votes
0 answers
29 views

CentOS 7: yum can't find valid baseurl

In trying to install the latest version of R on CentOS 7 through EPEL, I ran the following command: yum --enablerepo=epel clean metadata After this, my yum install refuses to work and gives me the ...
user avatar
1 vote
0 answers
8 views

Centos 7 to Automatically connect to a Bluetooth device when it's available

I need to connect Zebra ring scanners to Cent OS boxes. With Bluetoothctl I am able to connect to one with a specific BT address, however our users in the workhouse are using an application which ...
user avatar
0 votes
0 answers
11 views

How to update php version on Rocky Linux

I have a rocky linux 8.6 Green Obsidian server running Apache 2.4.37 with php 7.3.33 and i was wondering how to update the php version to the latest 8.0.* release. I'm using the remi-php73 repository ...
user avatar
  • 1
0 votes
0 answers
8 views

Installing AlmaLinux 9.0 over VNC

Is it possible to install AlmaLinux 9.0 or upgrade from Alma 8.6 to 9.0 fully remotely over VNC? Some Linux distributions provide Inet .iso for VNC installation, somewhere it is possible to upgrade ...
user avatar
  • 1
0 votes
0 answers
6 views

arrow key are enabling SHIFT in centOS machine

I am working on CentOS virtual machine and today I might have pressed something. After that whenever I press the arrow keys it enables the SHIFT key permanently. To disable it I have to press both the ...
user avatar
0 votes
0 answers
10 views

Centos Stream 8 NetworkManager - Where is DHCP client lease data?

When using dhclient, the current lease info, including expiration time, is in /var/lib/dhclient/dhclient.leases, and contains something similar to lease { interface "enp3s0"; fixed-...
user avatar
  • 232
2 votes
0 answers
28 views

"PXE-E11 ARP timeout", "PXE-E38 TFTP cannot open connection" errors on client machine when connecting to PXE CentOS Linux server

For my setup at work, I am having trouble getting my test client to run PXE Linux from the PXE Linux Server I have setup from this walkthrough at: https://www.linuxtechi.com/configure-pxe-installation-...
user avatar
0 votes
0 answers
15 views

Can't log-in on gnome desktop session

I'm using a RockyLinux (CentOS/RHEL-like distro) VM on VirtualBox Since this morning I can only log-in through ssh, when opening the GUI it loops a few times to the password prompt then I lose all ...
user avatar
1 vote
2 answers
61 views

How to upgrade and set default kernel on CentOS Stream

This is a virtual machine (vmware) on vCenter Current Kernel 3.10.0-862.el7.x86_64 [root@stage ~]# uname -a Linux stage.dsr.FILTERED.net 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 ...
user avatar
  • 844
0 votes
0 answers
11 views

core error - Script timed out before returning headers: wsgi.py

I'm running a Django app on Apache/2.4.6 (CentOS) with mod_wsgi. When I visit my domain, after few minutes I get "Internal Server Error". The log file shows the following error - [core:error]...
user avatar
  • 1
0 votes
0 answers
30 views

How to install curlftpfs in Centos Stream 9?

I am trying to install curlftpfs in Centos Stream 9, but it is not being found. How can I install this application? # yum install curlftpfs Last metadata expiration check: 0:47:33 ago on Thu 16 Jun ...
user avatar
0 votes
0 answers
33 views

System fails to boot new kernel after CentOS 9 Stream migration

I have performed a migration from CentOS 8 Stream to Centos 9 Stream on a VPS server of mine with directions I found on Github which have worked, except grub still boots the old kernel from when the ...
user avatar
  • 1,789
0 votes
0 answers
15 views

Really slow mouse speed in CentOS9 Stream

I am a new Linux user and I have tried to increase my mouse speed as the sensitivity has changed recently and it is very slow to move. I have looked online and tried to change the sensitivity using ...
user avatar
  • 1
0 votes
2 answers
36 views

Does CentOS have recursive route lookup feature?

I was wondering if recursive route lookup is possible in CentOS? Here is the scenario: I have 2 NICs on the machine. NIC1 has default gateway. NIC2 needs communicating to outside world to only 2 IP ...
user avatar
  • 1
0 votes
0 answers
9 views

How to get VirtualBox web server to use a public domain name?

Here's the situation: CentOS 7 x64 latest is installed in VirtualBox on my PC. Webmin is installed and port forwarded through VirtualBox so I can access the Webmin interface on the host PC. So the ...
user avatar
0 votes
0 answers
9 views

Direct mapping works in autofs but indirect mapping does not

I have an NFS server where the /etc/exports file contains: /shared *(rw,no_root_squash) I want to use autofs in another machine (Rocky Linux 8) to mount that folder but only the direct mapping method ...
user avatar
0 votes
0 answers
18 views

How to resolve DNS to VirtualBox server?

Ok so most of the knowledge I have about it is complete, but I am missing some steps. I created a dynamic DNS at no-ip.com, I don't know if I'll use that service ultimately, but there are a lot of ...
user avatar
0 votes
1 answer
16 views

Host PC fails to access Webmin which is installed on CentOS in VirtualBox

Webmin can be accessed over SSH after forwarding the port. Now I am trying to access Webmin's control panel on my computer outside virtualbox but on the same computer, but it doesn't load. I tried ...
user avatar
0 votes
2 answers
31 views

Problems understanding LVM configuration in Rhat 7 that needs to be extended

I inherrited a server which is running out of space and need some help understand it's configuration before I take action. I need to extend a logical volume without rebooting the server. LVS shows ...
user avatar
0 votes
0 answers
25 views

Cannot install rootless docker on Almalinux 8

I am attempting to install rootless docker on Almalinux 8.6. I am running the appropriate script after disabling rootless docker: dockerd-rootless-setuptool.sh install and I keep getting the ...
user avatar
0 votes
0 answers
21 views

How can I enable cgroups v2 in RHEL8?

I am trying to find a way to enable cgroups in RHEL8 on Google Cloud. Their file system is quite difficult to use. There is nothing in "sys/fs/cgroups" or "/etc/systemd/system.control/...
user avatar
0 votes
1 answer
33 views

I need a package for my version of RHEL/EPEL/CentOS/Fedora, but it's only packaged for other versions of Redhatoids

I'm often in the situation where I backport some fedora-packaged software to CentOS, or forward-port something from an older version of EPEL to Fedora, or vice versa. How can I do that with the least ...
user avatar
0 votes
2 answers
36 views

autogen is no longer available in CentOS 9?

I'm unable to install autogen on CentOS 9, is that package removed now? # yum clean all # yum search autogen Last metadata expiration check: 0:02:57 ago on XXX No matches found.
user avatar
  • 51k
0 votes
0 answers
42 views

Cuda installation, conflicting nvidia drivers seem to not exist

I am a relatively new Linux user getting an error about conflicting nvidia drivers when installing cuda on Centos 7: Error: nvidia-driver-latest-dkms-libs conflicts with nvidia-x11-drv-libs-515.48.07-...
user avatar
  • 1
0 votes
0 answers
42 views

OpenVPN IPv6 ping outside and inside network but can't surf web

I have an OpenVPN server configured to use IPv4 and IPv6. IPv4 it's all OK - I can ping and surf internet. IPv6 can ping only. I have a /48 assign to me by Hurricane tunnel broker and configured to ...
user avatar
-1 votes
0 answers
18 views

how to remove multiple hdd from extended home partition and resize it in centos 7

i have centos 7 OS with multiple hdd for home partition with xfs format, total all of size 10TB i want to remove sdd, sde, sdf and sdg from home partition. i also want to reduce home partition to 5TB ...
user avatar
1 vote
1 answer
78 views

How can I stop (Cron <root@server> run-parts /etc/cron.hourly) emails

I am getting these emails constantly on a new CentOS 7 server. Subject: Cron <root@server> run-parts /etc/cron.hourly /etc/cron.hourly/0anacron: /etc/cron.hourly/50plesk-hourly: /etc/cron....
user avatar
0 votes
0 answers
13 views

How generate myown module.kabi_x86_64 resolving "abi breakage was detected"

all After add a member variable in include/net/sock.h's struct sock {}, and rebuild using rpmbuild -bb kernel.specs, I got the following error: ERROR - ABI BREAKAGE WAS DETECTED I got the searched ...
user avatar
0 votes
0 answers
23 views

Centos 7 Mysterious Reboots

this is my first post here. I've been dealing with an issue where a Centos 7 box is rebooting every Sunday night at 20:03 and 20:31. I don't see anything in Cron for any user. The messages logs aren't ...
user avatar
0 votes
0 answers
14 views

How to install .cfg file in CentOS 7 with terminal

I want to install Keras, so I cloned, and inside the folder, I have the file install.cfg I have CentOS 7 how can I install it from the terminal? I know how to install other ways but I need to ...
user avatar
1 vote
0 answers
288 views

CentOS 8.5.2111 with EPEL repository: Upgrading Ansible via dnf fails

I've installed ansible-2.9.27-1.el8.noarch on a CentOS Linux release 8.5.2111 machine. For this I've enabled the "epel-release" repo using "dnf install epel-release". When I try to ...
user avatar
0 votes
0 answers
22 views

Unable use systemtap in the docker container

I am trying to use systemtap to debug the kernel in the docker container, both docker host and container is based on CentOS 7(a bit difference: host:7.6, container:7.9) with kernel version of 5.4.142 ...
user avatar
0 votes
3 answers
68 views

How to quickly reformat a partition to effectively empty the disk? [closed]

My drive is 18TB and it is filled to the brim with junk I don't want, and there are so many millions of files that it would take days or weeks to delete it all using rm -rf. I want to do the ...
user avatar
0 votes
0 answers
13 views

Is there a way to apply security policy from pre-installation setup, but post installation?

Good Afternoon! I have a RHEL 7.9 Server I set up and it is off the network. I am trying to find a way to apply those default security policies (DISA STIG) from during the installation process without ...
user avatar
0 votes
1 answer
48 views

How to install specific kernel-ml-devel by yum

I am trying to install kernel-ml-devel for debugging the kernel, the version of kernel as follow: root@localhost:/usr/src/kernels# uname -r 5.4.142-1.el7.elrepo.x86_64 root@localhost:/usr/src/kernels# ...
user avatar
0 votes
1 answer
49 views

How to delete entire directory fast in under 1 hour that contains millions of files and nearly 18TB of data? [closed]

My backup program backed up entire other drives multiple times by accident to one of my large drives and therefore hogged the entire drive. I already have backed up to another drive what I need from ...
user avatar
3 votes
2 answers
124 views

Remove all dnf modules currently installed

I have a CentOS 8.0 system with quite a few modules installed I don't want. I want to get rid of them to force an upgrade to CentOS 9.0, which I know is not officially supported but it is not actually ...
user avatar
  • 1,789
0 votes
0 answers
58 views

Unable to install pg gem on CentOS Linux release 7.6.1810

ruby --version ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux] gem --version 3.3.7 PostgreSQL 9.2.24 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44),...
user avatar
0 votes
2 answers
33 views

Linux list connected devices (like SSDs) showing remaining disk space

How to display all connected usb devices on a centos 7 machine showing remaining disk space? I have tried lsblk but that does not show free disk space ... lsblk
user avatar
0 votes
1 answer
31 views

perf top not working as expected

I'm completely confused about the output of perf top I'm running a C program called sac2, which burns an entire CPU. Specifically it iterates through a 100 billion byte array adding all the bytes as ...
user avatar
  • 1
1 vote
1 answer
23 views

How to install syslinux-efi64 on Centos 8

In order to Create bootable syslinux USB on UEFI with Centos 8, I need some files from the syslinux-efi64 package. The centos.org site says that such a package exists, but yum/dnf fails to install it: ...
user avatar
  • 387
0 votes
1 answer
112 views

Create bootable syslinux USB on UEFI

We use a Centos 8 machine to create syslinux bootable USB installers for our product. The created USB now supports only target machines with BIOS (or with CSM mode turned on) but we need to update it ...
user avatar
  • 387
0 votes
1 answer
48 views

How to configure mdadm.conf properly

I have 2 mdadm arrays. Long time ago, when there was only one raid, i wrote mdadm.conf and it looked like this: # mdadm.conf written out by anaconda MAILADDR root AUTO +imsm +1.x -all ARRAY /dev/md/...
user avatar
  • 167
0 votes
0 answers
12 views

How to launch 3+ instances of freerdp for 3 windows VMs from single centos

I have 3 or more windows machines, those I can connect from centos individually using below command xfreerdp /u:username /p:password /v:hostname but what I want is to connect them in parallel, using ...
user avatar
  • 101
0 votes
0 answers
123 views

AlmaLinux 8.5 yum update fails due to ImageMagic conflicts

At the time of ImageMagic installation, I used the following commands. dnf --enablerepo=powertools install ImageMagick ImageMagick-devel Now I am going update my AlmaLinux 8.5 server using the command ...
user avatar
1 vote
1 answer
38 views

Using move command to move all files and subdirectories with find

I have a folder /home/storage/aggregate_data with many sub-folders which in turn contain many files and sub-folders. I want to copy all the files older than 90 days within the folder /home/storage/...
user avatar

1
2 3 4 5
161