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
2answers
2k views

Locating and Installing a program (Heroku Toolbelt)

I'm new to Linux and Heroku. I downloaded the Heroku Toolbelt into my CentOS/VirtualBox setup using the following command: wget -qO- https://toolbelt.heroku.com/install.sh | sh However, according ...
3
votes
1answer
2k views

SELinux - allowing rsyslog open/read access to some files

So I've got three files I need rsyslog to open in order to forward the entries to another server. SELinux is preventing this with the following error: type=AVC msg=audit(1371186588.768:1324460): ...
1
vote
1answer
6k views

Could not bind socket: Permission denied when trying to start NDOUtils using UNIX socket

I followed these directions to a tee: http://shah-oss.blogspot.com/2010/12/ndoutils-installation-on-centos-for.html Everything was going well until I actually tried to run this command (there is a ...
4
votes
2answers
14k views

Out-of-the-box CentOS in VirtualBox (NAT): Network is unreachable [duplicate]

My host is a freshly installed Ubuntu 2013.04, wireless network access worked out-of-the-box so I don't have any strange network configuration. In VirtualBox 4.2.10, with default (NAT) settings, I ...
1
vote
2answers
2k views

How to specify attachment encoding in mutt command line?

I'm trying to send an email with attachment from a perl script. First, I create the attachment (an xml file): open(XMLFILE, ">:utf8", $xmlfile); print XMLFILE "<?xml version=\"1.0\" ...
2
votes
2answers
5k views

Starting screensaver from terminal

I like the 'Black Screen' screen-saver. Because it makes the monitor look like turned-off. But my CentOS takes minimum 1 min. to start it automatically. Can I start it instantly from the terminal? ...
1
vote
1answer
2k views

When using 'yum list available' why are some entries in blue?

Using iTerminal on Mac OS X 10.8 to connect via SSH to a CentOS 6.4 server, running yum list available will show a list of packages available from the various repositories on that machine. Some of the ...
0
votes
0answers
14 views

When using 'yum list installed' why are some entries listed in bold? [duplicate]

Using iTerminal on Mac OS X 10.8 to connect via SSH to a CentOS 6.4 server, running yum list installed will show a list of installed packages. Some of the entries' names are shown in bold. I'm not ...
3
votes
2answers
16k views

NFS permission denied

When I configure NFS and create a file on the client NFS shared dir, I get the following message: permission denied. My configuration: configuration nfs server ...
1
vote
1answer
260 views

Bonded Interface Pair Performance Difference b/w CentOS 6 and RHEL 6

I have two new dell servers, both pretty close to the same hardware. One has RHEL6 installed and one has CentOS 6 installed. I have the machines configured identically from a network-scripts, ...
0
votes
1answer
2k views

Can't access XAMPP on Centos from other Windows PCs

I have a server with Centos 6 on it and I have installed XAMPP on it. I have this server on static IP address. But I can't access this server's IP address from other PCs. I tried to access XAMPP on ...
0
votes
3answers
4k views

Install Ghostscript v 9.05 (or newer) on CentOS

I need to use the ghostscript inkcov device on my CentOS server. The device is said to be available on GS versions 9.05 and newer. However, yum install ghostscript installs version 8.70. What is the ...
1
vote
1answer
3k views

How can I fix this dependancy error when updating clamav using yum?

I'm trying to update clamav on an old CentOS 5 mail server installation but keep getting a dependency error which I can't understand. I followed the method described here. Perhaps someone can show ...
1
vote
2answers
236 views

Distro agnostic init script dependencies

I'm trying to write an init script which will be able to handle basic dependencies (for example, It has to be started (just) before MySQL service starts). Is there a distro agnostic way to write such ...
1
vote
1answer
199 views

Install Guest Additions CentOS 64 (guest), Win 8 (host)

I am attempting to Install Guest Additions CentOS 64 (guest), Win 8 (host) Oracle's VM Virtual Box quite unsuccessfully. I have tried to follow the method answered here. But, I get the "mount point ...
-1
votes
3answers
2k views

run file from different directory [closed]

I have a directory mainfolder with a subdirectory execution which contains a configure script. I can switch to the execution directory and run ./configure and it works fine. Now I'm trying to figure ...
5
votes
3answers
19k views

Fix “firefox is already running” issue in Linux

I am trying to open Firefox in CentOS, but I'm getting the following message: Firefox is already running but is not responding and Firefox doesn't open. I tried this in command line: kill ...
0
votes
1answer
728 views

No installation steps when Installing CentOS 6.4 on VMware Fusion

This is my first real day on using linux. I'm following a book guide. I installed CentOS 6.4 on my mac using VMWare Fusion. However, during the installation, it did not guide me through the ...
17
votes
6answers
23k views

CentOS no network interface after installation in VirtualBox

I have Ubuntu 12.10 on which i installed virtual box on which I setup centos 6.4 i386. On Ubuntu I have: 3.5.0-17-generic kernal running. On virtual box I install centos 6.4 and everything works ...
1
vote
3answers
90 views

How can I determine which commands are installed by default on Ubuntu, CentOS and Red Hat?

I was surprised to discover that curl didn't come bundled as part of Ubuntu. Is there a canonical list of included components Linux commands that I can check for these three operating systems?
1
vote
1answer
1k views

Changing the server name

I changed the name of the hosts in /etc/hosts to IP.GOES.HERE newname Apache does recognize the new server name; but still, via ssh i get this on the ssh prompt: [root@oldname] Why? Where else ...
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
833 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
6k 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
10k 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
626 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
127 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
357 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: ...
1
vote
2answers
3k 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
7k 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
4k 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
546 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
301 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
432 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
1k 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
138 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
4k 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
124 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
447 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
443 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 ...