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

1
vote
0answers
51 views

Avoiding sleep when lid is close and no one is logged in

I've an old Dell Latitude laptop that I've converted to CentOS 6.5. As this is going to work like a server (i.e. no one will use it directly) I've changed from UI the power management option to ignore ...
1
vote
1answer
1k views

Attempting to install tmux on CentOS 6.4 or CentOS 6.5 fails with error: ‘EVBUFFER_EOL_LF’ undeclared

I tried compiling tmux using the following steps: yum -y install ncurses-devel libevent-devel wget http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz tar -xvzf tmux-1.9a.tar.gz cd tmux-1.9a ...
0
votes
0answers
119 views

set up (VirtualBox + CentOS) with (nginx + PHP + MySql) on MacOS

I'm trying to set up (Virtual Box + CentOS) with (nginx + PHP + MySql) on MacOS, the future I can coding on MacOS then throw file to the share folder with (Virtual Box + CentOS) and execute on ...
0
votes
1answer
56 views

phpMyAdmin No activity within 1440 seconds; please log in again. Issue

I have installed latest phpMyAdmin on Apache+php+mysql on CentOs. But after sometime of inactivity i am getting No activity within 1440 seconds; please log in again. And redirected to the ...
0
votes
1answer
161 views

Unable to access localhost & Internet using one adapter in CentOs

I have the below dev. environment. Hardware:- Windows 7, 32bit, HP Laptop. Software:- CentOs 6.5 running on VirtualBox 4.3.10. In a nutshell The problem is that I can't access the internet and ...
0
votes
0answers
52 views

Display port numbers and port names

How do I display both port numbers and port names at the same time? I can display the forward port numbers (i.e. 22, 25, 1000, 443, 80) using the following: [root@michaels ~]# iptables -L -n Chain ...
0
votes
0answers
11 views

error-> Could not update ICEautohrity file

error-> Could not update ICEautohrity file in my Cent OS operating system When i was unable to use my mysql database i stopped it and restarted the system. Then i got the error as error:- Could ...
0
votes
1answer
43 views

Custom kernel 2.6.18 compile in centos ends on fail

I'm compiling from RPM source. The same compile worked in the past but not this time. May be you can help me to solve this issue? make[2]: Leaving directory ...
0
votes
1answer
59 views

Error getting server's IP address using Python on CentOS

I'm using Python's socket module to get the server's IP address server_ip = socket.gethostbyname(socket.getfqdn()) I get this error: socket.gaierror: [Errno -2] Name or service not known Weird ...
0
votes
1answer
52 views

What would cause MySQL to not respond to connections on 127.0.0.1 but work fine using localhost?

having a strange issue on one of my CentOS servers. I've noticed MySQL randomly will not respond if I try to connect via 127.0.0.1 in my PHP script. Basically, 1 out of 20 requests or so will usually ...
1
vote
0answers
64 views

Is there a way to get host Hyper-V UUID from linux gest?

I have a CentOS 6.4 runing on Hyper-V VM. If I export the VM to other Hyper-V server, the UUID keeps the same. Is there a way to avoid this, or use other identifyer to know that the host hardware have ...
0
votes
0answers
14 views

Change default compression levels for file-roller?

I'm using gnome on cent OS and have installed file-roller but i want to store my files in uncompressed archives there doesn't seem to be a compression selection within the UI but i read that there's a ...
0
votes
1answer
188 views

Routing internal traffic in centos to the internet using iptables

Hello friends i am struck in routing traffic from the office to internet i have a network structure like this http://asthana.me/images/ip.png I have assigned static ip to the cent os server(which ...
0
votes
0answers
153 views

How to access Windows 7 files from VMware running CentOS 6.5

I have already enabled the shared folders and attempted to mount the folder shown in the file # /usr/bin/vmware-hgfsclient Which lists C and Documents which I created. Then I run the ...
0
votes
0answers
15 views

Ideal location for storing project files in Linux servers

Since using Linux/CentOs servers, I have read numerous blogs about suggesting where to actually place the public project folders. Nginx seems to suggest the html pages should be placed in: ...
1
vote
0answers
60 views

Does a VirtualBox/CentOs need two adapters to work properly ?

I have a Windows 7, 32bit, HP Laptop. I have CentOs 6.5 running on VirtualBox 4.3.10. Here is my eth0 config. Code: #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ...
0
votes
1answer
35 views

Turning iptables off on development server permanently?

What would be the downsides of turning off iptables permanently on a development environment? I don't like the fact that every time I restart virtual box I must do: service iptables stop service ...
127
votes
9answers
12k views

I accidentally typed password into bash command line

I accidentally typed my password into bash command line, mistaking the Last login: ... line for Wrong password (I was in a hurry). What do I do to cover my trace? What I did was editing .bash_history ...
2
votes
0answers
67 views

Convert rtf to pdf removing the hidden text of rtf file

I am using Ted on CentOS 6, for conversion of RTF to PDF documents via shell_exec command from php script like: shell_exec(rtf2pdf.sh test.rtf test.pdf) But the issue is that if the RTF file has any ...
1
vote
1answer
189 views

Issues compiling passenger for apache2 on CentOS

I am trying to install openproject on a CentOS 6.5 (Release 3 from OVH) following this tutorial but with mysql in place of postgresql. I'm nearly done but I can't seem to compile passenger for apache ...
1
vote
0answers
91 views

chpasswd and passwd not updating /etc/shadow for root user

I'm having a weird problem, and I don't know if I've screwed something up or this is the way it's supposed to be and I never noticed.. Using passwd and chpasswd to change a users password works as ...
1
vote
0answers
199 views

Is there a Vim 7.3 or 7.4 package available somewhere for CentOS 6.5

I'm running CentOS 6.5 and the only Vim packages available from yum are for Vim 7.2, even though Vim 7.4 is now out. A lot of the Vim plugins I typically use are only compatible with Vim 7.3 and ...
1
vote
0answers
40 views

What are some good guidelines for CentOs beginners. [closed]

I just started using CentOs both in VirtualBox and and online, so I would like to know some good bullet proof points as to the DOs and DON'Ts abut security, configuration backup ... I followed this ...
0
votes
2answers
78 views

Used 4 primary partitions, now need to add more space

I currently have CentOS 6.5 running on a VM in a live environment. The need to increase space has arrisen several times, and after following guides online it has worked successfully until today. ...
0
votes
0answers
13 views

Install CentOS 6 (Red Hat 6) documentation locally

I vaguely remember there was an option to install the documentation available at https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/. Things like "Deployment Guide", etc. I'm ...
-1
votes
2answers
170 views

cPanel MySQL 5.5 Server keeps crashing (lots of errors + warnings)

I have a dedicated server (not a VPS/VM) running x64 Centos 6.5 Final + cPanel. The machine has 16 GB memory. I run a game server on this server (which uses MySQL as the back-end for data store). I ...
1
vote
1answer
671 views

Kernel panic while installing Centos 6.5 from USB stick and USB cd rom

I tried to install CentosOS 6.5 using CentOS-6.5-x86_64-LiveCD as a source. I made bootable USB using YUMI (later LinuxLive USB creator) and booted but got the following error: i915 0000:00:02.0: ...
1
vote
1answer
105 views

linux centOs 6.3 GUI freezes with “tpm_tis error”

All of a sudden(1 yr after install), My CentOS 6.3 has frozen after getting into GUI mode. Just after the GRUB boot manager switched to run the OS, I saw the error message "tpm_tis 00:00: ...
0
votes
2answers
65 views

Unable to connect with SSH externally

I have a CentOS vm at work where I can SSH to it locally with it's local IP address, but when I am outside the office, I'm unable to SSH using it's external IP address. It is using OpenSSH. I have a ...
0
votes
0answers
704 views

Dual Boot Centos 6.5 and windows 7 using USB Stick

I was trying to dual boot my system with Centos 6.5 and Win7 using usb stick. Win7 was already installed. I created a partition of 100G from Win7 for CentOS 6.5. I created a bootable disk using ...
0
votes
1answer
85 views

Will CentOs 6.5 be compatible with Redhat certified motherboards?

I am building a lot of machines these days running CentOs, but recently I ran into serious compatibility issues with various of motherboards where CentOs ain't happy. At first I had problems with a ...
0
votes
0answers
46 views

Whats the SysV commands to initialize and start X2goServer?

I need SysV instructions for CentOS. The Archlinux wiki page on X2go has a great step-by-step overview for starting the X2go server, but that's not relevant to SysV. The current maintainer (?) only ...
2
votes
1answer
157 views

VMware VM with CentOS latest too slow while try to access PHP sites through browser

I have a instance of VMware Workstation 10.0.1 running in my PC. My PC has this configuration: Proccessor: Core i5 3120M Memory: 3992 MB OS: Windows 7 Ultimate, 64-bit 6.1.7601, Service Pack 1 The ...
0
votes
0answers
33 views

Home FTP storage

Now i have a router Asus RT-N56u and a USB Disk (Samsung M3 portable) for my daily website backups. I am doing compressing with tar for every site folder then sending it via NCFTP to my home usb disk. ...
1
vote
2answers
47 views

bzgrep -H pattern file.bz2 gives no filename, but “standard input”

I thought -H always should print filename before matched line. this is true for grep, but not for bzgrep: $ grep -H pattern file1 file1: data pattern data $ bzgrep -H pattern file2.bz2 (standard ...
0
votes
1answer
132 views

Configuring email on a CentOS server for proper sending

I have a CentOS server that hosts a public website containing a contact form. That contact form calls a php script that sends a mail. If I send a mail to certain domains I get errors like this : ...
0
votes
1answer
30 views

Best email server for CentOS? [closed]

I want to install email server on my CentOS server but just don't know which email server is the best. Any suggestion? I have option to use Google Apps or Outlook email servers but I should install my ...
0
votes
0answers
145 views

Broadcom BCM20702A0 on CentOS 6

I'm trying to get my broadcom BCM20702A0 bluetooth 4.0 dongle working on CentOS 6. I've installed bluez but it's not seeing the device. lsusb returns this: Bus 002 Device 003: ID 0a5c:21e8 Broadcom ...
0
votes
1answer
209 views

sporadic network timeouts detected by 1 or 2 nagios instances not making sense

I'm working for a small company as a linux and DB sysadmin. Since this is more commodity hardware I thought I'd try superuser first. We've been having odd networking problems occasionally and ...
0
votes
2answers
100 views

SCP is very slow

I am renting dedicated server in a leaseweb and trying to transfer tar files from leaseweb's server to my HOME NAS, but the problem is - max upload speed i get is 180kb/sec, though when i try to ...
0
votes
3answers
3k views

kernel panic not syncing attempted to kill init pid 1 comm init not tainted — CentOS 6.3

I have a CentOS 6.3 VM running and I got the below error message after I did lvm group rename and rebooting (Selinux running) vgrename vg_name1 vg_name2 reboot The error message is : ...
1
vote
0answers
169 views

execl: couldn't exec `/bin/sh'

I accidentally moved the whole bin, boot, dev and etc directory. After moving everything back I get the following error email from various cron jobs: execl: couldn't exec `/bin/sh' execl: No such ...
0
votes
1answer
77 views

Who starts updatedb process and why it uses 700+% CPU?

I have a VPS running CentOS, and recently its CPU usage goes over 700% for two times already. It always turns out to be a process named "updatedb" (as show in the figure below). After a quick ...
1
vote
1answer
1k views

Is it possible to put UFW on CentOS?

If so, how would I do it? If not, is there an easier way to set some basic rules on CentOS other than iptables? I'm more of an app developer and less of a sys admin.
0
votes
2answers
27 views

How to delete Exported folder (SSH)

I have used command: export TMPDIR=$HOME/tmp Now it created /tmp folder in my root directory (root/tmp) How can i delete it?
0
votes
2answers
57 views

Where should I install my app on Linux?

We have some data import tools we've written in-house and I need to set them up on a new Linux box. These are written in both Java and .NET (running on Mono) and they comprise binaries, config files, ...
0
votes
0answers
45 views

Is it possible to have a proxy Freeradius Server and Log users

I have a normal router in my home and I want to use FreeRadius. I want to make a proxy in my system any traffic from any devices connected to the router must flow through my PC. Also. that should be ...
0
votes
1answer
30 views

Which package contains the `most` command

I feel extremely dumb for asking this, but: On CentOS, which package should I install to have the most command (a really nice pager)? A google search turns up way too many irrelevant results. A ...
0
votes
1answer
69 views

Find and delete line in .htaccess file

I am trying to figure out how could possible a command do search and delete line from .htaccess file . the following line is the line i want to search and delete RedirectMatch ...
2
votes
1answer
159 views

“chmod -R 777 /” for a few seconds - now what?

On Centos 6.5 I accidentally typed chmod -R 777 / Ooops. I CTRL + C'ed out of it very quickly, but not before it'd started working away for a couple of seconds. Consequences? Well, already su ...