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

learn more… | top users | synonyms (2)

0
votes
0answers
330 views

centos 6.3 apache local network not working

I have clean installed centos, apache, mysql, php and have my php pages running fine at 192.168.1.66. I type that ip in on another computer (macbook) on the same network and get nothing. Page time ...
6
votes
4answers
2k views

What's the difference between a hard links and copied files?

RHEL 6 My understanding is that hard links include a copy of the original file and that I could delete a hard-linked file in one directory, and it would still exist in the other directory. If ...
1
vote
4answers
225 views

Why would someone want to change the last access date of a file without making actual changes within the file itself?

CentOS 6 I'm studying RHEL / Centos and recently learned that the touch command can be used to change the last access date of a file. I'm struggling to understand a practical reason why anyone would ...
5
votes
3answers
2k views

How to track the number of processes and forks per user?

I need to figure out how many forks are done and how many concurrent processes are run by each user over time. It does not look like this information is tracked by my distribution. I know how to ...
1
vote
1answer
4k views

Automatic Startup of Oracle 11gR2 on CentOS 6.3

I've setup a handful of CentOS 5.6 servers with Oracle 11gR2 and not run into this particular problem, but I have hit a wall with CentOS 6.3 and auto-starting Oracle. Not sure if this is related to ...
-2
votes
1answer
2k views

Unable to clone git repository: foo.git/info/refs not found

I tried to clone a git repository using the command: git clone http://git.denx.de/cgi­bin/gitweb.cgi?p=u­boot.git;a=summary but I got the error: fatal: ...
3
votes
2answers
531 views

Memory management, bias to swapping

I was having 768 MB RAM. In a general day MySQL was using 100-180 mb of RAM and MySQL was swapping 80-120 mb. I was having 50-60 mb free RAM. So I thought I should upgrade. Then I upgraded my RAM ...
0
votes
2answers
203 views

Check CPU for AES support during custom-CentOS installation

I have custom distribution of CentOS Linux 6.3. The installed system needs CPU support for AES-NI for all services to work properly. Can I add a check for AES support during the installation? I'm ...
1
vote
1answer
329 views

Grub problem booting problem at fresh install of Centos

I've Windows 7 installed on my PC. I would like to install Centos and remove Windows 7 completely. After burning a Centos 6.2 on a DVD, and restarting the machine, I got the grub> window. I can ...
2
votes
1answer
984 views

Which processes swaps memory

I can see swap's total, used, free etc. sizes from top command. But I can't figure out which process uses swap, is it possible to find out swap memory by process? I'm running CentOS 6.3.
3
votes
0answers
564 views

SCSI Tape drive on ubuntu and centos

On ubuntu 12.10 I have those SCSI drives: [1:0:0:0] cd/dvd TSSTcorp CDDVDW TS-H653N 0208 /dev/sr0 [2:0:0:0] disk Generic USB SD Reader 1.00 /dev/sdb [2:0:0:1] disk Generic ...
1
vote
2answers
3k views

iptables blocking from internet side on eth1?

How to use iptables to deal with two Ethernet ports? eth0 port for LAN use (192.168.1.50 Private IP). eth1 port is connected to the internet via cable modem (80.0.xxx.xxx public IP). ifconfig ...
1
vote
1answer
161 views

Point IP to an application instance

I was just wondering how I go about pointing a static IP address which I have purchased to an application instance on my server, using a different IP from the one I currently have pointing to my main ...
2
votes
3answers
2k views

Requires: perl(Compress::Raw::Zlib) = 2.052

Im trying to run a yum update but getting stopped by dependencies. I have installed rpmforge el6 which i need for other packages. Error: Package: perl-IO-Compress-2.052-1.el6.rfx.noarch ...
2
votes
0answers
531 views

Xen is unable to use URL's to install CentOS

I can't seem to use URL's when using the netinstall for CentOS, I'm installing CentOS on a Xen VPS. I keep getting this error in the terminal window, when I use the URL: ...
3
votes
2answers
19k views

How to install g++ 4.7.2 & c++11 on CentOS 5.x?

I'm trying to install the latest stable g++ and c++11. My host did it through yum install and thought that it was the latest, but it's not, and they are now saying that this is beyond their level of ...
2
votes
1answer
2k views

set default g++ on CentOS?

I'm a linux virgin and have only been programming c++ for 2 weeks, so please bear with me. I'm trying to set the default g++ to 4.7.2 which I'm told by my host is installed (I'm also told that c++11 ...
2
votes
2answers
574 views

Use desktop speakers over SSH from laptop

I have VLC media player and media files on a desktop CentOS 6.3 set up (without a GUI). I can play the media files at the machine but when I issue the command via SSH it is silent. I'm guessing it's ...
28
votes
7answers
1k views

What's the equivalent to && when writing a bash script?

I apologize in advance if this is a duplicate question. I did make an effort to search/check before asking here. I'm comfortable with writing one-liners like this: foocommand && ...
2
votes
1answer
5k views

No CentOS Windows 8 GRUB Options on Restart

How do I dual-boot CentOS 6.3 Minimal Version on an Acer 64-bit Windows 8 Laptop and get the GRUB options to select either CentOS or Windows 8 when I restart? (Currently it boots straight into Windows ...
4
votes
1answer
626 views

CentOS - how to install vsftpd for specific username to have specific directory access only?

I have VSFTPD installed in CentOS. Where i have one username "lesstrust1", when the user login i want the user only can upload/download to this path /var/www/html/oxwall $ yum install vsfptd $ ...
3
votes
1answer
592 views

set VM IP address to be the same every time from DHCP on CentOS 5.6

I have an issue where, each time I start my CentOS 5.6 VM, DHCP (I believe) is allocating my VM a different IP. I have the VM mapped as a Samba share in Windows 7 and this changes between 192.168.0.8, ...
4
votes
4answers
3k views

Can't compile XBMC 12 because of TAGLIB problem

I am trying to compile the latest version of XBMC on CentOS 6 x64 but on ./configure I get: checking for TAGLIB... no configure: error: Could not find a required library. Please see the README for ...
1
vote
1answer
217 views

Xen error on CentOS

During the creating of a new virtual server in xen using this command xen-create-image --hostname=minecraft.koanhosting.com --ip 87.98.249.146 --install -method=debootstrap But I keep getting this ...
0
votes
1answer
409 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, ...
3
votes
1answer
3k views

Failed to start slapd in CentOS

I was trying to setup an LDAP server for my development. For this purpose, I have chose CentOS 6.3 install it in VirtualBox host in Fedora 17. I'm following this tutorial to guide me on this setup, ...
1
vote
2answers
133 views

Can't figure out which Cent OS to download

I'm not sure if this belongs here, but I really need help on which Cent OS version to download. There's some linux distros that I want to try, but none of the websites are as user friendly as Ubuntu ...
1
vote
1answer
2k views

Guide to installing Xen on CentOS 5.9 (That is still valid)

I need an idiots guide to installing Xen Hypervisor on CentOS 5.9 We attempted to install it on 6.3 before, but completely failed, so we reverted to 5.9 to see if we had more luck. We had issues ...
0
votes
1answer
2k views

Is it possible to install KVM On A VMWare virtual machine? If so, what are the steps?

I want to understand how to use KVM in CenTOS. At the moment, all I have is a VMWare ESX 5.x server to use. Is there a way to get KVM working on a system that is running on VMWare? Essentially, a ...
2
votes
1answer
596 views

IBM Java Runtime Environment on CentOS

I need to install IBM's JRE, but I can't seem to find an appropriate download or guide to installing it on CentOS. I've found various zips, but none of them include an RPM and I have no idea where to ...
0
votes
2answers
618 views

CentOS 5.9 | Program Listening on Port, Causing It Not To Bind

I have a game server running on my CentOS box that binds to port 28960, now when I restarted the game server it stated that it can't bind the port because its in use, but its obviously because the ...
5
votes
2answers
1k views

OpenLDAP Password Policy overlay error while loading

I'm trying to load the password policy overlay but i'm having the following error ldapadd -Wx -D "cn=Manager,cn=config" -f overlay.ldif Enter LDAP Password: adding new entry ...
1
vote
0answers
87 views

Allocating resources to VPS's

I need a layman's term definition of these parameters and what they do in terms of allocating resources to servers, as I'm having issues with the VPS's that I set up, as Java seems to be unable to set ...
0
votes
1answer
163 views

Bash config files being read in contradiction to `man bash`

While trying to determine the differences between .bashrc and .bash_profile I notice that .bashrc is never read, and that .bash_profile is only read from SSH, but not from PHP. This seems to ...
0
votes
0answers
135 views

Upgrade from Fedora 17 -> 18 problem

I tried to update Fedora 17 to 18 from within yum using the directions on the fedora web site. When I rebooted I ended up in the CentOS installer screen. I am not sure how that happend but I can't ...
3
votes
1answer
443 views

Log file not growing beyond a size. Why?

We have a java based web-app running on CentOS 6.0 64bit and it writes out many log files. Some of the files are rotated on daily basis using logrotate using the daily, copytruncate and other few ...
0
votes
3answers
4k views

Create swap partition after install

I already have parititon contain data under lvm enviroment with centos 5.8 output of fdisk -l root@server [~]# fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, ...
0
votes
1answer
240 views

Mirror RHEL repositories

I'm attempting to install Spacewalk 1.8 with mrepo and create a mirror of RHEL 5&6 packages to use for frequently spun up development VMs. There are several guides that indicate I should use ...
3
votes
3answers
9k views

install minimal desktop on CentOS 6.3

I just want to install a minimal GNOME desktop without all the Thunderbird/Firefox and any other packages that may come with full CentOS Live Cd. Is there something like yum groupinstall base-desktop? ...
2
votes
1answer
6k views

Installing vpnc on CentOS

I'm currently attempting to establish a vpn connection, but I am unable to install a vpn client. I assumed installation would be as simple as sudo yum install vpnc, but CentOS is unable to find the ...
2
votes
1answer
558 views

How to have find recurse into subdirectories when using -prune option

I see that the find command does not descend into subdirectories when you're using the -prune option. How do I tell find to recurse into the sub directories, but also ignore some stuff? ...
1
vote
1answer
224 views

Dynamic wallpaper change on CentOS 6.3

Is there any possible way to change wallpaper (background) every five minutes on centos 6.3 with gnome 2.28.2 ? I found this Python script: #!/usr/bin/env python import gobject ...
3
votes
1answer
3k views

Definitive way to configure network devices in Centos 6.2

What is the definitive way to configure network devices in Centos 6.2? Via network manager or editing /etc/sysconfig/network-scripts? I have a notebook with 1 ethernet port and a usb ethernet adapter ...
0
votes
0answers
144 views

Build minimal centos

I'm building a miniminal Centos5 for use in xen but i having problems when go to use yum this are the steps: $ mkdir -p images/x86_64/5 $ cd images/x86_64/5 $ mkdir -p proc etc dev ...
4
votes
1answer
567 views

CentOS file owner changed on editing

I have the following problem. On Unix server (CentOS 5.5) a number of users belonging to the same group have access to the same files (via ssh). After one particular user (let's say usera A) has ...
1
vote
1answer
345 views

Add ipv4 support to CentOS 6.3

I've installed two identical versions of CentOS using VirtualBox. The first instance works fine and has ipv4 configuration automatically working, but the second instance doesn't; it only comes with ...
1
vote
4answers
10k views

Java update on Centos

I have a Centos 6.2 machine. It currently has JDK 1.6.0_26 installed. I would like to update that to 1.6.0_38, the current release version. I saw a comment somewhere about sudo apt-get; apt-get does ...
3
votes
1answer
146 views

Previous login notification

I am using CentOS 6. How can I configure it so the system notifies the user, upon successful login, of the date and time of the last login? Is that possible?
0
votes
2answers
228 views

Create a CentOS Guest img over Ubuntu

I want to create a basic CentOS 5.8 system from scratch. for now i build my own img for Ubuntu Guest (debootstrap), my host is a Ubuntu 12.04.1LTS but I don't know how to make for a CentOS, is ...
0
votes
1answer
4k views

“client denied by server configuration” with “AllowOverride All”

I've installed CentOS 6.3 with Apache 2.2 on a VM. I'm trying to set up a LAMP stack with these VirtualHosts: localhost loads the path /var/www/html/ lcl.mydomain.com loads the path ...