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

What are “Allowable Drives” in Cent 6.4 Installation

Durring an install of CentOS 6.4, I see two locations where I can select "Allowable Drives" The first time I select "Allowable Drives" is to select which drives are added to my fstab. That makes ...
1
vote
2answers
969 views

Minimize PHP.CGI.Argument.Injection and further hardening of the Centos 6.4 web server

We have Centos 6.4 server with a physical firewall. We keep seeing quite an number of PHP.CGI.Argument.Injection is detected by the firewall. On the server itself we have done the basic apache ...
2
votes
3answers
4k views

CentOS use .pac file as proxy

I have to use a proxy with authentication to connect to the Internet. But I can't find any solution for this. I have modify my yum.conf, with a lot of possibilities: ...
0
votes
1answer
60 views

CentOS - acts abnormal every week and causes my whole setup to be down, how can I rollback / restore back to one week?

I have CentOS and Red hat enterprise Linux running, where I have now working Google Apps Engine and related other Python web applications. Every week or depending on any Google Apps Engine latest ...
1
vote
0answers
1k views

How can I enable fail2ban and mod_secure logs to appear in logwatch on centos 6.4?

I have logwatch working fine but I don't see the fail2ban and mod_secure logs appearing in my logwatch logs. How do I enable this? What do I need to do to logwatch's configuration file? Below is the ...
0
votes
1answer
685 views

SMTP/POP server only for internal e-mails on hosted domain

We have a domain for a web site and e-mail that's hosted off-site. (We don't have a reliable enough connection to host it ourselves.) Our shared host sometimes has SMTP problems, but never POP ...
1
vote
1answer
3k views

Mail Server on CentOS - Relay access denied

I have setup Postfix and Dovecot on my CentOS Server. Now I am using unsecure SMTP and POP/IMAP (ports 25 and 110/143). I can send mail locally to and from myself, but when I want to send email TO ...
0
votes
1answer
864 views

rsync “Permission denied” despite ownership

I just rsync'd a bunch of files, from a Windows box running cygwin sshd, to a CentOS 6.4 box. I ran rsync -e sshd... on CentOS to do this. Then I plugged in a USB drive on the CentOS box, formatted ...
2
votes
2answers
3k views

How do I find out what file Apache is serving when a port is hit?

I'm working on a server someone else set up. The server is CentOS 4.6 running Apache/2.0.59 (httpd). They have an update service setup on port 8443. I know it is working but I need to find out what ...
1
vote
1answer
116 views

VPN that gives me an internal IP and allows me to reach the internal network from outside

Using Red hat linux/CentOS. Where I have 1 Public IP, that is accessible remotely via SSH. Now that server needs to connect one VPN Server so that VPN server can give one IP to our Server. Now from ...
4
votes
1answer
9k views

How can I install latest VLC player in cent os 6.4?

I have installed cent os 6.4 in my laptop, I want to know the method of installing VLC in cent os 6.4, Is it necessary to download the vlc package and compile or can I use ''yum install vlc'' to ...
1
vote
1answer
2k views

ssh-agent: How to set it up so my CentOS server will only ask for passphrase once?

On my Macbook, my SSH private key is encrypted, but I never have to re-enter the passphrase even if I reboot the machine. The system must be unlocking it along with my user account. Is it possible ...
2
votes
0answers
109 views

Problems with USB goflex 2 TB

I am using CentOS 5.5 and have been using cpio to write backups to a 2 TB GoFlex USB drive. This drive worked great for over a year, but am now running into a problem and not sure what to do. When ...
1
vote
1answer
415 views

Understanding NTFS-3g Inode Use

I'm running a CentOS 4.6 final box with a second drive array (raid 1, the mount is /mnt/raid, as listed below in my nagios warning) that uses ntfs-3g as the file system. My nagios warnings just went ...
13
votes
4answers
66k views

How to create a FTP user with specific /dir/ access only on a Centos / linux installation

So I'm on a VPS - CentOS Linux installation. I have vsFTPd on the server. I currently have SFTP access to the server via my root user, but am now trying to create a new user with FTP access to a ...
1
vote
1answer
4k views

CentOS installation: difference between live CD and live DVD

While I am trying to download the CentOS Live CD for the installation I have gone through something very new to me: install from a Live DVD. Up to now I have just gone through Live CD but whats the ...
2
votes
2answers
3k views

How can I mimic `sudo su - user` in a script?

I need to deploy my app to server called lovelyplace by a Fabric script. Unfortunately, the server's setup is horrible, but I can do nothing about it - I have to live with it. There is one non-root ...
1
vote
1answer
536 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
999 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
124 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
1k 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
676 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
362 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
363 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
361 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
881 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
1k 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
1k 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
169 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
49 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
11k 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
549 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
1k 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
524 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
5k 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
2k 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
149 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
3k 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
407 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
294 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 ...
2
votes
3answers
12k 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
395 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
3k 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 ...
6
votes
1answer
15k 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
261 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 ...