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

learn more… | top users | synonyms (2)

2
votes
3answers
686 views

installing eric5 in CentOS 6.4

I am trying to install Eric Python IDE 5 in my CentOS 6.4. The problem here is even I have installed PyQT4 its again saying that module is missing. what I am supposed to do ? here is the terminal log ...
1
vote
1answer
1k views

Samba 4 gives “Failed to find a writeable DC for domain” on samba-tool domain join

I have a CentOS 6.4 box with SerNet's Samba 4.0.8 installed and no smb.conf file yet, as it should be. I want it to become an AD DC in my existing Windows domain, replicating from the existing ...
2
votes
2answers
5k views

When to use BIND vs internal DNS for Samba 4 backend

The docs say, "Bind as DNS backend is recommended, if you plan setup a complexer DNS setup, than the Samba 4 internal DNS currently made possible." What exactly is the threshold for "a complexer DNS ...
2
votes
1answer
585 views

vsftpd - how to allow user to delete files added by another user/group

I have 2 CentOS servers, A and B A, our live server, has an instance of Apache Tomcat running, that downloads files from an external FTP server. After it has downloaded these files, it also copies ...
2
votes
2answers
4k views

Use inotifywait to move file when it loads in dropbox folder

I'm trying to find a way to immediately move a file to another folder as soon as it appears in my dropbox on CentOS. I have scoured the internet for some clues but I can't get any further than the ...
1
vote
2answers
243 views

update failure in CentOS

I am using CentOS 6.4 .while I am doing package updating i am getting these errors. please help me to resolve those issues. file /usr/lib/libpostproc.so.52 conflicts between attempted installs of ...
0
votes
0answers
511 views

Issues mounting a NTFS share on Centos 6.3

We have a web server running on Centos 6.3 and we intend to mount a shared Windows drive (Windows 2008) so that we can do our daily backups on to the shared drive. This is how I am mounting the drive ...
1
vote
1answer
506 views

Installing CentOS and Kali as dual boot?

I'm going to install a machine with both CentOS and Kali. What are the steps to follow? Which should I install first CentOS or Kali? The issue I tried to run Kali as virtual machine however, it just ...
0
votes
1answer
1k views

Cannot create new service with xinetd in RHEL6

I've installed the Nagios on My RHEL 6.4(x64) machine. and i added one more module name called "NSCA" for some central monitoring solution.so the setup required add NSCA service detail under xinetd. ...
3
votes
2answers
473 views

Is it possible to share an external hard drive through server?

I was wondering if it is possible to share an external hard drive in CentOS server? Sorry if this question seems basic. I'm new to system administration.
0
votes
1answer
107 views

Unkillable process after connection lost to Samba share?

Using this manual I've mounted a Samba share. I'm copying files to it using a Python script. Everything is working fine until some problem with the network occurs. After that I get unkillable ...
0
votes
2answers
64 views

how to get data of ntfs to linux?

I have dual boot of Windows 2003 server and Cent-OS 6.X on my PC. I have files in windows environment, can I get those files using any utility to my Linux environment with out using any external ...
1
vote
2answers
3k views

binding ip address to hostname

I just registered a domain name and paid for hosting with CentOS and I found that I had to do the binding myself following the lengthy steps http://www.linux-sxs.org/internet_serving/bind9.html I was ...
1
vote
0answers
438 views

FFmpeg-php installation error on CentOS 6 x64 bit

I'm trying to install ffmpeg and ffmpeg-php. FFMpeg installed perfectly. When I try to install ffmpeg-php, I'm running ./configure and it's configured fine. However, when I run make it gives me the ...
5
votes
1answer
540 views

How can I make the eth1 up and always available for remote access, where eth0 will be used for host to host IPSec VPN?

I am running Amazon EC2 instance with Red hat enterprise linux, where I have two network interface. Now: eth0 is currently active having public ip where I am remotely logged in via SSH, to ...
2
votes
1answer
739 views

Can I use yum to manage a “package” installed from source

I am running CentOS 5.5. I need to upgrade some packages to newer versions, unfortunately they're not available. I am stuck building from source. Is there a simple way to use yum to manage ...
0
votes
1answer
2k views

Hostname not changing on Centos 6.4

We have centos machine. We have tried both the /etc/hosts and also /etc/sysconfig/network. Edited both files and service network restart. Yet the hostname is showing as localhost.localdomain. How to ...
0
votes
1answer
1k views

Difficulty installing PHP from source to CentOS 6.4

The problem: After installing PHP from source, functionality is not present - my phpinfo test page does not work. If I use yum to install from the repository functionality is restored. Why am I ...
0
votes
2answers
179 views

Intrusion system suggestion specifically for Centos 6.4 [closed]

We are trying to evaluate a good possible intrusion detection package specifically for centos 6.4. So far Ossec looks promising. Any other based on others experience.
0
votes
1answer
3k views

How to install lsblk on CentOS 5

I'm more used to Debian so yum and CentOS is a little new to me. Apparently, lsblk is not available on this system. I'm trying to install it via yum with no luck. I just get "nothing to do". I ...
1
vote
2answers
4k views

File uploads successfully however it is 0 bytes

I have an interesting problem where I have the ability to upload files, change permissions, download files using FTP on Cent OS. However, the interesting and annoying part is that the files are ...
2
votes
2answers
3k views

Running Open Vas via KALI Linux

We would like to run open-vas penentration test on a remote server and would no like to install it on the remote machine. Thus we have setup a Kali Linux Live machine for this purpose. So we first ...
0
votes
0answers
480 views

Restore a Linux backup on virtual machine

I have made a backup of my Linux OS in a bacukp.tgz, the OS is Centos 6.4. Now I want to create a new VMWare virtual machine from it. Do I first need to install Centos from CD or ISO, and then ...
1
vote
1answer
340 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
923 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
665 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
828 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
114 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
1k 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
107 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
410 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 ...
12
votes
4answers
62k 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
516 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
968 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
120 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
984 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
655 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
341 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
348 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
348 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
829 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 ...