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.

learn more… | top users | synonyms (2)

0
votes
0answers
29 views

Improve CentOS performance while saving

When I save larger files at about 5 minutes of save time, Linux lags completely on my new computer. I can't change workspace or move my mouse. The files are about 50 Gb in size and are used for ...
0
votes
0answers
14 views

custom ISO Bootable USB not working

I made a custom CentOS ISO using the link. My custom OS works on the Virtual machine, but I'm unable to install it using a bootable pendrive. Where could I be going wrong?
-1
votes
0answers
18 views

How can I make my CentOS Apache server be accesed from any network? [duplicate]

I am currently running an Apache server on a computer with CentOS 7 installed. I am able to access the server locally using the IP address 10.0.1.127. However, if I try to access it remotely from ...
0
votes
1answer
28 views

device-mapper: reload ioctl on cache1 failed: Device or resource busy

When I run the below command while setting up dm-cache on my CentOS system, I receive the error: device-mapper: reload ioctl on cache1 failed: Device or resource busy Command failed Command is: ...
0
votes
1answer
39 views

Python psutil version conflict for Terminator on Centos 7

This issue started after latest updates installation, probably in last 2-3 days. When I try to open Terminator I get error, Traceback (most recent call last): File "/usr/bin/terminator", line 23, ...
1
vote
0answers
88 views

SMB server not working after upgrade from 3.5 to 3.6

our Windows 7/2008 clients can't access our samba server any more after the upgrade to version 3.6. This is on CentOS 6 (rpm --query centos-release reports centos-release-6-7.el6.centos.12.3.x86_64). ...
1
vote
1answer
42 views

CentOS 7 fullscreen not working in VirtualBox

I installed CentOS 7 inside VirtualBox. Additionally, I installed virtualbox guest additions in the following way: yum update kernel* yum update yum install kernel-devel kernel-headers dkms gcc ...
0
votes
0answers
20 views

Failed to start Crash recovery kernel arming

When trying to login into CentOS 7 either through the Gnome GUI or the login shell, I get this: After a second, I get booted backed to the login shell, or login screen of Gnome. I've tried booting ...
-1
votes
1answer
16 views

How do I install manually a package instead using yum [duplicate]

My issue is simple, I have to install this lib: yum install libyaml-devel As I'm working for a company which has some stupid security rules, I can't install it using yum. I would like to know ...
0
votes
2answers
36 views

CentOS: How to install libyaml-devel from source?

I'm trying to install RVM in a CentOS server which for some weird reason I do not have access to internet. One of its dependencies is the library libyaml-devel. I already installed the libyaml ...
0
votes
0answers
25 views

Enable internet connection in CentOS 7 minimal version on Vagrant

I'm using Vagrant to run CentOS 7 box under Windows 7 and I can't connect to internet to install some packages. It's a minimal version of CentOS 7 so a lot of commands don't work. dhcpclient, ...
0
votes
1answer
37 views

My CentOS 7 won't boot anymore

My CentOS 7 won't boot anymore. I returns by after boot: Assuming drive cache: write through I found some things to remove rhgb via the boot menu, but that didn't work. I remove it, and saved it ...
1
vote
2answers
31 views

What would 'passwd root --stdin' have set my password to?

I ran: sshpass -p 'OldPassword' ssh -o StrictHostKeyChecking=no root@1.1.1.1 'echo "Te3EQeF2U!-Em_C3eBU6A&a=u2$e28*c" | passwd root --stdin' Without realizing that echo ...
0
votes
1answer
42 views

What version of CentOS is equivalent to Red Hat 9.x?

I want to use CentOS. I was used to Red Hat 9.x but now I'd like to use CentOS. But I don't know what CentOS version is equivalent to Red Hat 9.x?
0
votes
0answers
53 views

Linux command “systemctl status” is not working inside a Docker container

The command "systemctl status" is not working. It never has. My container is on CentOS 7. When I issue "systemctl status" I get results "Failed to get D-Bus connection: operation not permitted." Path ...
0
votes
2answers
30 views

Setting interface NM_CONTROLLED to yes using nmcli in CentOS 7

I'm writing some documentation on configuring the network interfaces for a new CentOS 7 server, the specific section walks through setting the interface to a static IP address. The steps thus far ...
0
votes
0answers
39 views

no access to a shared windows 10 printer from centos 7

I have a Win 10 pro laptop on which I attached an USB printer; it works when I try to print from the laptop. I shared this printer, and I have a second laptop, from which I would like to print, it's ...
0
votes
2answers
75 views

How to install i3wm window manage on centos7

I want setup i3wm on centos. I try download rpm file i3 in rpmfind.net but two package (i3-doc <-> i3-wm) have interdependent. I try search google but no answer: How to use i3 on CentOS 7 with ...
0
votes
0answers
17 views

CentOS7 Livecd login loop after Dracut update to 033-360

I am trying to edit the official CentOS7 livecd build 1406 and after updating Dracut to 033-360 (due to being an nfs-utils dependency) from the original 033-161 I am stuck in a login loop. Further ...
0
votes
0answers
8 views

mongodb php driver not working on centos [migrated]

I'm trying to setup a Mongo driver for PHP on CentOS server (centos-release-7-2.1511 x 86_64). These are the manuals I tried on CentOS: manual1 and manual2. Everything works fine on localhost but ...
0
votes
0answers
13 views

FTP Over SSL not accessible from outside network

We have setup an FTP server over SSL with configuration using vsftpd as below (/etc/vsftpd/vsftpd.conf): pam_service_name=vsftpd local_enable=YES write_enable=YES local_umask=022 anonymous_enable=NO ...
1
vote
1answer
51 views

Custom OS Version-ing

I made a custom centos by following the link given below https://github.com/joyent/mi-centos-7 Now I want to add my own version to the ISO file so that it shows when we check it using the following ...
3
votes
1answer
31 views

Update non active linux installation

We have several linux (Centos) live usb drives and I was wondering whether it was possible to just mount and update them from a linux desktop (running from a HDD) instead of booting and running yum on ...
0
votes
0answers
26 views

Squid Proxy using two nics CentOS 7.2

Objective: OS: CentOS 7.2 NIC01: eth0 - WAN - (10.1.1.0) NIC02: eth1 - LAN - (10.1.2.0) Box1: Squid/iptables server (Has the two nics) Box2: Workstation (On Lan) I am trying to filter all ...
0
votes
1answer
40 views

SSH into another VM via Perl / Sh script failing. Works manually

I want to run a Perl CGI script (a_web_page.cgi) from my dev box .1.20 that runs a bash script from the same folder (host_script.sh). This script then runs a SSH command to another server 1.10 that ...
0
votes
0answers
33 views

How do I get a yum repo to work in a Docker container?

What do I do about two Docker containers on separate VMs that have the same IP address on my network? I have two CentOS 7.x servers. Both have exactly one Docker container. When I use ifconfig, the ...
0
votes
1answer
52 views

Struggling to remove a faulted ZFS pool on Centos 7 using zpool

I have been doing lots of testing of ZFS recently on a new server. I'm ready to move this server into production now, but I'm wondering if I can get rid of my old 'faulted' diskpools before I do, ...
2
votes
1answer
36 views

Setting a disk space quota on a samba share residing on an ZFS pool

I have several samba shares, one of which is used for storing some backups. I want to set a disk space quota on said share, as the ZFS volume the share resides on is huge and multi-purpose... I don't ...
0
votes
1answer
26 views

VNC Server Centos7 VNC client Windows 10

I am trying to access my Centos 7 server's desktop so I installed ... [plankton@localhost ~]$ rpm -q --info tigervnc-server Name : tigervnc-server Version : 1.3.1 Release : 4.el7_2 ...
0
votes
0answers
22 views

Installing nginx from source error

OS is centos 7.2,installing nginx from source error: sslv2conftest.c: In function 'main': sslv2conftest.c:217:15: warning: 'currtest' may be used uninitialized in this function ...
1
vote
0answers
30 views

Is there a way to interleave two filesystems of the same structure?

I have a large networked file system whose backup routine sees some file systems as higher priority than others and are given more redundancy with backups. At present those file systems are visible as ...
0
votes
0answers
18 views

where is nginx.lock file?

I am using centos 7.2,and I installed nginx 1.9.14 form source, wget -c http://nginx.org/download/nginx-1.9.14.tar.gz tar zxf nginx-1.9.14.tar.gz wget -O nginx-ct.zip -c ...
0
votes
0answers
49 views

Yum Update error on CentOS 7 - Require: libQt5 (…)

When I try to run the command yum update, I am getting the following error messages: Error: Package: notepadqq-0.46.1-1.fc20.i386 (FedoraPeople-sea) Requires: libQt5PrintSupport.so.5 ...
-1
votes
3answers
32 views

changing permission after copy the directory? [closed]

I have two directory in two different path there are some common subdirectories and files between them I want to copy the content of first directory to the second one meanwhile I need the same ...
0
votes
1answer
59 views

Why is the rename utility on Debian/Ubuntu different than the one on other distributions, like CentOS?

On CentOS, the rename command uses two simple strings, from and to. rename from to file... while on Debian/Ubuntu it uses a perl-style regular expression. rename [ -v ] [ -n ] [ -f ] perlexpr [ ...
0
votes
0answers
15 views

Changing interface from dhcp to static using nmcli in CentOS7 [duplicate]

I have a new CentOS7 box that I'm trying to configure the interfaces on, and I know how do do it the CentOS6 way (Modifying the ifcfg-* files directly), but id like to use nmcli if possible. I know I ...
0
votes
1answer
151 views

How to update OpenSSL on centos 7.2?

I am using centos 7.2, I will intall Nginx-CT,and it needs OpenSSL 1.0.2,the current version is as follow: [root@i001 ~]# rpm -qa|grep openssl openssl-libs-1.0.1e-51.el7_2.4.x86_64 ...
0
votes
1answer
61 views

CentOS: yum update Cannot find a valid baseurl for repo

I am trying to do yum update but I'm getting the following error. I have exported http_proxy & https_proxy Have added proxy settings in /etc/yum.conf like: proxy=http://10.44.208.10:8080 ...
-1
votes
0answers
15 views

A similar tool for centos?For compile rpms?

On Slackware if i want to compile and create pkg I use slackyd -B nameofpackage or sbopkg -B -i nameofpackage They catch sources from slackbuilds repos,compile and if all is ok create a nice txz ...
0
votes
2answers
105 views

Cannot figure out why epel is not showing up on yum repolist

I'm trying to add epel.repo on Centos 7. It seems like it is getting installed fine but it doesn't show up in the list and cannot use it. Here are the commands I run and their output. Am I missing ...
0
votes
0answers
20 views

top command shows dnss running at 290%

We're running software on a CentOS 6.2 virtual machine and it's been crashing quite a lot lately and keeps running slow. I checked the RAM usage, but that's only using 4GB to 5GB of the available ...
1
vote
1answer
35 views

code to display the text TRUE

I'm a complete newbie and I'm starting to learn the basic for shell scripts. So I apologize if this question is very simple for most users. I'm trying to display the text TRUE to the screen if a file ...
1
vote
0answers
35 views

How add configure to add default gateway from different subnet?

I am working in a host in LAN segment of 192.168.148.X with subnet mask 255.255.255.0. The LAN should be configured to use 192.168.128.1 as default gateway. What I normally do is to issue following ...
0
votes
1answer
33 views

Use xargs and awk to print out free/total disk

I came across one script to check server and found this. df -h | xargs | awk '{print "Free/total disk: " $11 " / " $9}' free -m | xargs | awk '{print "Free/total memory: " $17 " / " $8 " MB"}' I ...
0
votes
1answer
40 views

How to move empty disc space between partitions

I want to move an empty disc space from one partition to another. Is this possible? In the below image, I have free space under /local (/dev/sda3). I want to allocate this space to / which is on ...
2
votes
1answer
63 views

How to compile kernel module for different kernel version?

I have the following kernel installed: [root@localhost ~]# uname -r 2.6.32-573.el6.x86_64 And the following kernel source: linux-2.6.32-573.1.1.el6.x86_64 I am trying to compile a kernel module ...
1
vote
1answer
30 views

Answer redirect IP to specific port

I want make a system that has a few subdomains. I set each subdomain to IP address using DNS. I used random IP addresses for the question 165.93.198.34 x.mydomain.com (Which is actually ...
1
vote
0answers
19 views

Can I install a .vmlinuz-<version>.hmac for an installed kernel after the fact?

I installed a kernel from elrepo on my asus ux501jw, centos7 os. I have tried the 4.5.0 and the 4.4.6 versions. Both of them do not install the hmac file /boot/.vmlinuz-.hmac file. Concequently the ...
0
votes
1answer
26 views

SELinux crashed data system

I wanted to change the type of some data for SELinux and I made a typo and sent the following command into the prompt as the root user: semanage fcontext -a -t openvpn _etc_t / Now my system ...
0
votes
0answers
13 views

Is there a way to edit video buffer size in google chrome in linux?

Its easy to do in windows but how to do it in google-chrome in cent OS 7. NOTE :I think google-chrome here is not using adobe flash perhaps it does not even need it but still i can play videos.