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

learn more… | top users | synonyms (2)

3
votes
1answer
684 views

Can't find vgaswitcheroo directory in CentOS6

I've installed CentOS6 on my laptop, which has a built in VGA and a discrete (AMD) VGA. I used to switch AMD video off in other distro's (e.g. Fedora, Arch) using: $ echo OFF > ...
1
vote
3answers
1k views

rsync: samba vs ftp for backup

I need to back up ~0.5 TB of files (about 600,000 of them) from a Windows Server 2003 machine to a CentOS 6.4 machine across a 100MB network, and update them once a night. The backup script would be ...
1
vote
1answer
162 views

How can I create cron jobs in specific files?

I want to have a separate folders for cron jobs like: /mydata/cronjobs Now in that folder I want to have files like backup_server which will have the content like: 30 3 * * 1-5 ...
2
votes
2answers
61 views

How to paste same information into 2 different files?

I'd like to create two files in /etc/skel using a script which does many other things in addition to the creation of the files in /etc/skel. The part from script regarding /etc/skel looks like this: ...
1
vote
2answers
2k views

fixing cpan by resetting it

So I ran into a simple little problem. This is a somewhat rookie mistake. I wasn't connected to the internet and started cpan. It started to configure for the first time and then when I realised a ...
2
votes
3answers
830 views

How can I get kqemu or even just qemu to show up in virsh capabilities on CentOS 6.4?

I have a CentOS 6.4 box that I'm trying to set up a VM on to run WinXP. This box doesn't have VT, which may not be ideal, but I'll settle for less than ideal. Apparently I should be able to install ...
1
vote
1answer
565 views

virt-install error: install methods 'cannot be specified for container guests'

I was following the Dell RHEL VM guide but working on CentOS 6.4 i386/686, and got to the virt-install step. After correcting a typo, I went back and deleted the vm.xml file it was suggested I ...
0
votes
1answer
429 views

Connecting to KVM on a GUI-less CentOS 6.4 using MobaXterm

I followed the directions at this question: Installing KVM on CentOS 6.4 without GUI (yet) But I'm not sure which feature (there are many!) of MobaXterm I should use to connect to the KVM. On the ...
0
votes
1answer
433 views

Is setting CentOS user home-dir as NGINX server block root secure for vsftpd?

This is what I did: CentOS 6.2 server installed nginx installed vsftpd in vsftpd.conf I set chroot_local_user=YES created a new user "bleh" created directory /home/bleh/public_html/ in virtual.conf ...
0
votes
2answers
1k views

Yum Returns Errors when using

When I try to use Yum (e.g. # yum update) I get an error and it prevents me from using Yum. Any help on this would be really cool! This is the error that I get when I try to run a Yum command: # yum ...
1
vote
1answer
2k views

virt-install complains “error: no such option: --network-bridge:br0”

I was following the directions here to set up a VM in CentOS 6.4 i386/686. But I'm getting this error: $ sudo virt-install --network-bridge:br0 --name vm1 --ram=1024 --vcpus=1 --disk ...
2
votes
1answer
2k views

Installing KVM on CentOS 6.4 without GUI (yet)

I've installed CentOS 6.4 from the 'minimal' iso, so it doesn't come with a GUI. Will this question's answer allow me to install KVM, or do I need to install KDE or X-server or something first?
0
votes
2answers
202 views

How to manage all logs on VPS

I'm new to Linux but I'm about to start using a VPS to host my website. I've been reading about and it's been mentioned that I need to make sure that all of my logs are rotating and compressed, but I ...
1
vote
1answer
54 views

Samba test setup with only one physical box

I have CentOS 6.4 i386/686 installed on its own. I'd like to test out Samba 4 running as an AD DC. If I don't have another spare box to use in the lab, is it possible / does it make sense to install ...
2
votes
3answers
16k views

Cannot install PHP packages in CentOS

In CentOS 6.3 (Edit: updated to 6.4) I can't install any PHP (MySQL, and many other) packages. For example output of yum install php-devel is: Loaded plugins: fastestmirror Loading mirror speeds ...
1
vote
0answers
1k views

putty connection works but ssh command line refuses password authentication

I'm struggling quite a lot around ssh tunnels today. First, here is my configuration: My local machine, a PC with windows XP (ip=l.l.l.l) My remote server, with a CentOs 5 installed (ip=x.x.x.x) ...
4
votes
2answers
664 views

When running to a run level does it execute previous run levels?

If I tell my system to go to run level 3 does that mean that it first runs through run level 0, 1, 2, and then finally runs through run level 3? I thought the answer to this question was yes. But ...
4
votes
3answers
6k views

What is the recommended way of checking running services?

I'm often exposed to various GNU/Linux systems including CentOS, SLES and Debian. I want to know: what is the recommended method of checking all running services across these systems? I am aware of ...
0
votes
0answers
605 views

Linux won't install on RAID set: disks “contain BIOS RAID metadata, but [are] not part of any recognized BIOS RAID sets”

I plugged a Q-Tec 340R ATA-133 IDE RAID card, with two IDE connectors and support for up to four IDE drives, into an old P4 machine, attached two hard drives and managed to set up RAID0 and install ...
3
votes
2answers
7k views

CentOS - Issue with write permissions

I am running CentOS 6.4 and I have installed Wordpress on it. (along with LAMP) Now the problem is, that I cannot make any write changes to any files in the wordpress editor: eg. header.php, ...
2
votes
1answer
3k views

How to add entry to right click menu?

I have CentOS 6 and i need Terminal a lot. i want to add an entry "Open Terminal to the menu when i right click on a blank space in my desktop. How can I do this?
3
votes
1answer
168 views

Why my SSDs are in /dev/hdx instead of /dev/sdx on CentOS 5.9?

I have two SSDs Kingston SH103S3240G plugged on SATA ports of my Intel Server Board S3000AH. The SSDs apear like a PATA device (hdx instead of sdx) on my CentOS 5.9. I'm having problems related to ...
1
vote
1answer
4k views

Error while installing perl-DBD-mysql

When I want to install perl-DBD-MySQL I get this error: yum install perl-DBD-MySQL.x86_64 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package ...
0
votes
1answer
512 views

How to add FTP users to my CentOS VPS [closed]

I am running a CentOS VPS. Now I have installed an FTP server on the Server like this: yum install vsftpd And I have restarted the service as well. However, when I point my browser to: ...
0
votes
2answers
2k views

CentOS VPS - Pointing my Domain name to the VPS static IP

I am a Linux Newbie. I have a VPS with CentOS installed at my ISP and I am managing it remotely. Up to this point, I have had shared webhosting on a Linux machine at my ISP where I had CPANEL ...
1
vote
1answer
339 views

Can 32-bit and 64-bit CentOS 6.4 servers both be AD domain controllers for the same domain?

If I have two CentOS 6.4 servers, one i386 and the other x86_64, running Samba 4.0.7, will they replicate domain controller data with each other (and from a Windows Server 2003 AD DC) without any ...
4
votes
3answers
18k views

Run CentOS 6 from a USB flash drive

I have a 16 GB USB flash drive that I would like to install CentOS 6 on so that I can boot into it on other computers. The reason for this is because I am going to be upgrading to VPS hosting and I ...
5
votes
7answers
461 views

Are there additional ways to protect SSH connections besides firewall and RSA Keys?

Sometimes I don't have a static IP and need to administrate my web server remotely. I'm looking for any additional layers of protection I could add to make opening port 22 safer. Currently I have ...
1
vote
2answers
3k views

Installing Samba 4.0.7 on CentOS 6.4

CentOS 6.4's yum repo has only 4.0.0. I see some major security and stability patches since then. So I signed up for SerNet, and followed their directions to install their GPG key. Then I did: ...
1
vote
1answer
4k views

iptables prevents connection via ssh after port change despite ACCEPT rule

I have two machines hooked up to a router, one Windows with PuTTY, and one CentOS 6.4 with sshd and with the default SELinux still enabled. They can both ping each other successfully. I installed ...
11
votes
1answer
22k views

Setting up network from a “minimal” CentOS 6.4 install [duplicate]

Just installed CentOS 6.4 from a "minimal" ISO. On first boot, I discover that I cannot ping the outside world, yum update, or anything like that: connect: Network is unreachable. In fact, I can't ...
3
votes
2answers
2k views

llvm and clang on CentOS 5 without root permissions?

I am trying to have llvm and clang on a centOS 5 without root permissions. I tried to do it downloading llvm and clang src packages and trying the ususal configure, make and make install steps as ...
0
votes
3answers
344 views

Brand new to Linux - running a web server/database server, need to connect to my servers- how?

I am brand new to Linux. I have a database server and web server both running CentOS. My database server will host MySQL and my web server will host Apache. I am very familiar with Windows and ...
1
vote
1answer
801 views

CentOS vs RedHat on hp DL 380 G5

hp lists downloads for: » Red Hat Enterprise Linux 5 Server (x86) » Red Hat Enterprise Linux 5 Server (x86-64) » Red Hat Enterprise Linux 6 Server (x86) » Red Hat Enterprise Linux 6 Server ...
4
votes
1answer
4k views

Import EPEL GPG key in kickstart post-installation

I'm trying to use Oz to create a CentOS 6.4 virtual machine image and install some packages from EPEL. When it tries to install the epel-release package, I get the error: Public key for ...
1
vote
1answer
10k views

Possible to install PHP 5.2.17 on a new CentOS 6.4 system?

I'm trying to set up CentOS 6.4 (Linux 2.6.32-358.11.1.el6.x86_64) with a specific version of PHP (5.2.17) as it is required by an app I'm trying to install. I've downloaded the PHP version and ...
1
vote
1answer
2k views

Fixing botched CentOS 5.9 Grub step

I installed CentOS 5.9 x64 on a fresh server with hardware RAID level 5. In my ignorance, I told it not to install Grub. The next reboot, I got a blinking cursor. So, I went back to the installer ...
0
votes
1answer
264 views

Does CentOS 5.9 need Grub to run on hardware RAID?

I'm doing a fresh install of CentOS 5.9 x64 on a server with 8 disks in RAID5. At some point during the install, it gave me the option of configuring Grub, or not bothering. I chose not to bother, ...
1
vote
1answer
99 views

compiling ldc2 on a centOS 5 system with no root access

I git-cloned the latest version of ldc2, but I don't know how to compile it on my centOS 5 machine: git clone --recursive git://github.com/ldc-developers/ldc cd ldc git submodule update --init ...
0
votes
1answer
167 views

Mail server installation in Cent OS 6.2

I have a server with a dedicated IP. I didn't take any domain yet. CentOS 6.2 is installed on this server. I tried to install mail server in it and followed these links exactly. The Perfect Server ...
9
votes
0answers
4k views

OpenSSL Package Rebuild CentOS 6.4 [closed]

Rebuilding openssl with Elliptic Curves on CentOS 6.4 The strategy is: 1) Download the "official" CentOS source package (.src.rpm) 2) Modify the .spec file to enable elliptic curves. (change no-EC ...
0
votes
2answers
2k views

Centos CMake Does Not Install Using gcc 4.7.2

A similar problem has been reported here with no solution:https://www.centos.org/modules/newbb/print.php?form=1&topic_id=42696&forum=56&order=ASC&start=0 I've added and upgraded gcc ...
0
votes
1answer
53 views

Is there any way to deploy an virtual machine software via command line on centos3

I have a centos3 based legacy distribution with all the desktop environment removed. I have only access via command line. I am now asked to run a centos 6.1 distribution on a virtual machine on this ...
1
vote
2answers
4k views

cannot create symbolic link on CentOS 5.6 - File exists error

I am trying to setup a symbolic link on my CentOS 5.6 machine to point dev_crmpicco/ to ~/vhosts/dev/dev_crmpicco/web/ I am using the following command: [crmpicco@devel dev]$ ln -s ...
0
votes
1answer
470 views

403 http code appears when I go to a certain website

I wrote a PHP script to a particular site using a home computer for debugging. Script worked properly, when I tested it on a home computer. The script has stopped working when I deploy the script on ...
2
votes
2answers
2k views

CentOS 6.4 Mail Server

I'm trying to install a mail server on my root server. I'm relative new to Linux but not a absolute beginner. There are many many how to's on the internet I tried to get my own mail server with ...
0
votes
3answers
2k views

Linux mail client that can trigger a PHP script to parse email received

Is there any simple text-based mail client that I could use that could trigger a PHP script to parse mails received from the users? I have a PHP application that sends email out to users and it would ...
1
vote
2answers
124 views

Possible to get RAID1, by simply adding HDD? [duplicate]

I have server and there is one 1TB drive in it and I guess it's not running any raid, I'm thinking if it's possible to add another 1TB HDD and setup RAID1 somehow?(software raid1) Server is running ...
0
votes
1answer
423 views

Network goes down when LAN cable plugged in

As per subject, I have a Zimbra mail server on Centos 5.5. and the problem is there that when I plug the LAN cable in to the server port all Internet and network services go down. This means the ...
1
vote
1answer
353 views

Access Remote files through http path

I am using lamp on CentOS 6. Application code is written in CakePHP. Application files path is "/var/www/html/my_app". Another file server is mounted with an Application Server. Mounted path on ...