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
2
votes
2answers
129 views

Configuring font rendering on CentOS - exactly like in WinXP

My goal is to configure Courier New font on CentOS7 to look like in Windows XP (XP just for example, not using it). Font configure file at ~/.config/fontconfig/fonts.conf: <?xml version='1.0'?> ...
1
vote
0answers
16 views

virtualbox client performance issues in graphical mode

I hope this is he right stack exchange to ask this question. I have a Win10 host running virtualbox 6.0.8. I am running a CentOS 7 client. A default CentOS installation uses a multi-user.target (...
0
votes
1answer
38 views

LibreOffice 6.2.4+ crashes with code 139 on CentOS 7.6

Versions of LibreOffice starting from 6.2.4 are not able to run on CentOS 7.6. Running libreoffice6.2 exits with code 139. There are old bug reports (e.g. this) which have similar symptoms but are ...
0
votes
1answer
26 views

ping always suceeds - even on non-existing domains

Working on CentOS7 - after entering non-existing domain: # ping dfgsdfgsdfsdf.sd The answer is (mail.xsistema.lt is local domain, machine name): PING dfgsdfgsdfsdf.sd.xsistema.lt (192.168.0.55) 56(...
1
vote
1answer
40 views

What's the meaning of `@anaconda` of `yum list`?

I use yum list: there shows the @anaconda and redhat_cdrom. I want to know what's the meaning of @anaconda?
2
votes
1answer
47 views

The cdrom repo can not makecache

I my CentOS 7.2: I mount my virtual cdrom (/dev/sr0) on my /mnt/cdrom: I use mount command check my mount list there has the information: ... /dev/sr0 on /mnt/cdrom type iso9660 (ro,relatime) ... ...
-3
votes
1answer
47 views

2 Ethernet cards on Sangoma Linux 7.5.1805

I've Sangoma Linux 7.5.1805 I installed a second ethernet card into motherboardls and since then the integrated interface stopped working As I plug cable into the second NIC the network starts to ...
0
votes
1answer
56 views

Showing “Cannot create SSL client. SSL is not enabled in this build” when connecting to Cosmos DB (MongoDB API)

I am facing the error "Cannot create SSL client. SSL is not enabled in this build" when connecting to CosmosDB using the MongoDB API. My PHP configuration suggests SSL support is included in my ...
1
vote
1answer
114 views

How to make devtoolset g++ available for Makefile in docker's centos7?

I am building a docker image from a basement image which installed the CentOS 7. The code that need to be compiled need some features in C++14/17 standard, thus i have to update the default gcc/g++ ...
1
vote
0answers
35 views

Occasionally my home directory gets 0777 permissions. How does that happen?

Several times a year, I find I that my home directory magically got permissions 0777 (the symptom being ssh not longer trusting my keys in .ssh/*). I have no idea how this happens. I chmod 755 $HOME ...
0
votes
1answer
451 views

Wireguard not routing traffic from client to other servers on the network

I am having CentOS 7.6 version, and I installed test Wireguard VPN server. The whole installation and configuration is pretty easy, at least according to documentation, so what I did, I installed ...
1
vote
0answers
87 views

Logrotate + rsyslog issue

Actually, i have an issue with rsyslog. When rsyslog should rotate the log (via logrotate); i got this issue : gzip: standard input: Bad file descriptor error: failed to compress log /var/log/...
0
votes
1answer
56 views

Shell Script - Check if a file contains a specific line/string

my script contain : #### #!/usr/bin/sh FILE="/home/steven/.bash_profile" STRING="export PATH="$PATH:/opt/mssql-tools/bin"" if [ -z $(grep "$STRING" "$FILE") ]; then echo 'the string is ...
0
votes
2answers
22 views

Problem with missing yum package CentOS (Virtualmin)

I am struggling with installation of rh-php71 package using yum on CentOS 6.10 and wondering how I could debug what's the root cause. I have followed instructions on scl: # 1. Install a package with ...
1
vote
0answers
144 views

Specify UID/GID for NFS mount (CentOS 7)

I have two servers svrA and svrB (both CentOS 7), where svrA is a turn-key system so I cannot change anything on it, and svrB is the one I am working on. svrA contains log files I need to transfer to ...
0
votes
2answers
34 views

Find the size of file from absolute path

How to know the size of the file from an absolute path. For example, I have created a file test. Inside that file, I have specified the absolute paths of some other files. Now from the given file how ...
0
votes
1answer
30 views

CentOS7- Why able to ping when network services is down?

Please advice below questions: Under /etc/sysconfig/network-scripts/, there are 2 configuration interface files (ifcfg-enp0s3 and ifcfg-lo) as shown in network-scripts content I type ifconfig and it ...
1
vote
0answers
178 views

systemctl enable docker container service - failed

I basically follow the document in AWS https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_user_data_scripts.html I created a Centos 7 and tried to install docker, ese-agent within my ...
0
votes
1answer
48 views

get error while installing gcc with yum

i changed my yum repository to /media and mounted iso of CentOS-7-x86 to /media and used yum install packagename to install packages with dependencies, got no errors but when i tried to install gcc i ...
2
votes
2answers
110 views

CentOS 7.x on GNOME how to modify default terminal

I have CentOS 7.6.1810 with 'server with GUI' option selected at install time. I also installed terminator, I am looking for a way to change the default terminal on CentOS to become terminator, I ...
0
votes
1answer
54 views

Mate doesn't load environment variable when using menu launcher

I'm using many environment variables to setup several softwares, like maya / nuke, houdini... those variables are refering to other variables. to set them, I have created scripts in /etc/profile.d/ ...
0
votes
0answers
13 views

Can't Seem to Block or Delete Wifi Networks

I am trying to restrict the wifi access on my Centos 7 machine to block, or allow only certain networks. Nothing seems to work. I've tried to forget networks, use the firewall, and deleting the ...
0
votes
0answers
38 views

Why does man not find entries?

> man ls No manual entry for ls > man tar No manual entry for tar Every command cannot be found, except Git. I installed git a while ago and had trouble getting the git man to show up. I ...
1
vote
0answers
29 views

Install packages in CentOS without root from non enabled repository

I need to install a high number of packages in a computer running Scientific Linux 6 (based on RHEL 6) for which I don't have root access. After much tinkering and internet searching I found this ...
0
votes
0answers
4 views

Does anyone know where to find info about “OS.EnableFirewall=y” for the WALinuxAgent in Azure?

I am trying to understand exactly what change to the firewall that configuration makes, but it is not in the list of configs on the Azure git repo: https://github.com/Azure/WALinuxAgent
0
votes
1answer
129 views

yum or dnf update with `--skip-broken` on just one repo?

Is there a way to run yum update --skip-broken Such that only missing packages from one repository are skipped? As a third party that distributes RPM packages we would like our broken packages to ...
0
votes
0answers
26 views

centos 7 can't run on new pc

I have a fully working centos 7 pc, I want to change that pc so I need to take out the HDD from old to new PC( keep all files and VM config) but my new PC cant find the centos 7 EFI file to boot from.
0
votes
0answers
108 views

Linux Virtual Console (ctrl+alt+f2) scrolls past edge of monitor

I run centos linux 7 Kernel 3.10.0-957 Graphics are nvidia, resolution 2560,1440 echo $TERM returns linux In all of my ctrl+alt+f# virtual consoles, the text scrolls past the bottom of the display....
1
vote
1answer
22 views

How to reference and combine alias values

Pretty darn simple I would have expected. I have a large .bashrc file I made years ago where everything is spelled out for values on my alias's. I want to reduce the size of the file and make use of ...
0
votes
0answers
24 views

Getting trouble installing HPjmeter

I'm trying to install HPjmeter console on centos 7 desktop in order to monitor my web app GC status . I've follwed all the steps mentioned on the official user guide but when executing this command ...
-1
votes
1answer
41 views

disable shutdown and reboot commands in sudoers file for normal users not working

I have added the following lines in order to prevent normal users from soporte group to shutdown system: cmnd_Alias SHUTDOWN = /sbin/shutdown,/sbin/reboot,/sbin/halt,/sbin/poweroff # User ...
-1
votes
1answer
40 views

passwordless authentication with SSH key pair

Apologies if this question isn't sophisticated enough, I am sort of new to Gnu/Linux. I've 4 VMs in Azure all running CentOS, 1 master and 3 workers. I've set up a passwordless authentication between ...
0
votes
2answers
36 views

free command - different outputs after conversion

I'm monitoring my RAM on a CentOS 6 server and when I free -h I see 15G available which is OK but when I free -b I see 1641154969 bytes which equals 1,641154969G. free -h total ...
0
votes
1answer
102 views

How are rpm transactions used in `yum update`?

Is the whole yum update transactional or is every resolved update individually? If the yum update detects Foo and Bar need to be updated, and Bar fails because it now collides with installed package ...
0
votes
0answers
28 views

Normal SSH Setup operations fail for remote root user when origin is a MAC

So this is about Centos7, SSH remote login setup, and the fact that Macs don't have a root user. I've asked this question a couple times and been provided explanations about how ssh works. Some of ...
0
votes
1answer
46 views

Error building Docker container images on CentOS 7

I'm trying to build a CentOS 7 Docker container from a minimal template as below FROM centos:AUTO_SELECT_VERSION RUN yum -y install yum-plugin-ovl \ && yum -y install lsof perl file tar ...
1
vote
1answer
778 views

Trying to install centos 7 — getting pane is dead error

This is my very first installation of any Linux distribution. I have seen "pane is dead" questions and answers to them here, but I don't think they apply to me -- for one thing, I'm not using ...
0
votes
0answers
13 views

Sendmail Hostname error

We recently changed hostname on our Fedora server to xyz and Sendmail logs report like: July 08 00:06:36 xyz sendmail[20506]: That's fine. But we changed the hostname back to abc but the sendmail ...
0
votes
1answer
132 views

CentOS 7 not finding security update rpm packages

On my CentOS 7 server, when I run yum --security upgrade its not finding any security update rpm packages, but I know vim-minimal security update package available. How can I make yum security ...
1
vote
0answers
28 views

weblogic cluster between two different server

I have two server (for example 1.1.1.1 , 1.1.1.2). I want to have one administrator tools and two managed servers (one on 1.1.1.1 and another on 1.1.1.2) and cluster these two nodes. Is the base of ...
1
vote
0answers
16 views

Collecting Logs in full depth

We have a Linux server, whose logs are collected by EventLog Analyzer on a Windows machine. I need to collect logs of events in full detail format, e.g /home/aa/bb/a.xlsx /home/xxx/sss/b.doc ...
1
vote
1answer
64 views

Upgrade centos kernel 5

Try to update kernel latest but not shown in list available kernel. I check the repo list on the mirror site kernel 5 are listed there. Is there someone have the same issue and solution for it.
4
votes
1answer
518 views

Do scripts in /etc/cron.hourly and /etc/cron.daily, etc., get executed automatically?

I've understood that the entries in /etc/cron.d/ are executed automatically. But I have also found these in /etc/ /etc/cron.daily/ /etc/cron.hourly/ /etc/cron.monthly/ /etc/cron.weekly/ In /etc/cron....
1
vote
0answers
151 views

Live USB with custom CentOS image and Veracrypt Partition

Context: I have a USB drive with 2 partitions: the first one is a custom, non-persistent, image of CentOS 7.6 1810 (with GNOME) and the second one is an encrypted data partition. The objective is to ...
1
vote
0answers
61 views

cd /bad-directory ; source junk.1 logs me off!

I thought I knew unix/bash etc. The compound statement USING TCSH! cd /lkjsdf ; source junk.1 completes and then logs me off IF the cd directory does not exist. It works fine if the directory ...
0
votes
2answers
43 views

How to install zutils on Centos7

How do I install zutils on CentOS7? I want to use the zutils version of zgrep. I tried yum install zutils but it didn't work.
0
votes
1answer
44 views

Read a list of files from text file, move them preserving directory structure in bash

Similar to the question asked here, I'm trying to move a list of files from one folder to another whilst preserving the directory structure. The move command happens after a chain of events earlier in ...
1
vote
0answers
27 views

Emergency mode using some kernels in CentOS

I did some mistake of fiddling with an old VirtualBox installation, trying to build kernel modules. I got rid of dkms. Still, I have the strange problem that the two latest kernel I have results in ...
0
votes
0answers
28 views

How can I download “sysinstall” on CentOS7?

My professor has specific instructions in my homework to: "use sysinstall to execute the menu system at the the command prompt" It sounds silly to me because yum is the default package manager on ...
1
vote
1answer
25 views

NetworkManager package unable to install

Currently I'm trying to install package NetworkManager in Linux 2.6.32-642.6.2.el6.i686 i686. When I run yum install, it says: [root@localhost ~]# yum install NetworkManager-config-routing-rules ...