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
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
835 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
41 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
21 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
814 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
23 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
965 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
24 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
9 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 ...
0
votes
3answers
946 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?
1
vote
3answers
4k views

Restarting udev on CentOS 6 (tethering a mobile phone using proxoid)

I am trying to use proxoid (a proxy server to allow tethering like facility for mobile phones). This guide says that I need to restart the process udev similar to (in Ubuntu): sudo /etc/init.d/udev ...
0
votes
2answers
3k views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
0
votes
1answer
1k views

How do I get yum groupinstall to work without a groups install file?

I am using Centos 7.1 The yum groupinstall commands are failing. As root I did a yum group list command. This returned various output with the following: "There is no installed groups file." ...
40
votes
7answers
71k views

How To Install Virtualbox Guest Additions On CentOS via Command Line only

Reading the Virtualbox user manual, I finally got [here], which explains how to install Virtualbox Guest Additions on a Linux guest via Command Line. But it's not clear enough for me (I just started ...
1
vote
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 ...
1
vote
1answer
3k views

CentOS 7 cpupower not setting the CPU's to maximum

On my machine, i have power savings disable on the BIOS. When I run Ubuntu on this machine, the CPU's are running maximum at 2100 MHz. However, when I'm running CentOS 7, even with the scaling ...
0
votes
0answers
9 views

Getting error to install centos 7 from bootable usb

I am trying to install cent os 7 from bootable usb but it is giving below error, see screenshot Anyone knows what went wrong.
4
votes
1answer
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 ...
0
votes
5answers
53 views

find IP and PORT in use by Apache

How can I find which IP:PORT Apache web server is monitoring? There are some network commands, but they show the TCP port in use. The machine has multiple network interfaces and the Listen section in ...
0
votes
1answer
94 views

no iptables, no selinux, port 81 in virtualhost still not working

I try to open port 81 as a virtualhost. after setting apache, I can CURL localhost:81 from local machine and get response(yes it was listening port 81). However, when visit the same address from ...
1
vote
1answer
27 views

How to setup a docker container to run on boot in CentOS 6.7

I have a CentOS 6.7 server and I would like to run the docker containers at boot time. The docker service already gets started at boot time. I would like to run this command on boot time: docker ...
0
votes
1answer
1k views

OpenSSL 1.0.2.a and Centos5.7

I have an old version of Centos (5.7) and I would like to enable TLS 1.2 due to Google Chrome warning about TLS 1.0 I tried to update with yum but I can see that no OpenSSL 1.x could be installed ...
1
vote
1answer
39 views

Grant access to a different user's home directory

I've created a user that's locked down to it's home directory and does nothing else but allow a client to upload an ftp file to us - hands slightly tied at the moment regarding that, so I've had to do ...
0
votes
2answers
25 views

grub in centOS, I can't start my Server

I was changing my HD with a (Windows Program for Partitions), now I can't to start the server, CentOS. I remember this: /etc/grub.conf & default=1 timeout=10 splashimage=(hd0,4)/grub/splash....
1
vote
1answer
1k 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 ...
14
votes
1answer
6k views

How to shrink root filesystem without booting a livecd

I find myself needing to rearrange a system's partitions to move data previously under the root filesystem into dedicated mount points. The volumes are all in LVM, so this is relatively easy: create ...
0
votes
1answer
826 views

Change screen resolution of Xenserver Console for a CentOS VM

I need to increase screen resolution to 1024x800 for my XEN console. I tried to place vga=791 at the end of kernel line the file /boot/grub/grub.conf but it seems that most of the boot arguments ...
0
votes
2answers
95 views

Problem accessing an Apache-hosted folder [closed]

I'm running Centos 6.2, and Apache. I'm running into an error to do with access rights/permissions when trying to navigate to a webpage. I'm trying to go to the URL http://localhost/repos, but I get ...
1
vote
1answer
2k views

“ Cannot find a valid baseurl for repo: base/7/x86_64” on “yum update all”

I am using Centos 7.1.1503 (core) as a VM. The host OS is Windows 10. I created this VM so this is a fresh installation of CentOS. My laptop has a direct connection to the internet, without a proxy. ...
3
votes
0answers
31 views

Is is possible to override an RPM's service user account during installation?

While doing an installation of an RPM using either rpm or yum is it possible to override the default user account that's typically defined in the RPM .spec file? I'm specifically dealing with an RPM ...
0
votes
0answers
33 views

Why i cannot access this shared directory? [closed]

1) I have created two users mukesh and mukesh2 2) changed the default user private group name from mukesh to shared_dir for directory shared_dir [mukesh@centos Desktop]$ pwd /home/mukesh/Desktop [...
-2
votes
1answer
21 views

Halt the server daily at a specific hour

I have a CentOS 5 server, I want it to halt DAILY at 21:00 and wake up DAILY at 8:00 For the wake up I did it in the bios, but for the halt I want to configure it through cron. How to do it with SSH? ...
3
votes
1answer
17 views

Display and network card not working if booted without a display

I'm facing a kind of a mysterious problem. We have a PC with Debian 8 installed. It boots fine and works well, unless I try to boot it wihout a display. So, I shutdown the PC, unplug display and then ...
3
votes
1answer
32 views

can't login in new user via ssh 'server refused our key'

There are a number of similar questions, for example SSH: "Server refused our key" with no reason However, I've gone through the suggested checks and can't seem to get a new user to connect ...
1
vote
3answers
39 views

Finding the file that contains the added path to $PATH

A command has been added to the $PATH, but I cannot find the place that the path has been added to $PATH. Please see that which shows the full path to the binary file, however looking into .bashrc, ....
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 http://nginx.org/packages/centos/7/noarch/RPMS/nginx-...
1
vote
1answer
231 views

Restart Apache after PHP update?

One of our Amazon Linux servers has php56 installed, which is not the default PHP installation. Quite often I see updates for this package, while on other server PHP is not updated. Do I need to ...
1
vote
0answers
160 views

apache server-status 403 forbidden azure centos vm

I get 403 forbidden for http://testapache.cloudapp.net/server-status. Below are the following exact steps I have followed. I created a new centos vm. Then ran yum install httpd Opened /etc/httpd/...
1
vote
2answers
362 views

Runtime User Privilege Management ColdFusion on CentOS cPanel

I'm needing to understand the correct workflow for managing permissions to allow the ColdFusion 9 runtime user {coldfusion} to have access to user accounts. The germane elements ... Centos 5.8 WHM ...
2
votes
2answers
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 192....
0
votes
0answers
19 views

ffmpeg-php is showing in phpinfo but not working

Php info result ffmpeg-php version 0.7.0 ffmpeg-php built on Jul 13 2016 22:27:57 ffmpeg-php gd support enabled ffmpeg libavcodec version Lavc57.50.100 ffmpeg libavcodec license nonfree and ...
0
votes
2answers
227 views

Requires: libcurl.so.3()(64bit)

I am trying to install (yum install git) but at the end it throws me an error that is: Error: Package: git-1.7.12.4-1.el5.rf.x86_64 (rpmforge) Requires: libcurl.so.3 () (64bit) I want ...
0
votes
0answers
12 views

Move Linux Partitions, Dual Boot with windows [migrated]

I'm not thinking about Expand Linux Partitions... I need Shrink (one, the larger) and move it (two, with the swap)... Here my HD from Windows (Disk Management) Now, I want to reduce the last ...