Skip to main content

Questions tagged [centos]

Community ENTerprise Operating System; a Linux distribution based on Red Hat Enterprise Linux widely used on web servers.

1 vote
1 answer
392 views

Why I get refused when connect my remote host with domain name using ssh?

I added two A DNS records on my domain name whose HOSTNAME is @ and www, I'm wondering why I get refused when use davidzhu.xyz $ ssh [email protected] ssh: connect to host davidzhu.xyz port 22: ...
Shaowen Zhu's user avatar
1 vote
2 answers
249 views

Why does my VPS get lots of ssh logging attempt from unknown hosts [duplicate]

This log is part of /var/log/secure :
Andrew Law's user avatar
0 votes
2 answers
2k views

Can't copy paste between windows 10 to centos 7 in VMware workstation, how to fix this issue?

I've windows 10 installed as primary Operating System. Inside it, using vmware workstation 17, I've installed centos 7. Now, for eg: I want to copy the command to download mysql workbench in centos 7. ...
achhainsan's user avatar
1 vote
1 answer
393 views

Stop script in init.d is not called

I am using Centos distro. I have a stop script present in etc folder appended with K** prefix [linux_machine ~]$ ll /etc/rc0.d/ total 0 lrwxrwxrwx 1 root root 31 Apr 5 00:59 K01kill-agents -> /etc/...
Paul Schimmer's user avatar
0 votes
1 answer
1k views

Update GNU-Make on Centos 7

Is there a simple way to install a new version of GNU make on centos 7? similar to the devtoolset-8. Or is there only the manual way (download the tar)
nobs's user avatar
  • 143
0 votes
0 answers
173 views

Install php-mod and php-fpm (different versions) on the same server

One of our clients has a server which is running PHP 5.3.3 (in our understanding it is mod_php, apache, Centos 6). Is it possible to install ANOTHER php version (say PHP 8.0) in say php-fpm for a ...
Ken Lee's user avatar
  • 101
0 votes
0 answers
306 views

PAM updates for mounting an encrypted user's home at login (GNOME 40.4.0)

I would like to decrypt my LUKS encrypted /home directory at login on Rocky Linux 9.1. I have been trying to adapt this Arch Linux guide (https://wiki.archlinux.org/title/Dm-crypt/Mounting_at_login; ...
Mitch's user avatar
  • 1
0 votes
1 answer
459 views

How to make the incoming and outgoing interfaces the same by packet?

My server has two interfaces. First interface is directly connected to local ISP and second interface is connected to other region that connected with GRE tunnel. So it looks like: ┌──────────────────┐...
minjunkaaang's user avatar
1 vote
0 answers
6k views

Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Centos 7 Error? yum update not working on new VM

I just installed new VM it is giving below error when i run yum update command [root@localhost ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not ...
user avatar
1 vote
0 answers
250 views

QEMU in Linux container connected to over SSH

I have been trying to use QEMU to get a VM (CentOS) running hosted in a container that I use a Putty SSH session to connect to. It seems I have issues with the serial input. I am using this command ...
Steve4879's user avatar
0 votes
0 answers
47 views

Noticed very large space utilisation in linux LVs, how to find which file or what is responsible here?

I have two disks in my server with a LVs created and issue is on the one mounted on /. I am aware of using find and sort to output the largest for some given number of lines. like: find / -type f -...
animorph's user avatar
1 vote
0 answers
406 views

Is there any way to pg_upgrade PostgreSQL 12 to 15 over network?

My situation is a little bit complicated. I have an older version of PostgreSQL 12.9 installed on an older Centos Stream 8 machine. There are about five custom databases created under the roof, say ...
cidy.long's user avatar
  • 149
1 vote
1 answer
861 views

Waiting until a string appears in a log file

I have a log file that text is appended to during the program run. I want to know when a specific string was appended to the end of the file. All the solutions given here: Monitoring a file until a ...
Codo's user avatar
  • 13
5 votes
0 answers
449 views

Files being created with the wrong owner

I'm using AWS sagemaker and today I went to commit some files and got this error: Bad owner or permissions on /home/sagemaker-user/.ssh/config fatal: Could not read from remote repository. Please ...
Gonzalo Hernandez's user avatar
0 votes
1 answer
282 views

Apache doesn't download files stored outside of default web folder

I've got a webserver from Vultr running on CentOS Stream 9. The files I want people to be able to download are stored on a separate hard drive mounted to /mnt/box/public/. I've set Apache to host it ...
uloste's user avatar
  • 1

15 30 50 per page
1
3 4
5
6 7
215