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
1k 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 ...
1
vote
0answers
142 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
117 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 ...
153
votes
9answers
18k 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
198 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 ...
3
votes
1answer
1k 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 ...
2
votes
0answers
455 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 ...
3
votes
1answer
2k 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 ...
0
votes
2answers
231 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
2answers
974 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
2k 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
583 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
907 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
2k 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
399 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 ...
2
votes
1answer
2k 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 ...
1
vote
2answers
385 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
464 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
127 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
1answer
1k 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
804 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 ...
2
votes
3answers
26k views

Kernel panic after LVM group rename

I have a CentOS 6.3 VM running and I got the error message below after I did lvm group rename and rebooted (SELinux running). vgrename vg_name1 vg_name2 reboot The error message is: Kernel ...
1
vote
0answers
731 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
582 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 ...
4
votes
4answers
11k 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
37 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?
1
vote
2answers
1k 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, ...
2
votes
2answers
267 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
215 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
2k 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 ...
0
votes
1answer
326 views

Unable to write to WD external hard drive from centos 6.1 system

I have a WD 2.5 T My passport ultra external USB drive. I attach it to centos 6.1 system on lenovo E430 laptop. The centos has the latest ntfs-3g packages. The external drive is recognized and its ...
1
vote
0answers
243 views

How to properly configure and use LXC through lxc-tools (NOT libvirt) on Red Hat based distros?

I am currently learning all about LXC. No doubt there are excellent tutorials about it. The tutorials/guides take one of the following approach: LXC on Ubuntu/Debian etc. using lxc-tools OR LXC on ...
0
votes
1answer
732 views

Mapping IP address to local Webserver

im currently lost as to why i can't properly map my website.. here is the situation.. my website is currently hosted on a local webserver running as Guest OS on Virtual Box. im running a CentOS ...
0
votes
3answers
114 views

Setting up a local webserver using CentOS on VM

im new here, and basically new at setting up a webserver... now im already googling, and searching here in stackexchange on how to setup a webserver, they tend to direct me to a working server.. i ...
1
vote
3answers
2k views

My Internet access stopped working after restarting CentOS Linux

I have given static IP on my Vmware CEntoS virtual machine. My internet was working fine. but after restarting machine This is my ifcfg-eth0 file DEVICE="eth0" NM_CONTROLLED="no" #ONBOOT="no" ...
0
votes
1answer
1k views

CentOs localhost only work when connected to internet

I have been trying to solve this problem (on and off) for three months, but still can't get it to work or even understand it why it happens. THE SCENARIO: I have a VirtualBox installed in my {HP ...
1
vote
4answers
10k views

Which keys to use to copy and paste inside CentOS guest on MAC

Which keys to use to copy and paste inside CentOS guest on MAC. I am using VirtualBox on my MacBook Pro running CentOS 6.5 as a guest... I am trying to copy and paste some text in centOS (the guest) ...
1
vote
2answers
545 views

Format “yum provides” output

I am writing a little program that packages configuration files as rpm, and it puts a series of %triggers to handle installation/upgrade of the packages that bring a copy/version of the same file. I ...
0
votes
2answers
731 views

CentOS $chmod a+w /etc/sudoers command not found

I am very new to CentOS and I am trying to edit my sudoers file. First I am told to run the following: $chmod a+w /etc/sudoers and right away I hit an error: bash: a+w: command not found What ...
1
vote
1answer
758 views

How to ensure version 5.5.* for mysql with puppet?

How can i ensure that the latest patch version of 5.5 will be installed by the yum installer under CentOS? class { '::mysql::server': package_ensure => '5.5.*' }
1
vote
1answer
6k views

lv root drive full, how to extend partition? (centos)

my lv_root drive is full, i believe its 50gigs, i could not find an option to extend it when i installed centos.. i have installed a second drive where I have my /var/www which mounted fine How ...
1
vote
1answer
125 views

Able to copy folders but not files to directory

I am currently using CentOS 6.5 and trying to share files over a samba share. On the other machine is Windows 8 x64. I am able to transfer folders from Windows to CentOS over without issues but ...
-1
votes
1answer
70 views

Disable NIC on CentOS

I have a server running on CentOS 6.5, the server have 2 NICs, and it happen sometimes when I reboot to pickup the a different NIC, I am trying to completely disable eth0 and the NIC linked to it. ...
0
votes
0answers
555 views

CentOS can't ping port 8080 on a Mac server

I can't ping a Mac server at port 8080 from a CentOS machine, but I can ping that Mac server from any other machine, so the port is definitely open. Where should I start looking for the issue? Totally ...
1
vote
2answers
2k views

wget error 400 CentOS

I have problem with calling wget command in CentOS 6.5. Im using following command: (I spaced the https, because of my user level on thi forum) wget --certificate=/root/o2key.pem ...
2
votes
2answers
346 views

How to create a deployment image of altered CentOS?

So, I managed to install CentOS 6.5 on a client PC, and then, continued by tweaking a lot of its stuff (such as adding samba and kerberos stuff, joining the CentOS PC with Active Directory, removing ...
0
votes
0answers
330 views

Unable to ping within VLAN

I have following systems connected in the same network. System A eth0 > 10.25.1.221 netmask=255.255.240.0 System B eth0 > 10.25.1.142 netmask=255.255.240.0 Now, i had setup VLAN ...
2
votes
1answer
3k views

centos 5 + nginx + git-http-backend

I've a CentOS 5 server at domain.fr. I'm trying to set a subdomain so that I can use it with git, "git.domain.fr". My repositories are in /home/git (example /home/git/repos.git). I've installed ...
1
vote
1answer
808 views

Does Centos 6 and gnome support i7 hardware?

I have installed Centos 6 on a new HP laptop HP PROBOOK 430G1. While booting I see the message Detected CPU model 6 family 69 *unsupported hardware device : Intel CPU model* Inspite of Centos ...
0
votes
1answer
2k views

How to mount a iSCSI/SAN storage drive to a stable device name (one that can't change on re-connect)?

We need stable device paths for our Twinstrata SAN drives. Many guides for setting up iSCSI connectors simply say to use a device path like /dev/sda or /dev/sdb. This is far from correct, I doubt ...