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).
Questions tagged [centos-7]
707 questions
32
votes
3 answers
How to turn off the screen saver of CentOS 7?
After a few minutes, the screen turns black and a screensaver will come out if I move the mouse, like on the screenshot below. How to turn all these off? The OS is Centos 7.
user280121
- 447
- 1
- 5
- 7
29
votes
6 answers
Cannot install python-pip with yum
I am trying to install python-pip in a centos7 docker container, but I think I may be missing some package or something.
[root@aasdfasdfa /]# yum -y install python-pip
Loaded plugins: fastestmirror, ovl
base …
Alex Cohen
- 393
- 1
- 3
- 8
25
votes
4 answers
Centos 7 - ping 8.8.8.8 (connect: Network is unreachable)
I think I have a routing problem. I have set up a CentOS VM, it is connected to my network and I can ping other machines.
I cannot however ping anything outside of my network.
[root@localhost ~]# ping 8.8.8.8
connect: Network is unreachable
I also…
Neilos
- 405
- 2
- 5
- 6
23
votes
3 answers
Permission denied because search permissions are missing on a component of the path, after chmod and chgrp
[core:error] [pid 5132] (13)Permission denied: [client 123.123.123.123:50398] AH00035: access to / denied (filesystem path '/var/www/mysite.com') because search permissions are missing on a component of the path
I recently changed the group owner…
User
- 821
- 2
- 7
- 15
21
votes
4 answers
How to make a desktop icon on centos 7?
I am new to Linux and this may sound very dumb but I need to make a desktop icon on centos 7 but I don't know how to do it. I tried googling but I can't even find Launcher. Need help
Kunwar
- 475
- 3
- 7
- 18
17
votes
3 answers
"screen is terminating" for non-root
When I try to run screen as a non-root user I get:
screen
[screen is terminating]
immediately, though it works fine for root
ls -alh /usr/bin/screen
-rwxr-sr-x 1 root screen 465K Jun 9 20:30 /usr/bin/screen
When googling around I noticed a…
Rob
- 659
- 1
- 6
- 9
14
votes
4 answers
How to get the machine IP address in a “systemd” service file
I need to get the IP of the machine and use it inside my service:
[Unit]
Description=Redmine server
After=syslog.target
After=network.target
[Service]
Type=simple
User=redmine
Group=redmine
ip="$(/sbin/ip -o -4 addr list eno16777736 | awk '{print…
elekgeek
- 183
- 1
- 1
- 12
13
votes
1 answer
How to install python-pip in CentOS7 Docker Container
I am trying to build a docker container that includes pip.
I am on CentOS 7.
Here is the fragment from running the docker build command:
Step 3 : RUN yum -y install python-pip
---> Running in 25d1ba46e6dc
Loaded plugins: fastestmirror
Loading…
Be Kind To New Users
- 749
- 5
- 14
- 39
12
votes
1 answer
CentOS7: Restart multiple instances of a service with one command
Is there a way of restarting all instances of a service in systemd using only one command?
Suppose we have two daemons running called thingd@01 and thingd@02. Can I restart just those without having to resort to making one call to systemctl per…
user1096824
- 123
- 1
- 1
- 5
12
votes
2 answers
"Created slice user-0.slice." and "Starting Session 2025 of user root." in /var/log/messages
I am getting "Created slice user-0.slice."
and "Starting Session 2025 of user root." in /var/log/messages in CentOS 7.
Can someone explain what they are?
[root@bew /]# tail -f /var/log/messages
May 26 21:20:01 bew systemd: Created slice…
marbew
- 121
- 1
- 1
- 5
12
votes
4 answers
CentOS 7 cannot allocate memory during a “yum install” operation
Try to yum install php56w-mcrypt and system gave me this error
libmcrypt-2.5.8-13.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
php56w-mcrypt-5.6.5-1.w7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
I ran a check on free -m
…
Muhaimin
- 231
- 1
- 2
- 6
12
votes
2 answers
Filesystem failing to mount on boot, but OK when mounted manually
I'm not sure when/why this started happening, but I have a RAID array entered in my /etc/fstab to mount on boot to /mnt/data. Up until today everything has been fine, and it's been that way for several years!
Anyway, I rebooted the server today…
spooky
- 231
- 2
- 5
11
votes
0 answers
CentOS 7 DVD ISO vs Everything ISO different
What is different between CentOS 7 DVD ISO and Everything ISO in http://centos.org/download/ ?
CentOS 7 DVD ISO 3.86 GB
Everything ISO 6.58 GB
Hamidreza
- 242
- 1
- 2
- 9
11
votes
2 answers
Searching for grub configuration file in CentOS 7
Im searching for grub.conf file in CentOS 7. I cant find it with locate(I called updatedb before). Where does it stores?
In older versions of CentOS I could find it.
BrettWatts
- 135
- 1
- 2
- 7
11
votes
3 answers
error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory
I'm trying to run DaVinci Resolve on Centos 7, but when I start the program from the terminal I get the following error:
error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory
As best as I…
Raviga
- 111
- 1
- 1
- 4