CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

0
votes
1answer
194 views

Understanding fdisk -l output and calculating storage

I have basic understanding of disk. (Please correct me if i am wrong) I understand on 1 platter, there are 2 heads, 1 on top, and 1 on bottom. Both side of the platter is able to provide storage ? On ...
0
votes
1answer
45 views

CentOS / RedHat DHCP working, static is not

I have installed CentOS 7 minimal install without GUI when I setup network configuration with Webmin web interface or manually editing files with VI it does not work. When I use e.g. "yum search ...
0
votes
1answer
89 views

How do I configure VirtualBox to launch a VM from an external drive?

What steps do I need to take in order to use VirtualBox to access a CentOS 7 installation that is on a detached hard drive? Here is the situation: 1.) CentOS 7 and Windows 7 were installed on a ...
0
votes
1answer
597 views

VirtualBox claims a USB drive, but hosted CentOS 7 cannot access it

How can I get CentOS 7 to open a USB hard drive from within VirtualBox running inside Windows 8.1? I have VirtualBox installed in Windows 8.1 and I am using it to launch and use CentOS 7 within ...
0
votes
1answer
155 views

Windows 8.1 Virtual Machine pointing to CentOS 7

How do I set up a virtual machine within windows 8.1 pointing to a CentOS 7 installation which I would like to install on the same physical box? I have been encountering all sorts of problems ...
0
votes
1answer
81 views

LUKS encrypted volume lost upon reboot

Using this guide I encrypted a volume and am able to open and mount it manually. The problem comes after rebooting. On startup the system does not open the encrypted volume, nor is the decrypted ...
0
votes
1answer
83 views

CentOs 6, rsync/scp of big file stop at 40% (2.4G)

I'm trying to download from the remote server to local laptop a big file (~5G), but the download stops at 40% of the size (2.4G). I'm using this rsync command: rsync --bwlimit=1200 -rh --progress ...
0
votes
1answer
80 views

Move /home on Centos 7

I need to move my /home to /dev/md3 because I need more disk space for it, but I don't know how to do that. I copied the contents of "/home" to "/var/home", but I do not know how to assign "/var/home" ...
0
votes
1answer
352 views

How do I run Asterisk as user other than root?

I compiled Asterisk 11 from source as user root on CentOS. Now I want Asterisk to run as user asterisk group asterisk. I have uncommented AST_USER="asterisk" AST_GROUP="asterisk" in ...
0
votes
1answer
312 views

centos7 not installing mysql

I've installed centos7 recently, but, when I am trying to install Mysql using the command: yum install mysql-community-server I keep getting Exiting on user cancel while I am not hitting any ...
0
votes
1answer
207 views

Samba ports still closed even with iptables rules flushed and disabled

I’m trying to install Samba on a server running CentOS 6 with WHM/cPanel, and I’m having some trouble with ports. This is a brand new system as of yesterday, and I haven’t yet started locking down ...
0
votes
1answer
25 views

create and run bash script on start of runlevel5

I have created a following hello bash script: #!/bin/sh echo "Hello Run Level 5" I put this script in the /etc/rc.d/rc5.d directory with a name S100RunLevel5. How can I make this script to run ...
0
votes
1answer
24 views

Make a group be able to run shutdown command without entering a password (CentOS)

I used the command visudo -f /etc/sudoers to edit the sudoers file. How do I make a group be able to run the shutdown command without supplying password?
0
votes
1answer
1k views

How to fix when installing puppet client on centos 7 with dockerfile getting Error: Package: ruby-augeas-0.4.1-3.el6.x86_64

I'm trying to install puppet-client on docker centos-latest with this dockerfile # Base OS FROM centos # Install puppet ENV PUPPET_VERSION 3.7.3 RUN rpm --import ...
0
votes
1answer
52 views

How to run /etc/init.d/functions without rebooting?

I added a line to /etc/init.d/functions and I want everything in /etc/init.d/functions to be run without me rebooting. Is there a way for me to do this?
0
votes
1answer
120 views

Resolve hostname of a Centos 6.5 dedicated server with a FQDN registered with Godddy

I have a domain registered with Godaddy and I am setting up a dedicated server for learning purposes. I want the server's hostname to be resolvable. I created custom NS records (ns1.mydomain.com & ...
0
votes
1answer
78 views

Sub-domains keeps redirecting me to Main web-site

I have just upgraded my version of LAMP Environment. Rest all the things are working fine but with Sub-domains i have a challenge. I have a Main website abc.biz and 5 to 6 sub-domains with it as ...
0
votes
1answer
17 views

Get Logical Volumes Group name in legacy grub

I am currently in GNU GRUB v0.97 Restore mode and I have CentOS 6.5 installed with /boot partition separated and rest of filesystem is in Volume Group. But, I dont remember volume group name, is there ...
0
votes
1answer
379 views

Debian user learning CentOS: how to install this package?

After always having worked on Debian I now have to use some CentOS servers. I need to install a package which I always install on Debian servers using sudo apt-get install python-zbar. So I tried ...
0
votes
1answer
2k views

ssh: connect to host * port 22: Connection timed out

I have CentOS 7 running on a VPS machine and after a computer restart, I could no longer SSH to it. $ ssh -v <IP> OpenSSH_6.6.1, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data ...
0
votes
1answer
14 views

Dozens of ssh-agents listed under top

I noticed this morning that our server was running slow so I ran a Top command sorted by mem and found a few apache instances running nothing out of the ordinary but I noticed several pages worth of ...
0
votes
1answer
172 views

CentOS 6.5 fail on install

I've tried to install centos on my pc and the installer throw the following error: Formatting Failed An error was encountered while formatting device /dev/sda1 Details: invalid device especification ...
0
votes
1answer
569 views

How can I disable FTP access for users

I want to temporarily disable the FTP Access of the FTP users which are added from Cpanel I have tried chsh -s /sbin/nologin aadmi which says "chsh: user "aadmi" does not exist." Tried sudo echo ...
0
votes
1answer
76 views

Im trying to adjust my httpd.conf file on my server but cant find it

I'm trying to make changes tot he httpd.conf file on my server so i can have multiple websites on my magento platform however i am unable to find said httpd.conf file. I'm using centos 6 and Apache ...
0
votes
1answer
196 views

Nagios configuration to monitorize virtual machine using Hyper-V with NAT

I will start by thank you very much for any help that i may possible have from any of you. I have a centos box that have nagios installed. I'm able to monitor several servers so far but I’m stuck in ...
0
votes
1answer
370 views

Installing CentOS from bootUSB with two ISO files

I want to install CentOS upon Windows 8(dual boot) replacing Ubuntu 11.04. I have two ISO files (dvd1 and dvd2). Suggest me ways to install the OS from USB. I tried using Unetbootin but it is not ...
0
votes
1answer
143 views

How do I stop recurring error messages from appearing in messages and auditd.log?

On my CentOS linux machine, in my auditd.conf file, I have set my max_log_file_action=keep_logs. However, in my /var/log/messages and /var/log/auditd.log, the following message appears multiple times ...
0
votes
1answer
330 views

Using dnsmasq with KVM

I just installed KVM on a CentOS 7 x64 minimal installation version at home. And I got a problem when the guest is trying to get an IP from the internal DHCP server from KVM (dnsmasq). I already have ...
0
votes
1answer
413 views

Install Lotus Domino on Centos

I'm trying to install a trial version of Lotus Domino (from this official download page) on a Centos machine. I'm following this instruction page to install Lotus Domino. But when I'm trying to ...
0
votes
1answer
92 views

Unable to get kickstart file from http webserver?

I'm trying to get a vm up using a kickstart file. However, whenever the virtual machine initalize, it says it is unable to located the kickstart file from the location provided. Code to build vm: ...
0
votes
1answer
683 views

install php-fpm on centos after remoe it

i install php-fpm and php-mysql and nginx then i remove it and update servers kernel. now, when i want to install php-fpm ,.. dont install $>uname -a 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 ...
0
votes
1answer
102 views

Switch Server to use GCC version 4.8.1

I'm banging my head against a wall, I followed the instructions detailed here: http://superuser.com/a/677640 When I ran yum install devtoolset-2-gcc-4.8.1 devtoolset-2-gcc-c++-4.8.1 this was the ...
0
votes
1answer
87 views

Unable to set up name servers

I've set up a server at my house running cPanel and CentOS. I'm unable to point a domain to the server using nameserver's. I can how ever point it to my server using an A record. I've set up port ...
0
votes
1answer
69 views

CentOS bashrc function to email on login

I've a system setup where an email is sent on a user login (line from .bashrc): printf "user details, ip etc" | mail -s "[LOGIN NOTICE] `hostname` - `whoami`" <admin>@<domain>.co.uk ...
0
votes
1answer
54 views

Changing linux distro on a dual boot machine(Windows 8.1 and Ubuntu)

I have a Dell Inspiron 15(i5, 8 GB) machine. I have Ubuntu 14.04 and Windows 8.1 both installed in it. I want to migrate to Cent OS 7 from Ubuntu but keeping the Windows installation intact. Is there ...
0
votes
1answer
41 views

CentOS Running on my laptop keeps on turning off VGA

I recently built a new desktop so I took apart and recycled my laptop to become a home server. I hooked up a VGA cable to it and put it to a old external monitor I had laying around. I installed ...
0
votes
1answer
242 views

iptables out bound port to remote mysql

Following is my iptables file on my centos, I am unable to open 3306 port to connect to remote mysql server. I dont know what I am doing wrong although it looks fairly simple. When I stop the iptable ...
0
votes
1answer
824 views

CentOS 7 Vagrant VM partially losing network connectivity

I am using a self-built Vagrant base box running a minimal installation of CentOS 7 (I created it following Vagrant's documentation - if you want more information, I outlined the process in an article ...
0
votes
1answer
898 views

initctl not finding an upstart service

I have the following upstart config (see below), on Centos 6.5 the file is in /etc/init/prerender-io.conf, the service does not appear with the "sudo initctl list" command also, sudo initctl ...
0
votes
1answer
67 views

CentOS Virutal Machine is unable to PING the Gateway

I've installed a CentOS Virutal Machine on the following hypervisor - VMWare Workstation 8 All of a sudden this morning , I'm unable to PING my gateway. I can PING the same gateway from the host ...
0
votes
1answer
107 views

Access PCIe card over network / PCIe virtualization

I need to access a PCIe card over LAN. I am wondering if there is an existing virtualization solution for this or if I need to create my own solution. The scenario is as follows: I need to use an ...
0
votes
1answer
71 views

“clear” comand throws some junk values before clearing the screen

I recently noticed that the clear command in Fedora 19 throws some junk value before actually clearing the screen Here's a sample output: [root@localhost ~]# clear [3;J [root@localhost ~]# ...
0
votes
1answer
376 views

Suspended a user on WHM but still receiving chkservd / log still fails

I have suspended a user in WHM, but I am still receiving chkservd hang for that user. The user's actual access logs in cpanel are not that huge, so I am not sure what's wrong (?)
0
votes
1answer
3k views

Failing to start Postgres SQL Server on Centos

I just followed this tutorial: http://www.unixmen.com/postgresql-9-4-released-install-centos-7/ But I can't start my postgres sserver on my centOS 6.5 machine. Here's the error: [root@vm5 ~]# ...
0
votes
1answer
14 views

Linux updating, downloading [Awaiting headers]

I've installed fresh CentOS and I've been having problems updating, downloading as it always either gave me an error "Trying other mirror" + "Read error (connection timed out) in headers". Then I ...
0
votes
1answer
47 views

suddenly no service, except ssh is accessible from wan

I recently did install the GNOME Desktop and Graphical Administration Tools package groups to my remote host, for remote desktop connection. After the installation of nearly 550 dependencies was done, ...
0
votes
1answer
644 views

Virtualbox: Windows 8.1 Host, Centos 6.6 Guest: No guest internet access

I'm moving to a new Win8.1 laptop (fully updated) with Virtualbox 4.3.20 installed, and my freshly-installed CentOS 6.6 guest (with Guest Additions installed) has no internet access. This is my first ...
0
votes
1answer
423 views

nginx php can't write files on centos machine

I have this PHP code: <?php $myfile = fopen("testfile.txt", "w") ?> And the following permissions in my '/usr/share/nginx/html' directory drwxrwxrwx. 3 root root 4096 Nov 20 08:51 . ...
0
votes
1answer
130 views

How to access the service on the server which act as the VPN Gateway as well?

I am currently running a VPN Gateway by Strongswan on a CentOS 6.5 VPS. The CentOS server has one eth port. The VPN is using IKEv2 and the connections between clients and server are established. The ...
0
votes
1answer
279 views

Can't access XAMPP after changing iptables

I've been working on a web application in a CentOS 7 machine and testing it in a Windows machine. Both machines are in a LAN network and I have access to the centos machine using VNC viewer and ...