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
113 views

Possible to get RAID1, by simply adding HDD? [duplicate]

I have server and there is one 1TB drive in it and I guess it's not running any raid, I'm thinking if it's possible to add another 1TB HDD and setup RAID1 somehow?(software raid1) Server is running ...
0
votes
1answer
166 views

Network goes down when LAN cable plugged in

As per subject, I have a Zimbra mail server on Centos 5.5. and the problem is there that when I plug the LAN cable in to the server port all Internet and network services go down. This means the ...
1
vote
1answer
245 views

Access Remote files through http path

I am using lamp on CentOS 6. Application code is written in CakePHP. Application files path is "/var/www/html/my_app". Another file server is mounted with an Application Server. Mounted path on ...
1
vote
3answers
465 views

How compatible is Centos in respect to hardware for desktop systems?

I have been tasked with creating a promotional/sales tool for our clients and sales people . (about 8400 users) It is expected that the tool will be used on office and home systems. The tool will ...
2
votes
2answers
3k views

Installing Git Unit

I am trying to install git using my yum command Following is the error log Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. ...
0
votes
1answer
137 views

Version of OpenVPN for Linux kernel 2.4.21 & having iOS client

I have the following requirements: Have OpenVPN version that works with iOS client The OpenVPN version should also be able to be compiled with and work on Linux kernel 2.4.21 (due to business ...
3
votes
1answer
3k views

No /etc/mdadm.conf in centos 6

I have installed centos 6 and setup a new RAID array with two disks. every thing is ok and I have partitioned the array but I don't see any /etc/mdadm.conf or /etc/mdadm/mdadm.conf files. I have ...
5
votes
2answers
702 views

How can I ensure only the root user have the right to halt/reboot the system?

CentOS Linux by default allows all users to have permission to "halt" & "reboot" the system by using the commands halt and reboot. How can I configure my system so that only the root user has the ...
2
votes
3answers
2k views

Node installation: No module named gyp.common

I was trying to install node.js on CentOS 6.4 VirtualBox guest on a Windows XP host with the following commands: cd /usr/local/src/ git clone git://github.com/joyent/node.git cd node ./configure make ...
1
vote
1answer
216 views

How to remotely check if apache server responds

I have 2 servers. one of them often crashes. I want to send a SMS to my phone when it crashes. I wrote this simple bash script in another server and put it in crontab to run every 10 minutes. wget ...
6
votes
3answers
456 views

How does the CentOS installation work from the inside?

I am trying to understand the content of a Linux distribution's ISO image file and how the installation process take place. Here I am specifically talking about CentOS 6.4 in its minimal version. So ...
0
votes
1answer
336 views

CentOS VNC-Server

Are there any instructions how to install a VNC-Server on CentOS? Some of them explain how to setup a terminal server, but I primarily want to use the currently logged in desktop.
4
votes
1answer
365 views

Konsole works, gnome-terminal doesn't?

I'm running on CentOS 5.7 (in case that matters) I have a program (not my own) that runs fine from Lonsole, but when I run it from xterm, gnome-terminal or rxvt, it just hangs. I'm doing this with a ...
0
votes
1answer
91 views

How to add a virtualhost of a domain other than default folder?

I have a server (OS is CentOS) which has Apache. My default folder is /var/www/html/. When I add my domain this folder it works. But when I do this in httpd.conf <VirtualHost *:80> ...
1
vote
0answers
294 views

How to scroll in a terminal by line in GNOME Terminal 2.31.3?

I use Shift+(PgUp/PgDown) while scrolling in the terminal. But it seems to scroll one screen (or a half may be) at a time. I feel comfortable scrolling the terminal by line with the mouse, but don't ...
1
vote
1answer
155 views

LDAP : one suffix : search multiple separate Active Directory

I have configured an OpenLDAP 2.4.23 as a proxy to multiple separate Active Directory, it works fine when each AD as a different suffix/search base. I have an use case to fullfil : one application ...
0
votes
1answer
304 views

Samba daemon hammering CPU on CentOS 5.6 VM on bootup

I have a problem where my Centos 5.6 VM is running very slow on my Win7 machine, and looking at top I can see that the Samba daemon smbd is sitting at the top of the list hitting the CPU big time, ...
-1
votes
1answer
198 views

How do i change the password for root using webmin, where i have no more access as root?

I changed the root password, using webmin it shows me successfully done. $ uname -a Linux .com 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux $ echo -e ...
1
vote
2answers
2k views

Determine if reboot is required to update kernel?

I am running a server which runs on CentOS with cPanel (latest version) and I have it set to automatically update using yum. Since it needs to be rebooted in order to update the kernel (and possibly ...
2
votes
3answers
11k views

What are the settings to correct vsftpd “500 OOPS: cannot change directory” error?

My question is what settings do I need to change and/or commands to run to allow me to log into my vsftpd system? I am getting this error, when I login using ftp instead of sftp: Name ...
2
votes
3answers
461 views

Do I need to stop processes like mysql or apache before “reboot”?

I have been wondering if issuing a reboot command safely stops running LAMP processes like MySQL or Apache?
1
vote
2answers
1k 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
1k 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): ...
0
votes
1answer
3k 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 ...
2
votes
2answers
8k 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
1k 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
3k 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
914 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
1answer
5k 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
191 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
1k 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
1answer
2k 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
2k 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
194 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
151 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 ...
-2
votes
3answers
484 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 ...
3
votes
3answers
6k 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
553 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 ...
10
votes
3answers
9k 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
87 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
696 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
593 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
541 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
710 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
3k 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: ...
1
vote
2answers
5k 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 ...
0
votes
1answer
2k 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
512 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
111 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 ...