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

2 ip ranges / 1 nic OR why does one ip range follow default route before local routes

Updated at the bottom I'm using Centos as a router, and just replaced the routing system at work. I've got 2 routers to send data around. For the most part it's working. On one router I have 2 ...
0
votes
0answers
269 views

Installing XSP on CentOS

Trying to install xsp-2.10.2. Worked fine in the past, now getting this error. Making install in Mono.WebServer mkdir: cannot create directory `2.0': File exists GMCS /out:2.0/Mono.WebServer2.dll ...
1
vote
1answer
3k views

64bit rpm can not resolve 32bit dependencies

Problem I'm having a RPM that contains mixed 64bit and 32bit binaries. One of the binaries depends on 32bit i686 packages. When I try to install the package yum gives me an error, noting that the ...
0
votes
1answer
2k views

Giving apache user same permissions as root only on specific folders

Not sure if this is possible but is there a way to grant the Apache user same level of permissions (ownership) as root only on specific folder(s). Why I need this: We have a CentOS 6.2 server with ...
2
votes
1answer
486 views

Properly Set Permission to /home/user folder for webserver

I'm currently setting up my own Linux server running CentOs 6. To test the security on my server I wrote a PHP script that acts like a sort of "navigator". I can go one directory up, open the files, ...
1
vote
1answer
233 views

Cannot enter in centOS with any user

I am using cent OS Operating system without GNOME. In the starting, it asks localhost login: Password: It has one user named service under group name service whose password is also service. I ...
0
votes
0answers
325 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
211 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 ...
3
votes
3answers
11k views

How to auto type password for SCP or SFTP to automate it?

I have script where I put scp command to backup file to other server. But when it runs it asking to type password. Is there way to automate this? I am using CentOS 5.6. I have seen few guides they use ...
1
vote
1answer
3k 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: ...
4
votes
1answer
537 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 ...
0
votes
4answers
1k views

umask is not working for directories

I have an odd problem with umask. My current setting is: $ umask 0022 $ umask -S u=rwx,g=rx,o=rx This only works for files though and not directories: $ touch abc $ ll abc 0 -rw-rw-rw- 1 user1 ...
3
votes
2answers
503 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 ...
3
votes
2answers
287 views

Is it better to partition one drive or use separate drives?

I am a system admin with limited Linux experience, and have been tasked with setting up Cent OS 5.8 64bit install, and creating a template once complete. My main client base will be developers, and I ...
1
vote
2answers
873 views

How to extend second CentOS 5 partition in VMware

I know this question has already been answered for a primary partition, but what about a secondary? I have extended the space to 30G in VMware. When I perform an fdisk -l, here's the output: Disk ...
2
votes
1answer
4k 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 ...
0
votes
2answers
187 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
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
158 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
0answers
508 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: ...
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
522 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 ...
3
votes
1answer
547 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
2k views

Install development files locally to build on system without root access?

There is a server that I do work on, running an older version of Linux. I don't have root access to the system, so I wanted to build a more recent version of a tool that I use a lot (Vim 7.3). I ...
1
vote
1answer
204 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 ...
3
votes
2answers
486 views

Wine installation problems in CentOS

Every time I use... yum install wine I get a message saying the package isn't found. I have used yum update but that does not work either. Moreover I accidentally ran chmod user:user /etc/yum... ...
3
votes
3answers
551 views

Unabled to get rid of BIND 9 chroot

I had installed bind-chroot from yum not long ago, and saw that there were errors in the daily logs from named. Under further investigation, I noticed a directory loop. The named files resided under ...
2
votes
2answers
3k views

“No package wine available” and “No package fluxbox available”

I'm running "Centos 6 64-bit" on a Virtual Private Server (VPS) (i.e. on the cloud). When I issue this command: "yum install vnc-server wine xterm fluxbox vsftpd firefox vnstat" I get some results ...
1
vote
2answers
132 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 ...
2
votes
1answer
522 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
0answers
285 views

How to stop mail with PHP error messages to root?

Today, my Centos has a problem. When I type df -h in SSH I get: /dev/vzfs 61G 61G 0.3G 99% / The disk is full. I found that /var/spool/mail/root is nearly 53GB. tail /var/spool/mail/root -n 50 ...
2
votes
2answers
614 views

Huawei E303 internet key with Linux CentOS?

Are there any programmes, downloads, patches, drivers available to use a Huawei E303 Internet Key in CentOS?
0
votes
2answers
571 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 ...
0
votes
1answer
228 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 ...
2
votes
1answer
282 views

Apache mail sending flowchart / workflow?

I am currently trying to get my head into learning how Linux systems send mail, starting from Apache, to Sendmail and finally out the door. Specifically I'm using CentOS 5 which is using Sendmail, ...
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
157 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 ...
3
votes
1answer
419 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 ...
2
votes
1answer
283 views

SELinux - CentOSx86_64: User command limitation

SELinux - CentOSx86_64: User command limitation Is SELinux the right tool for this job? If so, what is the best way to do it? I would like to limit a particular user to only running some list of ...
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
1answer
191 views

What to do if Cacti monitering server goes down in Centos 6.3?

I have successfully deployed cacti with plugins thold, nectar, realtime. Currently I am monitering my amazon ec2 servers and internal servers in my organization. but I afraid what to do In following ...
1
vote
1answer
705 views

CentOS: Avoid that ALT-F4 switches to console

At least every Linux system that I worked with used the convention to switch to the non-graphical consoles by Ctrl-Alt-F1, Ctrl-Alt-F2 and so on. Recently, I installed CentOS 6.3 on a machine. The ...
2
votes
1answer
5k 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
506 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
123 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 ...
0
votes
0answers
135 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 ...
0
votes
2answers
301 views

yum is asking the kernel version which is already there

I have a server with centos 5.3 x86_64 on it. I am trying to install some asterisk modules on this server using yum. So yum asked me to upgrade my kernel to "kernel-2.6.18-308.11.1.el5" Then i have ...