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
2answers
2k views

ffprobe or avprobe not found. Please install one

I want to add tags to mp3 converted with youtube-dl & ffmpeg in CentOS 6: command line : youtube-dl -o '/Output/qpgTC9MDx1o.mp3' qpgTC9MDx1o -f bestaudio --extract-audio --metadata-from-title "%(...
0
votes
0answers
11 views

can't get wifi link

I just put a fresh install of CentOs 7 on my laptop. I wanted to set up the wifi using the terminal so I was following these instructions: http://linuxcommando.blogspot.com.br/2013/10/how-to-connect-...
1
vote
3answers
32 views

Run application built on Ubuntu on CentOS

Is there a way to deploy an application, that you built on Ubuntu, on CentOS? And if so, how? EDIT: Sorry, I should have given some more info. It's built on Ubuntu 15.10 with Qt 5.6, and besides Qt ...
-1
votes
1answer
10 views

Centos 7: Gnome-Shell in Multi-User.target/Runlevel3

i have a server on which have installed CentOS 7, Server with GUI. now, i have set my server to boot to multi-user.target isolation level (or run level 3 in old speak). i am unable to understand why ...
0
votes
1answer
218 views

How do I install driver for the Linksys WUSB6300 in CentOS

I want to install the WUSB6300 driver in CentOS. I found good information for Ubuntu here: driver for WUSB6300 in Ubuntu However that did not get me anywhere since the C code did not compile in ...
0
votes
1answer
3k views

What variables are valid within /etc/default/useradd file?

My /etc/default/useradd file is as follow: # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel CREATE_MAIL_SPOOL=yes man page for useradd provides many ...
4
votes
1answer
3k views

Bridge does not get IP via DHCP at boot

I'm running CentOS 7. I'm not running NetworkManager, and I've actually uninstalled it. My system is supposed to acquire an IPv4 address via DHCP on br0 at boot. Howver, when I log in, it has no ...
2
votes
3answers
132 views

How can I set up a secure LAMP stack on CentOS?

I have been using linux for years, but I need some clarification on what are probably pretty basic principles to how the OS works, but I definitely need clarification due to security concerns. I am ...
1
vote
1answer
1k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
0
votes
1answer
11 views

Centos 6 Install PHP 5.6 Memcached conflicts

I have tried to install PHP Memcached but got error conflicts between attempted installs of [root@localhost ~]# yum --enablerepo=remi-php56 install php-pecl-memcached Loaded plugins: fastestmirror, ...
0
votes
1answer
22 views

yum installation fails because of a saved transaction

I am trying to install some packages and yum fails every time stating that the package should be installed by load-transaction command. I want yum to fetch the packages from internet and install it ...
0
votes
1answer
953 views

Downgrade Centos 7.2 to 7.1

I am currently using Centos 7.2.1511(check from file /etc/redhat-release) and trying to downgrade it to Centos 7.1.1503 (due to some package installation issue in centos 7.2) using the command yum ...
7
votes
3answers
663 views

How can I safely ensure a variable contains only a valid filename?

Given the script below, how can I ensure that the argument only contains a valid filename within /home/charlesingalls/ and not a path (../home/carolineingalls/) or wildcard, etc? I only want the ...
1
vote
1answer
1k views

“503 Service Unavailable” error in “yum update all” command

I am working on CentOS 6.4. I have setup a local repository using apache server. The path of the local repository is /var/www/html. The etc/yum.conf file has a proxy server mentioned through "proxy=...
2
votes
3answers
9k views

CentOS 7 hostname will not change

I have two CentOS 7 VM's running in virtualbox. On each of the machines I want to set the hostname and a static IP address. VM1 works just fine. VM2 does not. I did the same thing on both servers so I'...
0
votes
1answer
34 views

Restrict a user so it doesn't have permission to do anything

I am trying to create a user whose only goal is to authenticate and receive jobs and files from a virtual printer (CUPS) in his home directory. The user should not be able to do anything at all. Even ...
0
votes
2answers
555 views

How to configure Apache init scripts, after compiling and installing the sources?

I installed Apache using this script https://gist.github.com/Benedikt1992/e88c2114fee15422a4eb The system is a freshly installed CentOS 6.7 minimal system. After installation I can find the apache ...
1
vote
1answer
59 views

Unable to add or delete users

I'm currently having issues running adding, deleting and modifying Linux users. Reasonably new to Linux so pretty sure I have tried everything to resolve this. [root@device01 /]# useradd testuser ...
1
vote
1answer
3k views

Why is apache giving DNS lookup failures?

A CentOS 7 web server has tomcat serving up war files behind an apache httpd reverse proxy. This works perfectly when the WAR files are all server-side code. But when client side code (AngularJS in ...
1
vote
1answer
21 views

aes-ni enabled but no kernel support?

Tools like cpuid and cat /proc/cpuinfo can confirm that aes instructions are available right? But then I check /proc/crypto and do not see AES. I am running CentOS 6. Am I correct in my understanding ...
0
votes
0answers
29 views

Outgoing network connections fail, incoming ssh login delayed [on hold]

I'm having the following trouble with outgoing connections in CentOS: yum cannot connect (just hangs on "Determining fastest mirrors") Could not retrieve mirrorlist http://mirrorlist.centos.org/?...
3
votes
0answers
27 views

Owner can't read /proc/$pid/io

On CentOS 7, I am trying to debug an issue where the nginx amplify agent cannot read /proc/$pid/io even though it is owned by the proper user. One of the nginx worker processes right now is pid 5693: ...
0
votes
1answer
29 views

Script to ban IPs that try to enter root on server

Is there such a script that blocks IPs that try more than 3-4 times to access root? Because everytime I open the server (CentOS) i get the message that root has been brute forced (bots obviously). I ...
-3
votes
1answer
15 views

how to configure kickstart server in RHEL7? [on hold]

please let me know the full configuration of kickstart server in RHEL7 server.
0
votes
0answers
5 views

Internet keeps getting disconnected on VirtualBox Host

I'm running OS X 10.11.5 on which I have installed CentOS 7 on VirtualBox. Everything seems to be working correctly except this minor bug. Internet keeps getting disconnected if I leave the CentOS ...
5
votes
1answer
817 views

Implications creating System Accounts “useradd -r” Linux Fedora/RHEL/CentOS

I want to know what are the implications of create an account using -r option? # useradd -r ... The help says: -r, --system Create a system account. System users will be created with no aging ...
0
votes
1answer
21 views

Clone disk of a running VM and run it on VirtualBox

I'm in the following situation: I need to "clone" the disks (sda, sdb) of a running CentOS VM over SSH (i did this step by following this guide) and deploy them on something like VirtualBox. I tried,...
1
vote
1answer
1k 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 ...
0
votes
1answer
4k views

CentOS 7 won't serve static https content, why not?

I just re-installed httpd and created a static index.html file. I have firewalld configured to allow internet access to the https service. But when I type https://my.server.ip in a web browser, the ...
0
votes
1answer
293 views

Apache redirect to https if the request is not from localhost

I have a Centos 6.7 with apache 2.2.15. I want to redirect all traffic from port 80 to 443 with one exception. The traffic who come from localhost I want to remain on port 80. Now I use this config ...
0
votes
0answers
9 views

Add Softether Service

I'm running CentOS 7, up-to-date. I installed Softether like they did in the tutorial. Now, I tried to add ad service to start ans stop the server. Like in the tutorial. I created the file at /etc/...
2
votes
2answers
419 views

Running ubuntu binary on CentOS with all shared libs installed results in ld SIGSEGV

I'm trying to get a binary compiled on Ubuntu to run on CentOS 7 (both 64bit, one host, the other vm). So far I've copied the binary with all the shared libs. I no longer get the missing library ...
0
votes
0answers
16 views

Can't pipe contents of a file but can do more [duplicate]

I am trying to transfer SSL certificates from my server to a docker container running on the same server. Permissions on the file: $ sudo ls -al live/my.server.com/cert.pem lrwxrwxrwx. 1 root root ...
79
votes
11answers
118k views

Is CentOS exactly the same as RHEL?

I'm sure this question has been asked again and again elsewhere (I did not find anything specific to CentOS vs RHEL in SE), but I would still like to ask and confirm a few specific points. I am well ...
0
votes
1answer
198 views

How do I directly expose apps running on a CentOS 7 web server?

How can I open a port and directly access a webapp running on tomcat on CentOS 7? Tomcat is running behind an apache httpd reverse proxy, but I want to directly access the apps running in tomcat by ...
0
votes
1answer
834 views

Big trouble : rpm empty db, install V3 RSA/SHA1 Signature, key BAD, YumRepo Error

I'm little tired because I have spent hours solving problems, and can't find a solution on Centos 6.6. I have many troubles: rpm db is empty: try googling, find restore process, but always empty ...
1
vote
1answer
3k views

Starting Tomcat Service when starting CentOS/RHEL/Fedora

I want to install tomcat 8 and run it at startup time I am following these tutorials: Install Tomcat 7 on CentOS, RHEL, or Fedora How to install Tomcat 8 on a CentOS 6 VPS I created the tomcat ...
0
votes
1answer
1k views

Is not a valid path to the kernel headers?

Host - Windows 10 VMware - 11.1.2 Guest - CentOS 7 I installed kernel-headers using yum since during the installation of vmware-tools I get a message "Searching for a valid kernel header path... ...
4
votes
2answers
10k views

PHP Upgrade Error (PHP 5.3.3 to PHP 5.4.19 on CentOS 6.4)

I'm using CentOS 6.4 and I was following this tutorial in order to upgrade PHP from v 5.3.3 to v 5.4.19 but I got the following error: Error: php54w-common conflicts with php-common-5.3.3-23.el6_4....
0
votes
0answers
38 views

can not add key to ssh agent with ssh-add, because it asks for a pass-phrase

I just generated an SSH key, without a passphrase, to run some scripts that pull files from GitHub. However, I was having issues so I ran ssh -vT git@github.com which according to the debug statements ...
0
votes
1answer
18 views

Site cannot be reached after installing centos 7

Hello I am new to this unix background. I had set up a server on centOs 7. i had given ip as 192.0.2.123 and host name as www.example.com. now when i www.example.com hit the hostname in the browser ...
0
votes
1answer
810 views

Set persistent static routes for 4 interfaces on 2 CentOS 7.1 servers

I am tasked to set up two test servers running CentOS 7.1 (Minimal install; the NetworkManager is disabled on both), and have run into a set of issues that I would like to get help here. The ...
0
votes
1answer
1k views

How to find the path of JDBC driver in CentOS

I ma using CentOS 6.7. I want to know the path where the JDBC driver is located. The whereis jdbc command returns jdbc: so I think the JDBC driver is installed, but I need to know its exact path.
0
votes
0answers
12 views

CentOS: Torrent through VPN while still being able to serve web applications

I have a CentOS server with a a torrent client (anacrolix/torrent) and would like all torrent traffic to go through an OpenVPN connection. However, I still need the server to be able to be reached for ...
-1
votes
0answers
21 views

Unable to connect to remote asterisk

I am using CentOS 7 (Latest Veriosn). I have installed Asterisk 13 on my CentOS. Now I am trying to start the Asterisk by using this command #asterisk -rvvvvvvvvvvvvvvv but no luck,I am getting ...
1
vote
2answers
40 views

Extend virtual hard disk for CentOS

I have extended a thick virtual hard disk to 80 GB under vSphere for a CentOS virtual server. I need to extend the logical volume to maximum allowed. Can someone please assist? The physical sda2 is ...
1
vote
1answer
959 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
19 views

How to create & restrict ftp user on cent os [duplicate]

I know nothing about server. but I need to setup a server and provide different ftp user accounts for different project. So, I've setup a web server. install all necessary things along with vsftp. I ...
0
votes
0answers
7 views

CC_Deny CSF does not work > CentOS6 [closed]

CSF and also installed the two dependencies, went to the CSF Firewall configuration. I opened the .conf CSF located the "CC_Deny" and added "US". I saved and used "csf -r" in the terminal to give ...
1
vote
1answer
2k views

Empty desktop after installing xrdp on Centos 6.5 with XFCE as window manager

I followed the directions to install xRDP from this site (http://ajmatson.net/wordpress/2014/01/install-xrdp-remote-desktop-to-centos-6-5/) When I RDP from Windows -> Linux, I successfully enter ...