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
1answer
370 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
321 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
1k 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
316 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
658 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
604 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
301 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
975 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
779 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
227 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
919 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
738 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
436 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
912 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
804 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. ...
3
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
514 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 ...
13
votes
3answers
29k 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
553 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
397 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 ...
1
vote
1answer
1k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
2
votes
2answers
2k views

CentOS: Sharing WLAN for internet access

I have installed CentOS 6.2 on HP Proliant server. I want to share my USB wireless internet (Tata photon +). I am able to start internet on my server, but when I enable my LAN, I don't have internet ...
5
votes
1answer
6k views

Encode with ffmpeg using avi to mp4

What command lines to use to convert from avi to mp4, but without destroying the framesize and making the file small as the original size or a little bit bigger, and same thing with mp4 to avi? ...
1
vote
0answers
297 views

ffmpeg: error while running with libx264

Main code: ffmpeg -i 2269801.avi -threads 0 -vcodec libx264 -b 900k -acodec libfaac -ar 44100 -ab 96k -ac 2 earthgirlsareeasy1.mp4 [libx264 @ 0x16cdde10]broken ffmpeg default settings detected ...
2
votes
1answer
148 views

dag.repo overwritten

I accidentally overwrote dag.repo by trying to add this [dag] name=DAG RPM Repository baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 does anyone have the ...
1
vote
0answers
206 views

i386 libtool conflicting with x86_64 libtool when installing Handbrake

I've been trying to install Handbrake on centos 5.8 with the help of some different guides. I'm running x86_64, and whenever I try to install packages necessary to build the binary, the arch ends up ...
1
vote
1answer
3k views

CentOS Apache virtual hosts sites-available type structure

I just set up LAMP on a new CentOS server. Previously when I installed LAMP on Ubuntu, I always needed to create a virtual host definition for each website I create in my /var/www directory. But on ...
-1
votes
2answers
421 views

Centos Crontab not responding

I was learning and experimenting with crontab today. The default editor was just too difficult for me to figure out which caused me to remove my crontab by running crontab -r. Now, when I run ...
4
votes
4answers
909 views

script for logging all the stats for a particular process

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 ...
1
vote
1answer
163 views

Centos apache virtual hosts definition

Please excuse me if my logic is flawed as I am really new to Centos. I know I can define multiple virtual hosts in my httpd.conf file. But what I would like is to define virtual hosts in individual ...
1
vote
2answers
4k views

Partitioning for Web Servers

I was curious what some general best practices are in relation to partitioning for a new Linux VM that will be used as a web server? Are there certain guides that should be consulted or followed? ...