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

learn more… | top users | synonyms (2)

12
votes
10answers
66k 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
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
3answers
313 views

Best tool for monitoring server usage

I was just wondering what the best tools for retracing logs and what logs I should be checking to work out what's going wrong with a server, or what the client has executed to get the server into it's ...
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 ...
4
votes
1answer
4k 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
825 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 ...
1
vote
1answer
257 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 ...
0
votes
1answer
393 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.
0
votes
1answer
94 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> ...
0
votes
1answer
216 views

VSFTPD Virtual User Group

Currently I have a Running vsftpd server in a Cent OS Machine with virtual users. Users are authenticated using MySQL. The users has all the permissions in their home directory and they are jailed ...
1
vote
0answers
383 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
votes
1answer
220 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 ...
2
votes
2answers
3k 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 ...
0
votes
2answers
306 views

CentOS GUI problem using Gnome

For some reason lately when I try to set the date using the interface, or simply install a .rpm by double clicking the dialog that should prompt me to input my passowrd just shakes like it has a bug. ...
2
votes
3answers
498 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?
0
votes
0answers
58 views

How can I add PAM functionality in netkit-rsh-0.17

I am using CentOS. In my project, that is working on a network, I need an rsh utility. I downloaded netkit-rsh-0.17 for that and until recently all worked fine. But now I found that this utility ...
1
vote
0answers
351 views

Centos 5.3 - Need to use 4 com ports without resource conflicts (system has 6 com ports)

we hope to use 4 serial ports together on Centos 5.3 (could not upgrade to newer version due to application limitation). COM1 and COM2 works perfectly. We use echo to output to customer display to ...
3
votes
1answer
8k 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
207 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, ...
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? ...
2
votes
2answers
9k 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 ...
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
459 views

Configure Centos 6.3 to direct all traffic through a proxy server

Is there a way to configure CentOS 6.3 to direct all internet traffic through a proxy server? Forgive me if this is a really dumb question, I know very little about how proxy servers work and how ...
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 ...
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 ...
3
votes
1answer
2k 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 ...
1
vote
1answer
163 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
735 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
1answer
4k views

Install Desktop on Centos 6.3 remote server

Through our hosting provider, we can create servers running CentOS 6.3. However, these installs are meant to be used as servers that are accessed remotely. They do not come packaged with a GUI ...
6
votes
3answers
795 views

Why does the i386 version of software get installed on an x86_64 system?

Why does the i386 version of most software get installed along with the x86_64 version on a CentOS 5.8 64-bit system? # yum install php-xml Loaded plugins: fastestmirror Loading mirror speeds from ...
0
votes
1answer
591 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 ...
0
votes
1answer
5k views

Auto-restart an process when it crashes

I have an app that I need to autostart when the OS starts. I am running in a CentOS 6, so I am using a LSB init script placed in /etc/init.d. So far this is fine and working. Now....besides that, ...
4
votes
1answer
781 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 ...
0
votes
1answer
106 views

OpenVPN problem

I've Configure an OpenVPN (2.0.9) on a CentOS 6.2 (2.6.32-358.2.1.el6.x86_64) to accept OpenVPN client connection. But when I try to connect from Windows 7 by OpenVPN client tool it return me some ...
1
vote
1answer
848 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 ...
3
votes
3answers
532 views

How can I automate the process of copying files from one folder to another in Centos

I have a statistical application which runs every minute and creates charts accordingly. In order to make these charts available to other users, I need to copy the whole folder containing the charts ...
1
vote
3answers
88 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?
0
votes
1answer
408 views

Installing Ioncube loaders without issues CentOS 5.9

Seem to be having issues installing Ioncube loaders on CentOS 5.9. I followed this guide to install Ioncube: but it's still not working on the site at all, I keep getting this error on BoxBilling, ...
2
votes
1answer
4k 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
1answer
750 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
174 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 ...
2
votes
4answers
107 views

any feature on linux like Perfermance Counter on Windows servers?

I have a tomcat web application, when invoking an unstable remote API, I want to get realtime http request time at any time. On windows server, I can use Performance Counter, does centos provide ...
6
votes
3answers
10k views

Wireless networking with CentOS

I'm running CentOS 5.7 x86 on my Vostro 1700 laptop which has an Intel Pro Wireless WiFi NIC (Intel Pro Wireless 3945 [iwl3945]). I'm a bit confused about how my Wireless connection (wlan0) is being ...
1
vote
2answers
4k views

Linux Centos 5.5 yum update command is not working

I have done lots of things to update. yum clean all yum clean metadata yum clean dbcache then yum update outputs: http://mirror.centos.org/centos/5.6/addons/i386/repodata/repomd.xml: [Errno 14] ...
1
vote
1answer
548 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 ...
0
votes
1answer
673 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
333 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 ...
4
votes
2answers
37k 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 ...
2
votes
2answers
115 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
855 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 ...