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

learn more… | top users | synonyms (2)

1
vote
1answer
1k views

USB DVD device type, /dev designation

What is the device type of an external USB DVD player to use when using the Linux mount command? ISO9660 is the type for the internal CDROM. What is the corresponding type for a DVD drive? Are ...
1
vote
2answers
903 views

How to restrict rm -rf / in CentOS machine? [closed]

I would like to know how we can restrict rm -rf /on CentOS machines?
4
votes
1answer
1k views

CentOS 5.8 with gcc 4.4.7 links against libstdc++ 6.0.8. How is it possible?

According to the gcc ABI policy, gcc 4.4.7 should depend on libstdc++ 6.0.13. As far as I understood, the compiler version and the libstdc++ version are deeply interrelated and can't be swapped, so it ...
2
votes
1answer
7k views

CentOS conservative governor, nice error

I changed my CentOS 6 CPU governor from ondemand (the default one) to conservative and got this after restarting the cpufreq service: /etc/rc5.d/S13cpuspeed: line 88: ...
2
votes
2answers
11k views

On Red Hat Enterprise Linux 6.2 how can I use Python 2.7 as default not Python 2.6? I did but still showing 2.6?

RHEL 6.2 I have python 2.6 but I need default python 2.7 using yum packaging (so that nothing goes messed up, cause its a heavy duty working system, all I need the python 2.7 on it, without messing ...
1
vote
1answer
3k views

Alternatives not working well for Java installation on Centos 6.4

I am trying to installing on Centos java from Oracle. Following are my steps. yum install /usr/local/jdk-7u3-linux-x64.rpm alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java ...
1
vote
1answer
654 views

install mysql 5.5(remi) with centos 6.2 complains error

Finished Dependency Resolution Error: Package: mysql-server-5.5.31-1.el6.remi.i686 (remi) Requires: libz.so.1(ZLIB_1.2.0) I type yum --enablerepo=remi install mysq and these error ...
2
votes
2answers
130 views

Copy website from RedHat to CentOS

We currently have our website and website's CMS hosted on a dedicated host which runs Red Hat. We want to remove Red Hat and install CentOS instead. My question: is there a straight forward way of ...
1
vote
1answer
1k views

What are the chkconfig directives (classic style) into init.d scripts?

To ask my question, I must first clarify the context. Every init script in /etc/init.d (on RedHat and Centos distros) is prepared to be managed with the chkconfig command-line tool utility. This ...
-2
votes
1answer
371 views

Configure Clock on different port other than port 80 in CentOS

I installed CentOS 6.4 & noticed that port 80 is being used by Clock application [root@l-22733-p11 logs]# lsof -i tcp:80 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME clock-app ...
0
votes
1answer
2k views

Java installation having issues on Centos java and javac showing different version

I have this package of java jdk-7u3-linux-x64.rpm. So I have been doing this normally yum install jdk-7u3-linux-x64.rpm. Then immediately I will do this alternatives --install /usr/bin/java java ...
1
vote
1answer
5k views

Redhat find process memory usage [duplicate]

When I cat /proc/meminfo I see: MemTotal: 1048576 kB MemFree: 11136 kB Buffers: 0 kB Cached: 0 kB SwapCached: 0 kB Active: 0 kB Inactive: ...
2
votes
2answers
4k views

Why there are two ifcfg-eth0 file but in different directory

I am trying to understand why there are 3 ifcfg-eth0 on my CentOS 6.4 server, they are hardlinks to the same file looks like. Anyone knows why ? $ ll /etc/sysconfig/network-scripts/ifcfg-eth0 ...
4
votes
2answers
2k views

grub error : “File not found” for separate /boot/efi partition

I've installed CentOS 6.4 on UEFI enabled machine, created /boot/efi partitions. But my grub is not automatically starting, if I start the PC, I start in Windows 8. I can only start CentOS by ...
3
votes
4answers
8k views

How to know which is the default script shell in Centos?

I'm using Centos 6 and after reading about different shells and dash implementasion as sh replacement in Debian, Ubuntu and Fedora, made up my mind to replace sh with dash as the script shell in ...
1
vote
1answer
5k views

SELinux Write access for vsftpd and samba

This should be easy enough I think, but I'm new to SELinux. I have a CentOS 6 file server. I have some LVM file systems at /var/media and I want to use both Samba and FTP to share them with a Windows ...
1
vote
1answer
561 views

Install vmware-tools using yum in vmware fusion

I added vmware-tools repo [1] to my virtual CentOS box. What is the exact set of packages I have to install? The rationale is to be able to update vmware-tools using yum. Environment: Host OS: Mac ...
3
votes
2answers
316 views

First key pressed repeates forever

I just installed CentOS 6.4 on an old machine I acquired for a development box, but I am running into keyboard issues I can't get around. I start the machine and go to type a user name in and ...
1
vote
1answer
451 views

Atomic repo to just update Ossec and not the rest is that possible for Centos 6.4?

I followed this link http://www.ossec.net/?page_id=19 and enable both epel and atomic repo to install ossec. My problem is I just want a local installation of ossec so I ran this yum install ...
2
votes
2answers
2k views

gedit preferences grayed out

I'm using gedit 2.28.4, on Centos 6.4. When I click on Edit > Preferences, I can't modify anything, as everything is grayed out. Also, I could not re-size the preferences window to locate the ...
0
votes
0answers
141 views

How to determine the sequence of ordering certificates by browser?

I did a Mutual Certificate Authentication implementation with OpenSSL and Apache Web Server on CentOS platform. To simple explanation see this diagram: ---------- | ...
0
votes
0answers
2k views

Cent OS 6.4 UEFI Dual boot

i'm really a beginner to Linux trying to study for RHCSA certification here. I have Windows 8 installed on UEFI BIOS. When i installed Cent OS, installation went smoothly and then after restarting, ...
1
vote
1answer
5k views

Problem compiling a driver : “No rule to make target”

First of all I am running a CentOS 6.4 installation. My computer is a laptop and I am trying to install the drivers for my ethernet card, because this week end I lost my ability to connect to the ...
0
votes
0answers
131 views

Installing Ossec on an existing centos 6.4 machine

I have an existing machine running centos 6.4. Is it ok to install now the Ossec or it's not worth any more as the machine is already running for few months. Which is the best mechanism to install ...
1
vote
2answers
3k views

CentOS 6.4 as VirtualBox guest under Windows 8 host, fullscreen mode causes unresponsive cursor

I apologize in advance if this is an inappropriate place to post this question. I've installed VirtualBox 4.1.26 in Windows 8 6.2 (I don't think I have Pro) and got CentOS 6.4 installed with Guest ...
-3
votes
1answer
1k views

Red hat enterprise linux how do i install apache with SSL HTTPS? i have CERTIFICATE, KEY, INTERMEDIATE (ROOT CA) from heart internet [closed]

How can i install SSL HTTPS in my apache webserver in Red hat enterprise linux? Only following is installed. And i have tried this website follow up but its not working it fails. $ uname -a ...
1
vote
3answers
3k views

Virtual Interface Not Showing up in ifconfig?

I am trying to create a virtual interface for the purpose of NameBased Virtual Hosting on my CentOS linux box; please find below is the devices' information:- DEVICE=eth0 BOOTPROTO=dhcp ...
-1
votes
1answer
467 views

SSH screen (CentOS) crashes

I use the screen command to run a Minecraft server on my CentOS 6.4 machine. However, once I end the SSH session, the Minecraft server and the screen will eventually simply stop such that when I come ...
0
votes
1answer
471 views

centos httpd.conf set different ip for a directory

I have 3 IPs in my server, i want use them to increase twitter API limits. How to set a different ip for a directory in centos 6.1 httpd.conf (apache 2.3.1) I added these line in the bottom of ...
3
votes
2answers
796 views

Finding yum equivalents of apt repositories?

I have code to setup an Ubuntu server that relies on apt-get. It has lots of packages as documented on our project wiki, for example these: development environment and the ruby dependencies. However, ...
0
votes
0answers
1k views

gnome-terminal won't launch because it crashes every time

gnome-terminal worked this morning, and I haven't installed any software or changed any OS configurations. Now every time I try to open a terminal window, I get an error dialog: The application ...
3
votes
4answers
1k views

How can I uncompress gz files in random directories and store the decompressed files in those same directories?

CentOS 5.9 I've got a server with a foo.ext.gz file located in a variety of random directories. Example: /opt/fooapp/foosubdirectory/foo_randomnumber/blah/blah/foo.ext.gz ...
0
votes
1answer
832 views

Installing a secondary drive in CentOS 6

I am new to Linux and CentOS so I may not be sure of the exact question to ask. It may be best for me to tell you what I have done. I installed a secondary 500gb HD to use for file share storage. I ...
0
votes
1answer
654 views

When running a terminal, I get the default bash prompt

Whenever I run a terminal in Linux (Centos), my console line starts with: bash-4.1$ During the Centos installation, I created a user 'mark'. Later on that day, I needed to change the name to 'john' ...
7
votes
4answers
15k views

ldd tells me my app is “not a dynamic executable”

I have a 32-bit application (called uclsyn) I received from an astronomy professor. I managed to get it running on CentOS a year ago, but now when I am setting up a new CentOS VM, it won't run and I ...
2
votes
2answers
645 views

Commands for determining level of usage of server

I am scripting a new program that will connect to a cluster of machines in a VM park, and hopefully check their level of usage. The VM clients are a combination of RHEL and CentOS, and runs on ...
9
votes
5answers
35k views

Kipmi0 eating up to 99.8% cpu on centos 6.4

We have CentOS 6.4 and the kipmi0 is showing as 99.8%cpu and 0.0% memory and load average is 1.00. What should we do to rectify on this?
1
vote
0answers
452 views

How to add my own created certificate authority to system trusted repositories

I was told that I can add my created CA to trusted repositories/authorities in my system instead of adding it from browser and configuring in in ssl.conf. Yet I can't find anything similar on the ...
3
votes
1answer
3k views

What's the easiest way to decrypt a disk partition?

I made a mistake of encrypting the entire LVM physical volume (contains both home, root, and swap) when installing a CentOS 6.4 (2.6.32-358.6.1.el6.x86_64) box. I soon came to realize that moving ...
0
votes
0answers
132 views

PBX randomly loses network connectivity and restores itself

I'm using a QBX appliance, which is just a microATX desktop system with FreePBX connecting to asterisk and some other slapped together stuff running on CentOS 5.4. It's horribly out of date (which I ...
1
vote
1answer
959 views

Unable to make sshd start at boot time on centos 6.4 . It starts ONLY after I login from console

I have installed centos 6.4 on a desktop and wanted to access it mostly remotely. For this, I tried ...
1
vote
1answer
150 views

Scrambled Xen Console on dom0

I installed Xen using the recommended procedure on Ubuntu's site using motherboard Supermicro X7SBL-LN2 and Ubuntu 13.04 amd64. After the installing it and rebooting my console looks like this: ...
1
vote
2answers
490 views

Moved some files unable to use mv now

I accidently used mv mymods /* * . Now i am unable to undo it or either use any command. How do i fix that? I was in directory name /home/nginx/crap [root@somehost /home/nginx/crap]# mv mymods /* * ...
1
vote
2answers
217 views

Using a specifing gateway for a packet. (CentOS/RHEL)

I have just setup a machine which has two NICs, one for private network and the other one for public network which has a real IP assigned to it. DEVICE=eth0 HWADDR=XXX TYPE=Ethernet UUID=XXX ...
3
votes
3answers
8k views

What is the service that's responsible for automounting a USB drive in CentOS 6.4?

I know of the legacy Linux way of mounting a USB stick or drive: mount /dev/sdb1 /mnt/ But in some CentOS 6.x installations I saw, you just insert the USB stick and CentOS automagically mounts it, ...
2
votes
7answers
670 views

Determining Linux architecture from files

I have a system with an unrecoverable /usr partition. Terrified the drives are going bad, I've got it booted into a LiveCD environment, and I can't remember what the install architecture was, the ...
1
vote
1answer
1k views

Red Hat Network (RHN) and package updates

I was just reading about Linux servers and Red Hat Enterprise Linux. What exactly is the Red Hat Network (RHN)? From what I've gathered, you subscribe to it to be able to update your system. Does this ...
1
vote
2answers
3k views

Installing Dovecot and Exim on CentOS 6.4

I've been looking for some guides on setting up a secure Dovecot and Exim mail server setup on CentOS 6.4, however it seems there's nothing out there. Does anyone know of any guides - or - if someone ...
1
vote
1answer
279 views

Perl dependency issue

I've installed CentOS 6.3 (i386) recently. It has two perl binary /usr/bin/perl (v5.10.1) /usr/local/appx/perl/bin/perl (v5.8.8) My question: Is it possible to install some other funtinonality ...
4
votes
2answers
3k views

Sign a module after kernel compilation

I've built a kernel in tmpfs, then I rebooted. Now I see a message when I compile the 3rd party module, NO SIGN [M] XXXX.ko How can I get it signed? The key pair generated during rpmbuild is lost ...