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
1answer
383 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
73 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 ...
0
votes
2answers
146 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
46 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
39 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
58 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
111 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
33 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
29 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
29 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
16 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.
0
votes
0answers
30 views

Environment Modules: installing software

I understand how Environment Modules work, having used them before. I have read the various help pages, and I understand how to write a module file. My question is explicitly about the various ...
0
votes
1answer
50 views

Configure multiple interfaces with DHCP on CentOS

I am trying to get a DHCP-assigned address for a veth device (veth-inside) inside of a network namespace (myns) on CentOS 7, but dhclient is already running. The veth peer device (veth-outside) is in ...
0
votes
0answers
59 views

Low CPU load but slow websites

I had 2 servers with more than 200 websites on each. few days ago I purchased a new cpanel server and migrated both old servers to the new one. After migrating the first server everything was working ...
1
vote
1answer
125 views

chcon: can't apply partial context to unlabeled file '/usr/sbin/xrdp'

Sorry guys but I'm not a linux nerd (yet) and whenever I'm trying to execute this line to configure SELinux to install xrdp from this tutorial : ...
1
vote
1answer
33 views

Getting password prompt after editing sudoers file in cent OS 7?

Part of my sudoers file lines begingin with mukesh are edited: ## Allow root to run any commands anywhere root ALL=(ALL) ALL mukesh ALL=(ALL) SOFTWARE,DRIVERS mukesh ALL=(root) ...
0
votes
0answers
31 views

SELinux httpd CentOS

I'm having trouble with SELinux and Apache DokuWiki on my CentOS 7 box. First I was unable to read the html directory contents. I disabled SELinux to test and a test index.html that I placed there ...
1
vote
1answer
40 views

SOLVED Missing partition / drive Centos 7

I was trying to change permissions on one of my NTFS partitions and I think I have messed something up. I entered the below command on Centos 7 and now the partition is missing from the File Manager. ...
0
votes
1answer
18 views

When enter http://my_server_IP_address don't see Apache HTTP server default page

I just launch a VPS instance use CentOS 7 x64. I follow this tutorial for installing Apache HTTP Server sudo yum install httpd sudo systemctl start httpd.service but when I use my browser (at ...
0
votes
0answers
23 views

swap goes the second drive, how can I return it to normal from command line?

The following is my plan for partition of CentOS 6.7. I have two disks with A for system and files, B totally for backup. But, after installation, I log in using ssh root. Here is what I see: ...
0
votes
2answers
86 views

How do I install Python in Linux with no Internet access?

Part 1 I have CentOS with no Internet access. I have a docker container based on Ubuntu. I want to install Python inside the Docker container. I downloaded some .deb files for installing Python ...
0
votes
2answers
38 views

Cannot cleanup ghost mount points

'mount' command shows several mount points across several disk devices that I had previously setup: $ mount ... /dev/sdf1 on /mnt/<mp1> type xfs (rw) ... /dev/sdd1 on /mnt/<mp2> type ...
0
votes
1answer
75 views

Replacing a failed disk in a ZFS pool

I've got a large ZFS disk pool; 3 nested RAIDZ2 vdevs. I am documenting the process for replacing a failed disk for my colleagues and so simulated a disk failure by removing a disk from the host. ...
0
votes
0answers
19 views

Kernel make install error for RTAI 3.8 on CentOS 6.5

Before posting I have read almost every similar post I could find on this and other websites but I haven't found an useful answer. I have to install a custom software that needs RTAI 3.8 on top of ...
0
votes
1answer
21 views

How To Resize CentOS CLI Machine In Full By Default?

I've created a minimal machine with no graphics using virtualBox, For I want to use a pure command line environment. One thing I don't like about it is, that it shows up in half screen. There's an ...
0
votes
0answers
37 views

Netcat missing -z flag

I have a script that checks if a server can connect to another one over port 443, I use the following command in the script: [user@centos6 ~]$ nc -v -w 2 -z 10.3.22.2 443 Connection to 10.3.22.2 443 ...
1
vote
0answers
250 views

How to solve [drm:radeon_init [radeon]] *ERROR* No UMS support in radeon module! in CentOS 7?

I watched my laptop reboot after a system update and there was an error mention that caught my attention. I issued a # dmesg | grep radeon and the results were: [ 0.000000] Command line: ...
0
votes
0answers
24 views

Firewall rules: banned localhost

I recently had an issue with a server that was refusing local connections. I was doing some wget domain.com/somePath. And while the resolution was correct and returned the right EXTERNAL_IP, the ...
-1
votes
1answer
84 views

Install ELK in centos

I install ELK on centos following below link. https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-1-7-logstash-1-5-and-kibana-4-1-elk-stack-on-centos-7 But the problem ...
1
vote
1answer
96 views

SSH access asking for password in local network but public

I have a problem when ssh to another server. I created ssh-key and copied it to other server. -bash-4.2$ whoami postgres -bash-4.2$ ssh-keygen Generating public/private rsa key pair. Enter file in ...
2
votes
1answer
61 views

Restart service after yum update?

Today I updated several of our servers using yum. 4 package(s) needed for security, out of 4 available Run "sudo yum update" to apply all updates. Three were openssh updates, one java. Do I need ...
1
vote
1answer
79 views

How can I view my virtualbox guest unix filesystem from the host windows file/text editor? [closed]

I'm running Ubuntu/CentOS in a virtualbox guest and am trying to configure various services to run on it (nginx, php, memcache and more). As a novice Unix user, I'm finding it slow to use the console ...
0
votes
0answers
162 views

How do I install php-gd on CentOS 7?

I need to install php-gd on CentOS 7. I have very limited repositories on my network. I cannot get a direct connection to the Internet with a Linux server. I tried to install ...
0
votes
1answer
108 views

need to install packages on CentOS 7

There are libraries and packages for Ubuntu which have this command: sudo apt-get install libopencv-dev libtesseract-dev git cmake build-essential libleptonica-dev sudo apt-get install ...
0
votes
1answer
32 views

How to backup rpm dependencies downloaded by yum while installing?

I need to install git on a machine which doesn't have internet connection. I am wondering if there is any option to ask yum to keep a backup of rpm and dependencies it downloads. OS: CENTOS
-1
votes
1answer
16 views

I need help installing Ximera to a CENTOS server

I have a naked CENTOS server to which I would like to install the XIMERA package. https://github.com/kisonecat/ximera When I follow the steps given in the README file, I do fail to generate a ...
1
vote
0answers
40 views

Bash command history stops working after starting new tmux session

My bash command history stops working after starting a new tmux session. No previous commands when typing up, down, reverse search, no output from running history. I've confirmed that this happens ...
0
votes
1answer
28 views

I need to activate quotas on my centOS 7 machine

Okay. I'm very new at this so it might be an easy one for many of you. I have a virtual machine installed with centOS 7. I want to activate quotas for a specific user using the / partition. How can I ...
2
votes
1answer
149 views

No module named yum

I am facing errors while running any yum commands on centos 7 system No module named yum Please install a package which provides this module, or verify that the module is installed correctly. It's ...
1
vote
1answer
47 views

Adding user to ownership in addition to another user [closed]

I had some problems with permissions, the programmers of my website wanted me to add the admin user to the apache group and then set some permissions. My knowledge of Linux is quite limited, so I ...
0
votes
1answer
57 views

How to allocate available HDD from /home to /root [duplicate]

I have a 500GB HDD for CentOS 6.7 . But when I created a partition, I just have created a small storage size for root, but /home folder had lots of capacity. Could I move available capacity from /home ...
0
votes
1answer
22 views

Circular dependencies that cannot be fulfilled. PHP packages on CentOS 7 to support Drupal 8

I am trying to install Drupal 8.0.5 on Apache 2.4.6 on CentOS 7, with PHP 5.6.19. I get an error that PHP extensions are disabled. The detail I get is that it pertains to "gd." I have installed, ...
0
votes
0answers
48 views

CentOS 7, KVM.. auth failed: no agent available

So like the subject suggests.. CentOS 7.2 minimal + KVM install. I had the VMM working via X11Forwarding last night. After a reboot though I get this: authentication failed: no agent is available ...
0
votes
2answers
163 views

Why can't I find kernel headers on CentOS 7 when trying to install VirtualBox Guest Additions?

I have a minimal CentOS 7 installation as a VirtualBox 5.0.16 r105871 guest on a Windows 8.1 host. uname -r reports "3.10.0-327.10.1.el7.x86_64". When I try to run VBoxLinuxAdditions.run I get an ...
0
votes
0answers
15 views

Dual boot windows 8.1 and Centos 6.7

My os is windows 8.1,I want to create a dual boot pc with Windows 8.1 and Centos 6.7.I already closed secure boot,and boot throuth usb.But it can't load installed interface and occurred some wrong,as ...
0
votes
0answers
43 views

How to limit download/upload speed for all applications on CentOs 6.7?

Are there any ways to limit Download/Upload speed for all applications on my Server? I want to limit Download/Upload speed at rate 50MB/s. I have used WonderShaper to do that but it is not works ...
0
votes
0answers
47 views

Problem configuring static IP on centos 7, 6…,

I have 4 static IP addresses, I already used 143.4.198.0 and 143.4.198.1 (for Ubuntu server and it works pretty fine) I wanted to install Centos 6 or 7 I made the same conf like before I have a VM ...
0
votes
1answer
13 views

Can ifort and pgi complier coexist in the same system?

My linux cluster has installed ifort compiler now. But for some purpose, I need pgi compiler in the same computer. Can they coexist? I'm not familiar with this area, afraid of meeting trouble.