CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

0
votes
1answer
384 views

On my centos linux box the ip address and default gateway are reset each night?

Hi I've tried quite a few things to do with config files like from here How to make my default gateway permanent in CentOS? So that after a reboot it does not get lost and here ...
1
vote
1answer
2k views

Added httpd to group but webserver still cannot access files - CentOS

I want to allow web access to files without allowing other system users access to the files for the website. I have owner:group as bob:bob Then I did: usermod -a -G bob httpd To add http to the ...
1
vote
1answer
269 views

RAID5 + Samba Woes

I'm in the process of setting up a brand-new CentOS 6.2 server. The boot, swap and root partitions live on a 320GB SSD, and my archive files are on a 9,000 GB RAID array. Problem is that if I setup ...
2
votes
2answers
453 views

More Linux permissions questions

I've read countless articles on the topic and searched through every question and answer I could find without any luck. I'm slowly going mad so I'm turning to you guys since I know the answer to my ...
0
votes
1answer
2k views

ZIP support not found: SugarCRM needs ZIP support in order to process compressed files

Ok, trying to install SugarCRM and I seem to be failing horribly. Everything is uploaded. Folders have write privlages (777 currently for the moment) PHP Memory limit is at 256M extension:php_zip.dll ...
1
vote
1answer
371 views

Access files from Windows installation in CentOS

I have installed CentOS on my Windows computer. How can I access my Windows files from CentOS?
3
votes
2answers
6k views

Root Can't Delete Folder It Owns

Platform: CentOS 6.2 Shell: tcsh .............................................................................................................. EDIT 2 Brian Swift has pointed out a workable solution. ...
0
votes
1answer
2k views

How to make BusyBox running where my backend operating system can be xyz?

I am trying to setup BusyBox on top of ArchLinux, Fedora or Ubuntu. So that when i telnet i can get something like this following: But how do i get started? Simply install Busybox on top of my ...
4
votes
2answers
860 views

How do I install the latest gcc 4.7.0 on centos 6.2?

[root@localhost dyliu]# yum list gcc Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: centos.mirrors.tds.net * extras: ...
0
votes
1answer
2k views

IPv6 source address selection and routing in Linux

I'm in the process of setting an ipv6 on my test network. I work with a /56 network and CentOS 6.2. I have an interface with 2 IPv6 addresses on 2 different networks : 2b0 1:abcd:4001:c00::30/56 ...
2
votes
1answer
558 views

How to configure network profiles in Centos?

I'm trying to setup two network profiles in Centos. One for at home, one for at work. The home profile has a fixed IP address, fixed gateway and DNS server addresses. The work profile depends on DHCP. ...
0
votes
1answer
103 views

Setting up CentOS for 3 or more network connections

I am setting up a cluster for my company, and I want to find out whether is it possible to have three or more network connections active on a machine running CentOS 6. I have eth0 for the internal ...
0
votes
2answers
468 views

pygtk2 on centos 5x with python 2.7?

I'm trying to install pygtk2 on centos 5.8 for use with python 2.7 installing yum install pygtk* works only for the default python 2.4. I tried compiling pygtk2 from source but it does not configure ...
0
votes
1answer
370 views

Installing CentOS on VMware vCenter VM from remote console

I have a VM on my school's VMware vSphere server and I need to install CentOS on it, the disc is already in it but I can't install it 'cause the console doesn't work without VMware Tools (I can't ...
1
vote
1answer
2k views

Wrong RPMforge Installed

I am running CentOS 6.2 and I installed RPMforge EL5 by mistake and I need to uninstall it and install RPMforge for EL6. How can I do that?
1
vote
3answers
9k views

How to make a CentOS linux server for Active Directory

I have a linux server at my home with CentOS and I would like to make it a Domain Controller for Active Directory. Is there a way to make it? I don't wanna use Windows Server 2008 R2 'cause it's ...
1
vote
1answer
357 views

Gvim --remote to open file and focus on the newly opened file

I got a fairly old gvim (6.3) on CentOS 4.5. There's no --remote-tab-silent option yet. Instead, I use --remote to open file in same gvim instance. However, there's a problem that all files are ...
0
votes
1answer
619 views

Automate *.run file install?

Using: CentOS 6.2 BASH Script I regularly install CUDA (a GPU programming API) on machines in my work cluster, and have to reupgrade three *.run installers whenever I do an upgrade version-wise. The ...
0
votes
1answer
1k views

Using rvm within a bash script on CentOS 6.2

I'm trying to write a script that does goes through all the steps for installing and setting up a graylog2 server and web interface on CentOS 6.2. Here is the section that I'm having trouble with: ...
2
votes
2answers
5k views

How to use command “find” to list files with specific filename length?

In my folder I got files like /data/filename.log /data/filename.log.1 /data/filename.log.2 /data/filenamefilenamefilename.log /data/filenamefilenamefilename.log.2 I wish to use "find" command to ...
2
votes
2answers
2k views

Restore default permissions to “/var” to CentOS installation

So I accidentally ran chmod -R 0777 /var and I need to revert that (let alone allow chmod the correct ssh directory so I can log back into it). I'm feeling screwed, can anyone help? The sooner the ...
0
votes
1answer
6k views

CentOS 5.8 Server, manual install PHP 5.2.17

I would like manually install PHP 5.2.17. I manage to install httpd and mysql. But when I want to PHP 5.2.17, I could not found a proper guide. These the step I had done with a fresh installation of ...
1
vote
1answer
2k views

CentOS 5.8 server, installed Web Server vs yum install httpd

I would like to know, what is the different between, the build-in CentOS server web server vs I install manual with yum install httpd I am new in CentOS. I just installed my CentOS 5.8 Server with ...
0
votes
2answers
106 views

Script that deletes a directory but doesn't delete marker files on linux

I got a script running and its cool and all. Any idea how to make this script run under just 1 level of subdirectory? #! /bin/bash #This will delete the sub-directories of a specific directory when ...
0
votes
0answers
333 views

NFS Mount Size change

I have created a nfs mount on my centos server that is 50GB in size, is it possible to adjust the size of the mount to something like 100GB or more? If so how would i go about that?
0
votes
1answer
179 views

Xen - virt-install fails

I am trying to setup a Xen DomU using virt-install --prompt After answering the usual questions the installation image is being downloaded from the internet. Then after 'Creating storage file' and ...
1
vote
0answers
214 views

Send local IP from VPN instead of remote IP

I'm trying to setup a server with L2TP and Apache. Some folders in the Apache config will only be accessible to those connected to the VPN. I do know that I can use the allow and deny rules with the ...
0
votes
0answers
1k views

ifcfg-eth* on CentOS 6.x, but for IPv6 only?

Could someone kindly provide a skeleton ifcfg-eth0:[X] for creating an alias with a IPv6 address and no IPv4 address? Or, alternatively, what's the IPv6 equivalent of this: in ...
0
votes
1answer
366 views

performance monitoring

I want to monitor CPU usage, disk read/write usage for a particular process, say ./myprocess. To monitor CPU top command seems to be a nice option and for read and write iotop seems to be a handy ...
2
votes
0answers
515 views

Virtual Box Pen Test Lab Set Up

So i'm trying to set up a pen test lab in virtual box on my windows 7 host. I have 3 guest OS's installed: 1.) BackTrack5 2.) Centos 5 Server/Snort (My Snortbox) 3.) Win XP (Unpatched) I have 3 ...
0
votes
0answers
40 views

Virtual Box fails my OSes :( [duplicate]

Possible Duplicate: Linux Mint VM in VirtualBox freezes with DISKFULL error I have a little problem with Virtual Box latest version in which i have installed Mint (also latest ...
6
votes
1answer
8k views

what is run-parts in /etc/crontab, and how do I use it

I have been digging through my Linux system. To try and understand how it all works In the /etc/crontab file. I see the following # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * ...
2
votes
2answers
711 views

Is it possible to change the mount point used for external USB devices from /media to something else under GNOME?

I'm using CentOS 5.x and am trying to change the mount point that get's used when I insert a USB thumb drive or external USB drive. They're showing up under /media/KINGSTON for example. I'd like to ...
0
votes
1answer
2k views

Unable to send email using Postfix - Connection Refused

I've set up Postfix on my server along with Squirrel Mail. However, every time I go to send an email to my Gmail account from the server the email never arrives. I get no bounce back emails, I get no ...
0
votes
2answers
663 views

Connect a CentOS 6 server to the internet without a router

I have a CentOS 6 web server. My ISP gave me one public IP/mask/gateway/DNS. I entered these parameters on my Windows laptop where I get internet. I can ping outside and etc. Then I entered these ...
2
votes
1answer
754 views

“FATAL: could not read from the boot medium! system halted”

I've a problem with Virtual Box, I cannot access to a CentOS virtual machine. I'm using a openfiler local server connected to my network.In addition, I can access to all the other LUN disks that I've ...
1
vote
2answers
145 views

How to use *nix find command to search for specific files with regular expression

In my centOS there is a lot of log files in my folder /log /log/log.20120308 /log/log.20120308.1 /log/log.20120308.2 /log/log.20120308.3 /log/log.20120308.error /log/log.20120308.error.1 Apparently ...
0
votes
1answer
158 views

A backup user with specific permissions

I need to create a user on my CentOS box which is only allowed to run a couple of commands: lvcreate lvremove mount kpartx rdiff-backup And access to all files in /dev/ and /mnt. How do I set this ...
1
vote
2answers
1k views

Can't install GNU readline on CentOS 5 (Amazon EC2)

I'm attempting to install GNU readline on a CentOS 5 so that I can use it with some Python 2.7 modules, specifically the Cmd module. I've installed Python2.7 as a standalone library per these ...
3
votes
2answers
4k views

NIS failing on CentOS 6

Solved: See bottom. tl;dr: enable network manager. I'm trying to set up a CentOS6 system to login using NIS. I've set up the NISDOMAIN and for the files like passwd to be on the NIS server in ...
2
votes
3answers
11k views

Unable to remove PHP packages from CentOS, but also unable to update PHP package to PHP 5.3

I have an interesting, albeit infuriating problem with CentOS. I'm trying to configure this server to run a Symfony2 website I've built. The website doesn't work, and I've pinned down the problem to ...
3
votes
1answer
11k views

Can't ping ip's or hostnames on fresh CentOS 6.2 install

I just installed CentOS 6.2 on a box using ipmi and have tried setting up the network with no luck. I've got a 66.x.x.56/29 allocation of ip addresses on vlan (66.x.x.56 to 66.x.x.63), so I have set ...
0
votes
2answers
433 views

sudo in CentOS 6.1 does not preserve command aliases as sudo elsewhere does?

On a stock CentOS 6.1 installation, if I start in my user shell (tcsh) with all my usual command aliases and do what I normally do (in other versions of Linux, and Mac OS X) to get a root shell, ...
-1
votes
1answer
668 views

Keeping users inside their home directory

I have a fresh install of CentOS and I'm currently setting up users. Their home directories reside within /home/username/ and I want to make it so that they cannot ls or cd outside that area when ...
0
votes
1answer
346 views

What options exist for setting up a subnet limited proxy server for all network traffic to a remote client?

I have a linux firewall / gateway (SME Server) and need to configure it to act as a proxy for a certain ip subnet and I'm not sure what server / daemons would work presently to meet my needs. As ...
0
votes
3answers
3k views

How can I install git on a CentOS system without an internet connection?

I need to install git on a CentOS 5.6 64-bit system, but I do not have an internet connection, so I can't simply download it through yum. Also, I do not have gcc installed, so I cannot build it from ...
2
votes
1answer
16k views

Unable to access the internet from my VirtualBox CentOS VM via wireless connection

I have a VirtualBox CentOS VM setup on my Windows 7 machine. I can ping my router, however I am unable to access the outside world. In Windows I have three network connections setup: Wireless ...
0
votes
1answer
289 views

Xorg Different Height Monitors

I am trying to set up a dual monitor desktop, with a 19" LED monitor, and a 15" CRT monitor, and have done so, using nvidia-settings to write to my xorg.conf. However, the problem I am now dealing ...
1
vote
0answers
2k views

Microsoft TTF fonts (like Tahoma) refuse to display on Centos 6.2

I've followed the instructions here: http://blog.whatgeek.com.pt/2011/11/install-core-fonts-centos-6/ All of the msttcorefonts fonts are extracted into the /usr/share/fonts/msttcorefonts directory ...
0
votes
4answers
765 views

Blacklisting pcspkr module doesn't work on CentOS 5.7

I hate the terminal beep and I want it removed completely. I added this line to my /etc/modproble.d/blacklist.conf file: blacklist pcspkr However when I reboot the lsmod output shows it loaded: ...