Tagged Questions

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
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 ...
4
votes
2answers
4k views

How do I configure which ethernet connections are active on boot?

I have an unmanaged dedicated server that I administer, running CentOS. Recently when I reboot the server, I am unable to use SSH. Both times this has happened the server host has determined the issue ...
1
vote
1answer
997 views

Setting up SMTP-AUTH & TLS in Postfix

So I have been in the process of installing a Postfix Server on my CentOS 6.2 Virtual Private Server. I have been following this tutorial: ...
6
votes
1answer
2k views

Can Yum express a preference for x86_64 over i386 packages?

I run a 64-bit version of CentOS5. At the moment, when I run Yum updates or installs, unless Yum is purged of i386 packages prior, it will install i386 packages when x86_64 are available. Is it ...
1
vote
4answers
213 views

How can I tell if a package is safe to update on CentOS?

I have a simple two-node CentOS cluster based on DRBD, Corosync and KVM. When I try to update its packages via yum it lists something like Updating: clusterlib x86_64 ...
4
votes
1answer
296 views

Mail Server Spoofing Prevention

I was in the mail logs yesterday when i noticed the following messages.. only there were more like 10,000 odd hits... Jun 21 10:47:10 exi-svr-2 dovecot: pop3-login: Disconnected: user=, method=PLAIN, ...
1
vote
1answer
985 views

Newly installed CentOS 6 shows squares instead of letters

I have a VPS which I've just reinstalled an OS on. The OS is CentOS 6 x32. I've exactly done the following: yum install wget nano firefox yum update yum groupinstall Desktop useradd wajed ...
1
vote
2answers
119 views

SSNiper SSN Scanner support

I work for a major university and we have a policy that requires annual scanning of all computers for social security numbers (SSNs). I started using a utility called SSNiper that was created at UIUC. ...
1
vote
2answers
416 views

centos primary/secondary nameserver setup

I am new to Linux/unix and would like to know how to setup my (ve) server to host my website. The (ve) server will have centos 5.5 installed with a LAMP stack. I am specifically looking for a way to ...
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 ...
0
votes
1answer
3k views

IPtables string match

I'm trying to write iptables string match rule To block http://domain.com:8888 and https://domain.com:8888 when it matches the supplied string in the rule. And another rule to redirect the ports also ...
1
vote
1answer
384 views

Bring up alias interface on boot, when the main interface is down

In my CentOS 6.2 server, I have the following configuration for networking: The NetworkManager package wasn't installed on eth0 I have a DHCP configuration on eth0:1 alias interface I have a static ...
0
votes
0answers
324 views

Linux webserver reboot issue

I've webserver, it works fine when there is no load into it. when I've load onto it and try to restart httpd server gets reboot itself or sometimes it automatically get reboot It is Xen HVM with OS ...
2
votes
1answer
9k views

Error, some other host already uses address IPADDRESS

I have the following scenario on my Centos 6.2 server: eth0 : has IP 192.168.50.10 eth0:5 : has IP 10.0.0.1 When I boot the system, everything is up and working. When I run: ifdown eth0:5 and after ...
4
votes
3answers
2k views

Recursively list files with file names, folder names and permission in CentOS

Is there anyway I can list files by typing a command in the shell which lists all the file names, folder names and their permissions in CentOS?
1
vote
2answers
319 views

Interface and alias up at the same time

I have on my eth0 NIC card the following IP alias (I'm running CentOS 6.2): eth0 - IP: 192.168.50.1 eth0:5 - IP: 10.0.0.1 Now, when I boot the server, both interfaces come up and respond, but if I ...
4
votes
1answer
674 views

How to disable floppy seek at linux startup?

It is annoying enough that my BIOS has no switch that allows me to disable the floppy-seek at boot. But when I boot CentOS 5 the floppy seeks again - I suspect hald to do this. How can I disable that ...
3
votes
1answer
1k views

dual booting centos5.5 and fedora

I already have CentOS 5.5 on my system whose hard disk is ~500GB. I have tried to dual boot with Fedora 16. while installing fedora 16 I have created a ~250GB and ~4GB partitions for "/" and swap. The ...
5
votes
4answers
2k views

How to get better desktop performance in linux?

Normally I do not care much about desktop - performance, since my servers do not run any gui. But at home I run some older hardware (Pentium) which gets sometimes very sluggish (mouse-movements in ...
4
votes
2answers
2k views

/etc/crontab permissions

The /etc/crontab file has the permissions: -rw-r--r-- I understand that this file is for system cron jobs and other users should not have permission to modify it. The current permissions allows all ...
3
votes
2answers
4k views

Unable to install the php-posix package on CentOS 5.6

I have the following PHP packages installed on my CentOS 5.6 host and I am trying to install php-posix. When I run yum install php-posix I receive an error saying that php53-common conflicts with ...
3
votes
2answers
2k views

Why does CentOS not have an NTP drift file?

It seems that CentOS does not have a ntp.drift or similar file. In /etc/ntp.conf, it says that you can use /var/lib/ntp/drift as a drift file but this file does not exist. Does CentOS does not ...
0
votes
3answers
138 views

changing name of some files in bulk [duplicate]

Possible Duplicate: Rename all the files within a folder with prefix “Unix_” how can I rename multiple files by inserting a character? Is there a way to make a change in name of some ...
3
votes
1answer
617 views

CentOS network connection breaks every 5 min

I installed CentOS 6.2 about a month ago and it worked fine. Two days ago I saw that the internet connection is broken, so I reconfigured it. I was able to use it but after a few minutes it broke ...
2
votes
1answer
305 views

CentOS has not DefaultDepth

In CentOS there is no DefaultDepth line in /etc/X11/xorg.conf file to set the default color depth (although you can add this line to it). How does X determines which color depth to use?
3
votes
1answer
4k views

My VirtualBox Virtual Machine doesn't detect my USB attached disk

I'm using the latest version of both Virtual Box (4.1) and CentOS (6.2). I would like my Western Digital USB drive to be recognized by my VirtualBox guest operating system. My host system, Windows ...
1
vote
1answer
998 views

Why can't I run mysql?

I'm trying to import a database from Wamp to Xampp. I run Lampp first, then go to /opt/lampp/bin and run: mysql (or mysqladmin ?) -u root -h localhost but I get: mysql: command line not found ...
2
votes
1answer
1k views

VMware Tools repo

I maintain a local repository for all the installation packages. I'm attempting to use reposync (the first time, I generally use rsync to mirror what I need) and I'm getting some odd behavior. Any ...
5
votes
2answers
821 views

Is it possible to create a directory and file inside /proc/sys?

I am running CentOS 6.2 and I need to create a subdirectory named "crypto" inside /proc/sys. Inside /proc/sys/crypto, I need to create a file named test which contains the value "1". I have tried ...
2
votes
2answers
3k views

What is a reliable way to automate FTP upload of 'the newest file in directory X'?

I have this folder full of files. Once per day, I want the newest of the files to be FTPed automatically to a file server.
2
votes
1answer
236 views

ipsec auto --status fails in cronjob

I have a server monitoring script which, among other things, checks the state of an IPSec tunnel using ipsec auto --status It works like a charm when run from the console (as root) but as soon as I ...
0
votes
1answer
931 views

Install Mysql 5.6.4 or greater on web server with on CentOS / openSUSE with Plesk 10

I need to install MySQL 5.6.4 or greater on my web server because I'm using the full text innodb feature. I'm trying to move my local installation (WAMP server) to my dedicated server and I'm not able ...
6
votes
3answers
766 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 ...
1
vote
1answer
3k views

How do I install drivers for AR9271 on Centos 6?

I'm trying to get a USB wireless card that runs off of the AR9271 chipset to work with Centos 6.2. I read this description for compat-wireless and wanted to use a package manager (i.e. yum) because I ...
2
votes
1answer
447 views

Setting up a user for sftp acces into a sub directory of another users home directory

An interesting problem. The broader goal is to setup a directory that one of our clients can sftp into (via ssh keys, not user/pass combination) and upload files. This directory will need to be ...
3
votes
1answer
9k views

gparted live CD can't resize a partition?

I recently ran out of space on a VirtualBox VM (CentOS guest) managed by Vagrant. It was using a .vmdk image, so I couldn't dynamically resize it. Following these instructions, I cloned the old image ...
4
votes
2answers
14k views

How to solve “building the main Guest Additions module Failed”

I tried to install the VirtualBox Guest Additions module in a VM guest running CentOS but I get this error message when everything else was okay: building the main Guest Additions module Failed ...
0
votes
2answers
942 views

Install CentOS from hard drive - kernel panic

I want to dual-boot CentOS and Windows XP. The computer has two partitions (C: and D:) and I want to install CentOS 6.2 on the D: drive. So I downloaded the i386 ISO package, used UNetbootin to ...
3
votes
1answer
7k views

How to configure CentOS 6 as a Proxy Server

I have installed new server with CentOS 6. How do I configure it to become a Proxy Server?
15
votes
7answers
5k views

Is there a difference of stability between Linux distros?

I've using Debian since 2010 for some home purposes and it has been stable. Is Debian still a good option if I need a server for heavy network, cpu, disk and memory usage? Last month I listened to ...
10
votes
2answers
2k views

Should you run automatic updates

I'm running production Centos web servers. I want to know what is best practice for running updates. Should I automate this with yum-cron or yum-updatesd? Or is there a danger of updates breaking ...
0
votes
2answers
3k views

Netboot - How to set a static IP

I've modified a CentOS net install image to load my kickstart file over http. This works great when running on a network that has a DHCP server. Obviously, without DHCP this fails because the ...
2
votes
1answer
815 views

Installing centos server in a virtual machine

I have little Unix/Linux experience, so sorry if this sounds stupid. What I want to do is simple: I want to learn CentOs so that I can manage my own web server. I did so by buying a dedicated and ...
7
votes
2answers
5k 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. ...
4
votes
2answers
5k views

Where is the system profile that gets sourced at login on CentOS 5.8?

In CentOS release 5.8 (Final), where is the bash system profile? Is it /etc/profile ? I've added the following to source my ~/.bashrc file but haven't had any luck as it fails. I know it fails ...
9
votes
1answer
520 views

MySQL gets killed by OS every 25 days or so

About 4 months ago we migrated from MS SQL Server to MySQL 5.5. Since then we have been experiencing an issue once approximately ever 25 days since where CentOS runs out of memory and as a result it ...
15
votes
4answers
32k views

Why the default eth0 interface is down by default on CentOS?

I am already a little bit familiar with Linux distros like Debian or Ubuntu (yeah, very similar) but I wanted to try Red Hat based - CentOS 6.2 . I have installed it on my Windows 7 host in virtualBox ...
3
votes
3answers
585 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 ...
1
vote
3answers
404 views

Is there a way to find out which webpages are being accessed by clients on a UNIX webserver?

My web server is running CentOS and every time a certain page is accessed on my forum, httpd locks up and I can never seem to pinpoint the exact file. Is there any way to view the pages that ...
3
votes
1answer
5k views

No networking for Centos under VirtualBox

Running an Ubuntu desktop server. I installed virtual box, then installed CentOS as a virtual machine. Centos is not starting the eth0 network adaptor. When I start it manually, I cannot connect ...