CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

6
votes
2answers
50k views

Installing git “sudo: apt-get: command not found”

I am trying to install git. I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do?
1
vote
2answers
4k views

Problems with CMake in CentOS 6

I try to install a software in CentOS 6.2, without success. In README file it says: Requirements: - qt4 gui lib version >= qt4.6.x Note that many linux distributions split packages into a ...
4
votes
1answer
967 views

byobu configuration menu is missing options

I've used byobu on servers in the past (with byobu version 3.4) but I recently installed CentOS 6.2 and installed byobu 5.15 from the tarball. Most byobu-config menus have options to change ...
3
votes
1answer
100 views

HDD Testing En Masse

Does anyone have any ideas about how to set up automatic detection and conditional formatting of a LOT of HDDs? I tried posting this on TomsHardwareForums, but I don't think the responder read my ...
2
votes
1answer
3k views

Trying to install gearman on CentOS, and ./configure cannot find event.h even though libevent is installed

I'm trying to compile and install gearman onto a CentOS 6 box, and am getting an error when I compile from its source code. It requires the boost libraries, and was failing on that at first, but I ...
0
votes
2answers
236 views

Got an error while upgrading CentOS

I'm upgrading my server but an error occurred. Here is the error report: Transaction Check Error: package subversion-1.6.15-0.1.el5.rfx.x86_64 (which is newer than subversion-1.6.11-7.el5_6.4.i386) ...
2
votes
1answer
483 views

How to migrate from CentOS to RHEL?

What packages do I need to install to migrate my CentOS 5.7 server to identical version of RHEL. I have RHN subscription but I don't want to create a fresh install and move files.
1
vote
1answer
351 views

I cannot install “unifdef” on CentOS 6

After I ran yum install unifdef I got "No package unifdef available" I already added all sources. (Base, contrib, Debuginfo, Extras, Plus and Updates)
6
votes
1answer
4k views

Xvfb or Firefox throwing errors & gratuitously logging

per the answer to this question, I'm running Xvfb to make a virtual display so firefox will run on my CentOS server. (I don't need to see firefox or do any actual key or screen input/output with ...
3
votes
2answers
526 views

Installing FreeBSD without removable media from CentOS 6

I've been tasked with installing FreeBSD 8 alongside CentOS 6, without the luxury of removable media. CentOS 6 is already on the machine, and running quite nicely. However, I cannot figure out how to ...
1
vote
0answers
711 views

Hanging at “Running Transaction Test” when trying to install php-soap

I have here a CentOS 5 and I'm trying to run yum install php-soap but the installer hangs on and the last step is Running Transaction Test. I found out that NFS shares are the problem. See here or ...
1
vote
2answers
5k views

Change default path for when I SSH in to CentOS server?

I have a CentOS 5.7 web server, and I want to change the default place I land in when connecting using SSH. Currently I land in /home/username, and I want to land in /home instead. I've gone in as ...
0
votes
3answers
6k views

CentOS 5.5 network problem

I have been made to install CentOS-5.5 on my desktop. The network is not working. These following are the outputs of various commands. #ifconfig lo link encap:local loopback inet addr 127.0.0.1 mask ...
0
votes
1answer
909 views

How to easily maintain the latest versions of Apache/ MySQL/ PHP on CentOS 6.2?

We have a few servers running CentOS 6.2 deploying web applications using Apache/ MySQL/ PHP. In the past we've just regularly run "yum update" to keep all the software up to date. As of right now ...
5
votes
4answers
7k views

What are the different ways that a message can be displayed to a bash shell after a user logs in?

I have a CentOS 5.7 VPS using bash as its shell that displays a branded greeting immediately after logging in via SSH. I've been trying to modify it, but can't seem to find where it is in the usual ...
1
vote
1answer
689 views

Any better alternative to chroot on an OpenVZ VPS?

Are there any better alternative to chroot environment? I'm thinking about running nginx on a jailed environment. BTW, I'm on OpenVZ VPS, so modifying the Kernel is a no-no. (I think that prevents ...
1
vote
2answers
1k views

Which are best repo for Cent OS 5.7? [closed]

Which are best repo for Cent OS 5.7? Should I install apt-get and use other deb packages on Cent OS? I mainly used Ubuntu which is really easy to update any packages.
1
vote
1answer
1k views

How to log user in to Gnome Desktop from remote ssh terminal?

I'm using CentOS 5.5 with Gnome Desktop Enironment. By default, after system boot i get Gnome's login screen. Independently, I can log in through SSH and execute commands. Is there any command line ...
1
vote
1answer
279 views

Does CentOS fall into System V family? How is it considered to be while comparing with Unix System V family?

CentOS is "derived entirely from the Red Hat Enterprise Linux (RHEL) distribution" (more here). Does it fall into any UNIX System V family? Such as PDP-11 or etc? If not, where does CentOS stands ...
1
vote
2answers
1k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
1
vote
1answer
371 views

How to remotely control a CentOS 5.4 install

I need to support a legacy system that's running CentOS 5.4. There are errors coming up during the install and walking through the admin on the other end is quite tedious and inefficient. Does ...
3
votes
1answer
481 views

SELinux outbound access to other sites with restrictions

We have CentOS 6 configured with SELinux to host a number of websites. Unfortunately SELinux is preventing websites from accessing (outbound) sites, such as download.wordpress.com to update ...
4
votes
3answers
5k views

Trouble booting server from GRUB prompt

I just installed CentOS 6.2 on my server but it keeps going to the GRUB prompt. I've never used Grub before but did some digging online. Looks like I have to run the kernel command before I can boot ...
7
votes
1answer
868 views

Why isn't the ls command listing huge filesizes?

In my Redhat Linux, I am getting the following error when executing the ls command. # ls ls: sugar.sql: Value too large for defined data type
6
votes
2answers
391 views

Mysterious write IO

I am just reviewing the disk IO of a XEN VM server. I stumbled across a DomU that has constant write traffic. To narrow that traffic further down I logged in to the DomU (CentOS 5, 64 Bit) and ...
2
votes
0answers
311 views

Odd Inode/Ram cache drops happening in CentOS

I run a CentOS 5.7 machine (64bit) with 24GB ram and 4x SAS drives in RAID10 setup. This machine runs nginx/1.0.10, php-fpm & xcache. About a month back the RAM usage of this machine has changed. ...
4
votes
3answers
997 views

No font in emacs on CentOS

When I open emacs over an SSH connection I get this error Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string ...
5
votes
3answers
465 views

Distro for a startup?

We run a small start-up in the SaaS industry. About half of our current staff are developers using their own laptops with various Linux distros (Ubuntu, Debian, Fedora) with a few exceptions of ...
1
vote
3answers
388 views

antispam techniques in postfix on linux

We have an issue of incoming spam on the server hosting several domains. Its running postfix on CentOS 5.x. Please suggest the techniques that can be enabled on the server to prevent incoming spam.
3
votes
3answers
1k views

Trying to update php on CentOS 5.7

Apologies in advance - I'm not a good Linux user by any stretch of the imagination. I have a CentOS 5.7 dedicated server on which I host a few websites. I currently have php 5.2.10 installed, but ...
2
votes
1answer
652 views

Will the Firewall GUI in CentOS overwrite changes implemented by IPTABLES manual edits?

I would like to restrict access to the SSH port of a new CentOS 6.2 server to select IP addresses but the Firewall GUI utility seems to be an all-or-nothing scenario. Either the port is firewalled or ...
3
votes
2answers
2k views

How to permamently disable SELinux?

We run a site with big traffic surges and, because of that, SELinux usually thinks that the traffic is a SYN flood attack. We have this same problem on many different CentOS servers. Despite ...
1
vote
1answer
462 views

portsentry and IPTables on constant reboot, but not sure why

I have been doing some hardening on a new server [ centos 5.7 final ] i also have logwatch and seem to be getting these strange logs Commands Run: User root: /sbin/service portsentry restart ...
3
votes
1answer
1k views

Trouble booting CentOS

I switched from an Ubuntu to the CentOS yesterday. But it seems I have messed my installation somehow, since OS will only start correctly if the USB with the installation is plugged in. Long story: ...
4
votes
2answers
34k views

pdksh missing from RHEL 6 and CentOS 6?

The package pdksh does not exist on RHEL 6 or CentOS 6 when I try to install it through yum. So my questions: Why is it no longer available in the default repositories? It is available in version ...
1
vote
1answer
725 views

How to configure mounted FTP connection

I'm using latest CentOS with Gnome, and using bookmarked FTP connection, that connects to my server, and mounts remote directory. The thing is, I see no way to configure that FTP client, whatever that ...
12
votes
10answers
63k views

How to install CentOS 6 via USB mass storage device?

I want to install CentOS 6.2 on a laptop (Thinkpad R40) which comes without CD/DVD-drive but with USB 2.0 ports. It seems that CentOS does not provide ready-to-use dd-able USB images for ...
2
votes
1answer
1k views

iSCSI and runaway log file

I have a OpenVZ VPS running CentOS 5.7 that I've been using to get some sysadmin experience. I found a log file called brcm-iscsi.log in /var/log and it's getting big (140 MB). INFO [Sun Dec 18 ...
1
vote
1answer
107 views

DRBD8 and GFS on CentOS5

I am trying to combine DRBD8 and GFS2 on CentOS5. Is there any possibility to do this without using a mulicast-cluster underneath? (CentOS seems to use AIS) This is a two-node-cluster, so a simple ...
0
votes
0answers
381 views

How to backup and restore Oracle 10G Express in Linux VPS?

I have installed Oracle 10g Express in two Centos VPS server. How can I generate an Oracle backup from server one, so that I can restore the database on server two? Can anyone help on this?
2
votes
1answer
1k views

Altering the default boot option on CentOS

I recently installed a copy of CentOS onto my main hard drive (I now have Windows 7 and CentOS). Whilst installing CentOS, I accidentally set it to be the main boot option, so when I start my PC I ...
2
votes
0answers
480 views

Redmine install on CentOS

I'm trying to install Redmine on CentOS 5 following the instructions on the Redmine wiki. I've gotten to the "Configure Apache to host the documents" step without errors. That links to another ...
8
votes
2answers
761 views

lsof - age of file

The *nix command lsof gives you a list of open files. Is anyone aware of a way that would also list how long a particular file has been open? Either by using lsof or any other command. I'm using ...
2
votes
2answers
677 views

Is there a way to completely disable outbound opportunistic TLS support in SendMail?

CentOS 5.x SendMail 8.14.4 An overzealous network security feature is causing TLS negotiations to fail when my Sendmail server tries to talk to external hosts. This is causing sendmail to constantly ...
8
votes
3answers
542 views

Using real time kernel headers to compile userspace code vs default headers

Per customer requirements, I installed CentOS 5.6 with the default kernel. With this kernel installed, the time.h file includes the #define CLOCK_MONOTONIC. Now, a real-time kernel was installed ...
0
votes
1answer
1k views

What's the default boot parameter for CentOS 6.2?

I forgot to install a boot loader during LiveCD installation , since i've got other distribution resides in my system , i could add another entry into grub2 , but what's the default parameter for ...
3
votes
3answers
4k views

Blocking outgoing connects with iptables

I have a (non production) machine where external supporters have shell-access (non-root). I want to prevent them from going further on into our network from that machine using iptables. The "normal" ...
1
vote
1answer
2k views

How to install Empathy on CentOS 6.0?

I'm a very new CentOS user. I came from Ubuntu. I need to install Empathy on my CentOS PC. Can anybody explain how to do that?
2
votes
1answer
956 views

Winscp giving error for delete, move etc

I can login via winscp to my server I can move around the folder but when I try to delete or even download or upload files it keep showing me this error. General failure (server should provide error ...
6
votes
2answers
2k views

Enabling system management privileges for non-local users - How the heck does `polkit` work, anyways?

I am managing a CentOS 6.2 server remotely using X over SSH (actually NX, but that's just a proxy). The Everything is working correctly, except when I try to do tasks that would normally require ...