3
votes
Accepted
no python38 pkg found for centos 7
When a package's exact name is not known (python3, python38, something scl) file name searches can do a more complete search: yum provides '*bin/python3*'
Correct, there is no python3.8 in EPEL 7. ...
- 31k
3
votes
How to hide tempfs from the df output on CentOS 7 in ssh?
The df from GNU coreutils have this option:
-x, --exclude-type=TYPE -- limit listing to file systems not of type TYPE
You can run df -x tmpfs so you will get this result:
Filesystem 1K-blocks ...
- 31
3
votes
How to enable http/2 from a Centos Package/yum?
CentOS7 by default is stuck with Apache httpd 2.4.6 which doesn't provide the mod_http2.so module to implement HTTP/2.
Here's how to do with supported software and without recompilation:
enable the ...
- 9,636
3
votes
Accepted
Bind DNS Server wont start
You seem to have superfluous right bracket } right after allow-query option.
- 3,305
2
votes
jcmd works in console but fails in script
Try using & .This will make the script to run in the background. And it will have access.
-XX:OnOutOfMemoryError='sh /opt/alfresco/scripts/dumpNrestart.sh &'
2
votes
Accepted
build of python 3.10 on centos 7 results in ssl import error
Solved!
The astute reader will notice that while I built the latest version of python3.10 2022-05-27 15:02, the version I was testing was built May 15 2022, 12:44:05.
This version was left over from ...
- 131
2
votes
Accepted
Locked outside remote server
I'm guessing the user you were working with in first place was root and you have configured the public key for root so when you disabled root from login with ssh you can't even use your public key ...
...
- 117
2
votes
Which commands should be run to create this partition, volume group, and LVMs?
You need to create a volume group (vgcreate ...) first, and then you carve logical volumes (LVs) out of the volume group (VG) using lvcreate.
But first: there's no reason to create a partition table ...
- 42.8k
2
votes
Accepted
Files can't be uploaded on Google cloud after deleting user folder
This answer is using information taken from the comments with the aim of helping the community in general.
To be able to upload the files, the user performing this task should have the necessary ...
Community wiki
2
votes
Accepted
what the meaning of #!/usr/bin/php -q
The manpage for php(1) describes this option, and it is also documented in the PHP Manual; Command line options:
Option
Long Option
Description
-q
--no-header
Quiet-mode. Suppress HTTP header output ...
- 44.8k
1
vote
Accepted
Getting OpenVPN server status failed after fully configuration on Centos 7 VPS
In the container it is only possible to create and use a tun device if the hosting provider gives your container such a possibility. They need:
to load a tuntap driver on the host
to give your ...
- 9,402
1
vote
Run Docker Registry behind iptables
Dropping all traffic in the OUTPUT rule is going to prevent you from reaching any containers on your host: from the perspective of your system, a container has an address "somewhere else on the ...
- 42.8k
1
vote
Accepted
CentOS 7 - Not Getting IP Address After Reboot
Edit your interface config file /etc/sysconfig/network-scripts/ifcfg-ethX
Make sure config is similar to below.
DEVICE=ethX
BOOTPROTO=dhcp
ONBOOT=yes
I Guess BOOTPROTO=dhcp might be missing.
Please ...
- 2,601
1
vote
Kubernetes Cluster on CentOS 7 with kubeadm 1.24 - calico => coredns stuck in ContainerCreating
i solved the problem this way :
by adding these IP range in no_proxy of these 2 files :
10.96.0.0/24 (kubernetes API)
192.168.0.0/16 (CIDR calico)
10.x.x.0 (cluster node)
in : /etc/environement :
...
- 61
1
vote
Accepted
How to boot custom .iso from CentOs 7
When using a VPS, you must reboot the server and find the virtual terminal immediately. You only have a couple seconds to press any key to boot from the DVD drive, but it's possible. You just have to ...
- 1,385
1
vote
fail2ban not creating jails in CentOS
The jail isn't started because files inside jail.d must end with either .local or .conf. So rename your asterisk.full to, say, asterisk.conf.
Also don't use both jail.local and jail.d/* files at the ...
- 218
1
vote
Accepted
Use mytop as a root user, without specifying a database
From what I've seen, it's not possible to do it.
A database must be specified, but if the mysql root parameters are used, every connection will be visible in mytop.
- 123
1
vote
Permission denied zabbix
error message suggests that zabbix user cannot read the mentioned file "/var/log/httpd/error_log".
Please know that only making the file readable by all does not help - you need to provide ...
- 543
1
vote
RPM Spec files: Set %config files from a list of files
Add a little awk string concatenation magic and this should work. The rationale is that you now only define a single file for %files -f to parse. To make the single file, I used the shell redirect ...
- 156
1
vote
Upgrading Disk Space
Using fdisk, delete partition 1, recreate it with the same start and type, but with a new end. Reboot, and run the appropriate resize command for the file system you have. You can find the file system ...
- 5,559
1
vote
Accepted
HAProxy path_beg error - 503 service unavailable
im guessing you are going to http://172.18.1.125:8888/api/authorization/oauth/sign-key instead of 172.18.1.125:8888/oauth/sign-key like you expect cause you are doing nothing to strip out 'api/...
- 146
1
vote
Centos 7 server with Nginx reports errors when updating packages
yum remove nginx-mod-http-perl*
yum remove nginx-mod-stream*
yum remove nginx-mod-mail*
yum remove nginx-mod-http-image-filter*
yum remove nginx-mod-http-xslt-filter*
also don't panic nginx-all-...
- 121
1
vote
No progress durign VM installation using a kickstarter file for Centos 7
As Michael Hampton's answer said, virt-install uses virt-viewer by default, that tries to show a graphical console and may not be always possible. In my case, after using text console as below, I ...
- 144
1
vote
Accepted
Centos 7 : No space left on device after growing partition
I solved the problem. Samba had files that do not have the correct Unix rights. They were in 0755 and I put them in 0700 ...
(Take a look to the logs files)
- 41
1
vote
Apache won't start on CentOS 7
None of the other solutions here were appropriate for us. I finally found a solution that worked. The solution comes from The Geek Diary. After running their prescribed solution, restarts of polkitd ...
- 439
1
vote
CentOS 7 systemctl - no feedback or status/output
Unfortunately systemctl does not provide a "verbose" option like most Unix commands do.
One solution is to increase SYSTEMD_LOG_LEVEL to debug (info is useless here) and then filter the ...
- 362
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
centos7 × 2950centos × 587
linux × 414
apache-2.4 × 243
nginx × 130
firewalld × 118
yum × 109
ssh × 105
networking × 98
systemd × 94
php × 89
kvm-virtualization × 84
iptables × 82
postfix × 82
linux-networking × 82
selinux × 74
mysql × 68
rhel7 × 65
httpd × 64
docker × 63
firewall × 55
php-fpm × 55
mariadb × 54
domain-name-system × 49
redhat × 46