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
11 views

Using autojump on Centos Linux with zsh gives error?

On Centos Linux, switching to zsh causes autojump to give me this error: -bash-4.2$ zsh /etc/profile.d/autojump.bash:13: command not found: complete How to fix it?
7
votes
3answers
86k views

Open port 80 in CentOS 6.5

I'm trying to open the Port 80 in my CentOS 6.5, on my virtual machine, so I can access the apache from my desktop's browser. If you take a look at the screenshot above.... I've added the line ...
13
votes
3answers
40k views

How can I tell what version of apache I'm running?

I know about the phpinfo() way but is there any other way? I'm using CentOS and I can't find the httpd executable to run httpd -v.
15
votes
1answer
83k views

CentOS - install using yum Apache 2.4

I need Apache 2.4 in CentOS because with Apache 2.2 mod_proxy_wstunnel is not possible. I have tried this, but unfortunately its for RHEL. After installing, I can't execute the Apache 2.4. Can anyone ...
19
votes
7answers
57k views

“Symbolic link not allowed or link target not accessible” / Apache on CentOS 6

I've got a brand new CentOS 6 installation, which has a symlink in the document root to my development files: [root@localhost html]# ls -l total 4 -rwxrwxrwx. 1 root root 0 Sep 18 20:16 index.html ...
3
votes
0answers
46 views

TC (Traffic Control) to control bandwidth

I'm having an issue with a bandwidth script that I've been using for a while to limit the outgoing bandwidth on a port. It worked fine at the beginning until I wanted to change the outgoing port ...
0
votes
1answer
1k views

Upgrade OpenGL from 1.2 to 2 for Nvidia GT218 [GeForce 310]

To run my application OpenGL version 2.0 or higher is required. glxinfo | grep OpenGL yields: Xlib: extension "NV-GLX" missing on display ":1007.0". OpenGL vendor string: Mesa project: ...
0
votes
1answer
2k views

CentOS 7 Install: Error populating transaction

I am having a yum issue with a CentOS 7 minimal DVD. I've spun a custom ISO based on CentOS-7-x86_64-Minimal-1503-01 and have only added a kickstart file that installs @core, sudo, rsyslog, and ...
0
votes
0answers
96 views

smbclient authentication on CentOS 7.2.1511

I'm trying to use smbclient to display all the available shares on a server. It was working perfectly well with ubuntu 14.04 but I am getting a few error on CentOS . Here is what I am getting : # ...
0
votes
0answers
11 views

Samba share not working on second hard drive

I have a centos7 file server with a samba share on the main drive and this is working fine. However I have tried to add a share on a second drive with the same setting but machines on the network are ...
0
votes
1answer
82 views

Running xinetd and httpd on centos 6

We are running several centos 6.4 lamp stacks, and our backup solution (unitrends) has a client that requires xinetd. Can these two coexist on the same server? If so, is there any secret handshake I ...
1
vote
1answer
550 views

httpd 2.4.6 on CentOS 7 - question related to module config in httpd.conf

I am sorry to post this type of question here but due to the great experience and skillsets here, I hope for your understanding. I am using (unfortunately) httpd package (v 2.4.6). In various guides, ...
1
vote
2answers
173 views

One-Liner needed: Stop httpd if running already & Start httpd if not running

As part of a provisioning script for CentOS 7 I am in need to have a one-liner that performs the following. Unfortunately, I have no clue how to achieve that. If httpd is running then stop it If ...
2
votes
1answer
6k views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
1
vote
1answer
101 views

Systemcrash suexec forkbomb.sh ulimits

I got this script named fork.sh: #!/bin/sh forkbomb() { forkbomb | forkbomb & } ; forkbomb If I call it through suexec my whole system will consume 99% cpu. To prevent a normal bash forkbomb I ...
-3
votes
1answer
55 views

Create authentication when someone accesses httpd in centOs

I have CentOS 6.6, What I want is: When someone accesses the /var/www/html on his browser, I want a authentication bar to pop up and fill in his username and password. This is because I want httpd ...
0
votes
0answers
200 views

web container options for war file in CentOS 7

I know that Tomcat and NginX are both able to host web applications that are defined by war files. But can httpd also host a war-file-based web application on a CentOS 7 server? If so, how would you ...
1
vote
0answers
125 views

httpd and mysqld used out of memory

I choose 512mb ram for my Centos VPS with very low traffic new website .but after 2,3 hours after rebooting, i have only 24mb free memory. when i use top command: 2981 root 20 0 37176 10m ...
3
votes
0answers
2k views

Where is module prefork.c settings in Centos 7?

I used to edit the settings in etc/conf/httpd.conf for better memory performance <IfModule prefork.c> StartServers 2 MinSpareServers 3 MaxSpareServers 3 ServerLimit 15 ...
5
votes
0answers
9k views

AH00534: httpd: Configuration error: No MPM loaded

I have a CentOS Linux release 7.1.1503 (Core) system and I have installed httpd and the corresponding configuration file is : # # This is the main rConfig Apache server configuration file. It ...
4
votes
1answer
2k views

Install Apache https 2.2 under Centos 7

I would like to install Apache httpd 2.2 (httpd-2.2.15-39.el6.x86_64) under CentOS 7. The default repositories only have Apache httpd 2.4 available. Does anyone know where there is a CentOS 7 ...
1
vote
1answer
153 views

Install ssl on CentOS Apache server

I installed Apache by using sudo yum -y install httpd instead of using wget and installing that way. This means that it has been set up differently. I'm now trying to install ssl by using sudo yum ...
2
votes
1answer
260 views

HTTPS not working on CentOS Apache 2.4

I have created a key and self-signed certificate and moved them to /etc/httpd/conf/ My ssl.conf is here: http://pastebin.com/gsQbKY67 The ssl_module (shared) is there when I try httpd -M Output ...
0
votes
0answers
158 views

Can't install phpMyAdmin with PHP 5.6

I work on a Centos7 with php56 (via remi-repo) and httpd and maria-db I try to install phpmyAdmin via "yum install phpmyadmin" but every time I have this message: Erreur : Paquet : ...
1
vote
0answers
26 views

Back up script causing issues

I've got this backup script I'm trying to use and I'm having issues with it. #Setup Variables DOMAIN=domainexample.com FILENAME=${DOMAIN}.$(date +%Y%m%d) DBSERVER=localhost DATABASE=databasename ...
0
votes
1answer
36 views

Configuring Systemd to execute extra script after httpd start/restart using ExecStartPost setting not working

I need to have a PHP file execute whenever the httpd service starts or restarts. I found that Systemd has a configuration setting called **ExecStartPost, which looks perfect for what I need to do. I ...
-1
votes
2answers
26 views

I cannnot find ssl.conf for TLS1.2 install

I have a dedicated server with CENTOS 6.7, Apache/2.4.20 php 7 and i want to enable TLS1.2 for paypal payments. From this I understand that i need to add extra lines in ssl.conf I looked for it in ...
0
votes
2answers
107 views

“URL not found” on “yum update”

I am working on CentOS 6.7. When I install the command "yum update all", I get the following error. ...
1
vote
0answers
1k views

CentOs7 Python 3.4 Install Method

This post relates to this question where I was asked to explain how I installed python3 on my system. I was attempting to install python3 on my system for development purposes. Something went wrong ...
0
votes
2answers
31 views

centos7 terminal can't have image as background?

I previously used ubuntu, I can set a image as my terminal background. Yet, in centos 7, I don't see a place for setting image as the terminal background. What can I do to achieve this? It's ...
1
vote
1answer
954 views

CentOs 7 Python Issue “-bash: python: command not found”

I asked this at stackoverflow, but just realized it might be best here. If I need to delete it over there or should not have posted here, please let me know. I am still new to this site. Thanks in ...
2
votes
1answer
49 views

CentOS vmtoolsd usage 100%

I am new to CentOS and VirtualBox. I installed CentOS 7 on VirtualBox but see the CPU usage at 100% by vmtoolsd. I tried multiple ways to bring it down e.g. by doing "lodctr /R" and removing ...
2
votes
2answers
84 views

Malicious processes open connections to China

I recently started migrating some of my company's servers to Google's compute engine. Among other things I set up a 2-node elasticsearch cluster. Today I run top command on one of the nodes and I ...
3
votes
1answer
36 views

Automating Master/Master replication setup and configuration on two servers

I'm in the middle of writing a script to automate configuring MySQL replication between two servers (Master/Master replication), and was looking for some advice on a few things related to MySQL. The ...
1
vote
2answers
8k views

CentOS 7 update using “yum update” does not work

I have a VM running CentOS 7 that I have not used for a long time. Today I launched it and tried to update the CentOS system to the latest version using yum update, but I got a lot of errors: ...
1
vote
1answer
2k views

Install nginx 1.8 on Centos 7

I'm trying to install nginx 1.8 on Centos 7. I tried the following steps: Install nginx repo from http://nginx.org/en/linux_packages.html wget ...
0
votes
1answer
18 views

Missing NIC in CentOS 5 - AsteriskNow 1.7.1

So I have two nics, but I can't get the second to load, here is the output from lspci -vvv 04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection Subsystem: Super ...
2
votes
1answer
1k views

Cannot ssh into a fresh install of CentOS minimal on lan

I've downloaded CentOS 7 Minimal and installed on an old laptop. I want to be able to ssh to the machine from other machines on the same lan. But I keep getting this error .. ssh: connect to host ...
1
vote
1answer
938 views

How can I resolve “duplicates” in yum?

In a moment of confusion and impatience, I severely damaged my OS. Here's the deal... System: CentOS 7 Problem: essential packages like SAMBA do not work, and yum will not do anything. How it ...
1
vote
0answers
376 views

Installing Docker on CentOS

I'm working through the docker installation guide. Running CentOS 7. I ran: curl -sSL https://get.docker.com/ | sh Output: warning: ...
0
votes
3answers
821 views

Check installed grub2 modules

I run CentOS 7. Is there a way (e.g., a command) to check which grub2 modules are currently installed?
21
votes
5answers
156k views

How to create a FTP user with specific /dir/ access only on a Centos / linux installation

So I'm on a VPS - CentOS Linux installation. I have vsFTPd on the server. I currently have SFTP access to the server via my root user, but am now trying to create a new user with FTP access to a ...
0
votes
1answer
49 views

Best Graphics over X11 Forwarding

I am currently using Exceed to handle individual X windows being displayed back to my Windows machine and this works flawlessly. I'm using Windows as my Window manager, but I have also experimented ...
1
vote
1answer
853 views

Thruk installation “failed to open socket”

I am extremely confused, and Google isn't really helping. Also, I'm kind of a Linux novice. I've taken a couple of classes, but that was all about how to configure things in a basic Linux setup. I'm ...
0
votes
0answers
16 views

Python syntax error running freshly installed `meld` [migrated]

I'm installing meld as described here: sudo yum install intltool itstool gir1.2-gtksource-3.0 libxml2-utils However, when I try to run meld this error appears: File "/usr/bin/meld", line 47 ...
2
votes
1answer
748 views

Can't connect to Samba drive in CentOS 6.3

#smbclient //ballzdeep/torrents Server not using user level security and no password supplied tree connect failed: NT_STATUS_BAD_NETWORK_NAME Does this mean I would need to require a username and ...
0
votes
1answer
23 views

Adding 2 HDDs as mirroning on existing OS (centos)

I have a NAS with 2 x 1TB HDDs and I added two new HDD-s: Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes ...
2
votes
2answers
3k views

kickstart bootloader --driveorder configuration

I use a kickstart file for a customized install CentOS. On certain machines, if a memory stick is in the USB port, it fails because it tries to install CentOS on the memory stick. Kickstart current ...
0
votes
0answers
35 views

Restrict Users to their home directory

I use WebMin/ProFTPD on my CentOS7 VPS. I already checked the proftpd.conf and it contains the line: DefaultRoot ~ !adm But when I create a new user they can access all on the server from the root. ...
0
votes
1answer
34 views

Cannot Install Cent OS 7

i'm having extreme difficulty trying to install CentOS 7 on a HP Z640 Workstation, Specs http://www8.hp.com/h20195/v2/GetPDF.aspx/c04400040.pdf I have tried installing CentOS 7 and 6.7 in UEFI and ...