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
11 views

Asian font rectangles in NetBeans editor window (CentOS). How to fix?

In NetBeans editor the font is set to monospaced or Courier New. Editor can display ASCII characters, also Russian, Lithuanian, etc. UTF-8 characters. But not Japanase characters, which are displayed ...
0
votes
1answer
17 views

No output from shutdown when used within a shell script

I have the following in a shell script fulloutput="<pre>$(df -h /;sudo shutdown -r +1 )</pre>" Later in the script I echo this variable (it's piped to sendmail but that's irrelevant here)...
0
votes
0answers
35 views

fstab configuration is ok, but it is diffrent in output of 'df -h'

i configure '/etc/fstab' like below: UUID=760f2c21-d558-4456-b938-66f4230ae643 /boot xfs defaults 0 0 /dev/mapper/centos-swap swap ...
-6
votes
1answer
75 views

why 'sed' does not work in this script [closed]

I have this script,create_database, that has variables between two patterns: ##from script v1= v2= ##variables and when i want to delete line between these patterns with sed it doesn't work(it's ...
0
votes
0answers
23 views

How do I install the latest version of node on CentOS 7?

I'm trying to install the latest version of node on my CentOS 7 server. I was following the instructions here -- https://www.hostingadvice.com/how-to/update-node-js-latest-version/ . Specifically, I ...
0
votes
0answers
6 views

Centos 7 after crash show interface up eth0 systemctl but ifconfig not show and not work

Is a KVM machine. Work for last 3 years perfectly. Today (i don't know if user root made any change or update, But I think the user didn't make any changes) virtual machine stop working. Not ping. ...
2
votes
1answer
23 views

What would be Firewalld equivalent of this command?

I installed IBSng on my server (Centos 7) and the install guide has been written in according to iptables. so I need equivalent of this command in firewalld please. Thanks a bunch iptables -t filter ...
0
votes
1answer
23 views

yum + Protected multilib versions

During yum installing , we get the following messages Error: Multilib version problems found. This often means that the root cause is something else and multilib version checking is just ...
0
votes
0answers
26 views

Mediafire Files with using WGET - Centos7

I just looked like 100 websites and didnt find anything. I cant download anything from MediaFire with using wget command on centos7. Actual file size is 700mb but wget is downloading like 20kb. i ...
0
votes
1answer
21 views

Cron logs show activity, but app logs show nothing

I'm trying to run a daily cron app. What I did: crontab -e Inside file, I have: 0 0 * * * cd /home/ec2-user/myapp && docker-compose up when I check /var/log/cron, I get: Jul 29 00:00:...
-1
votes
0answers
33 views

How we can do Source IP spofing in Centos7

I am doing source IP spoofing using IPTables till now. Now our core system is migrating to Centos5.7.2. We want same source IP spoofing functionality in Centos as well. But we are unable to achieve IP ...
0
votes
0answers
16 views

Uploading Postgresql repo to CentOS

I've been wrestling with getting my repo set up on Vultr CentOS server, and ran into several issues. In short, I want to know how people get their backend repo up on the CentOS server. Is moving the ...
2
votes
1answer
36 views

Question about CentOS shared sftp directory and additional drive space

We have an SFTP server (CentOS) set up to give our clients larger files. We set each user up with the following commands: useradd -g sftpgroup -d /data1 -s /sbin/nologin user1 passwd user1 mkdir /...
1
vote
0answers
18 views

How to increase font vertical spacing by using fonts.conf file?

I'm noticed in NetBeans in Windows 10 - if I set editor font to "Courier New" - line spacing is normal. Then if font is set to "DialogInput" - line spacing is about 1:2, easier to read/work. "...
0
votes
0answers
26 views

Add new interface on Centos7 without NetworkManager

I have a wifi dongle on an RPI. When I plug it in I see the following in messages: [50863.497490] usb 1-1.3: USB disconnect, device number 4 [51167.660462] usb 1-1.2: new high-speed USB device number ...
0
votes
1answer
43 views

How to set default system font in CentOS?

I want to change system font used by applications globally (or per user) in CentOS. How to do that? Perhaps I should modify ~/.config/fontconfig/fonts.conf file? I would like to set Tahoma font for ...
0
votes
0answers
25 views

Reserve RAM for tty

I have a problem with my laptop. When it starts to swap, all programs freeze - even the cursor. I need to wait 10-30 minutes for Linux to solve the problem by itself. As a temporary solution, I can ...
1
vote
0answers
19 views

How can I write a udev rule that will apply to a PCI device at boot time?

I have a PCI device on a CentOS 7.6 system that needs some special configuration to be applied via setpci in order for it to operate properly. I would like to create a udev rule that will ...
0
votes
0answers
24 views

How to know or monitor how much memory (in MB) a process uses maximum before it quit for a VPS using Centos7?

Let's say on Centos 7 a have a php script that start phantomjs, grab html content and then the browser close. I would like to monitor this process "phantomjs" and get how much ram it use until it exit....
0
votes
1answer
33 views

'getenforce' command works locally but not through ssh

I am trying to determine whether or not a number of CentOS servers have SELinux enabled. To do this, I am using the getenforce command. When I run the command locally on a single server, it either ...
2
votes
2answers
60 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
15 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
26 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
31 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
38 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) ... ...
-2
votes
1answer
33 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
28 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
45 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
29 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
88 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
44 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
48 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
17 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
51 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
31 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
27 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
69 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
35 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
56 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
35 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
23 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
47 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
25 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
98 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
20 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
20 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 ...