CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

1
vote
1answer
1k views

Why does Dropbox use so much memory on Linux?

pmap shows that Dropbox uses nearly 200MB of memory (on Linux). When I run Dropbox on Windows, it only uses about 30MB of memory. What is the reason for that? Also, why are there so many [ anon ] ...
0
votes
1answer
1k views

Linux: prevent SFTP users from deleting FTP'd files even straight after they upload them?

I've set up an sftpusers group on my CentOS box and am using the internal SFTP service to allow users to upload files to a chroot-configured directory. The owner of the directory is root, and its ...
1
vote
1answer
40 views

Why is which not matching the effect I get?

I cannot explain the following behavior: [centos4x64 ~] /usr/local/bin/gmake --version GNU Make 3.82 Built for x86_64-unknown-linux-gnu Copyright (C) 2010 Free Software Foundation, Inc. License ...
0
votes
0answers
470 views

Login as windows domain user in linux through putty

How can I configure CentOS 6 server to allow login through putty using Windows domain login? I have root access to CentOS but I am not Windows domain administrator. My Windows desktop where I can ...
2
votes
1answer
340 views

What other ports should I block to maximize server security? PS using IPTABLES

I have blocked ports 80, 9001, 9080. What other ports should be blocked to maximize security? PS: It is a asterisk server / PBX Sorry: New Systems Admin here :) Thanks!
2
votes
1answer
342 views

Copy time-machine backup to Linux?

I am trying to copy my time-machine backup from an external USB drive to a linux powered netatalk server. For this, I removed the SATA hard drive from its enclosure and connected it directly to the ...
2
votes
0answers
791 views

Why is ssh login occasionally failing?

I'm using ssh to execute commands on another host and have noticed that occasionally the connection is closed before it ever connects. Both hosts are CentOS release 6.3 running OpenSSH_5.3p1, OpenSSL ...
0
votes
2answers
661 views

blocking port 80 via iptables

I'm having problems with iptables. I am trying to block port 80 from the outside, basically plan is we just need to Tunnel via SSH then we can get on the GUI etc. on a server I have this in my rule: ...
0
votes
1answer
446 views

CentOS : Dependency Resolution Errors

I had been using Ubuntu for quite sometime and recently installed CentOS and getting the below error when I update using yum. How do I resolve such errors? Dependency Resolution Errors: Package: ...
2
votes
2answers
2k views

How to find which package certain command belongs to on CentOS?

For example I can easily find locate command belongs to mlocate.i386 package. yum search locate mlocate.i386 : An utility for finding files by name [mirror@home /]$ rpm -qa | grep locate ...
1
vote
1answer
6k views

How can I install GNOME 3 on CentOS 6.3?

Would be possible to install GNOME 3 (instead of 2.28 that ships with CentOS) on a minimal CentOS 6.3 install? Is there any repository that provides packages for the new version?
0
votes
1answer
466 views

Time not set properly when dual booting CentOS and Ubuntu

I have setup my Notebook to dual boot for CentOS 6.3 (64-bit) and Ubuntu 12.04 (32-bit) and both have been configured for ntp (network time protocol) with proper time zones (India). But they are ...
0
votes
1answer
1k views

linux shell installing packages automaticc

I want to install packages automatically by running a script I can write yum install php but I want it to install another package once installation of the php package is completed Is there any ...
1
vote
1answer
500 views

Equivalent of apt-cacher-ng for CentOS

What is the equivalent of apt-cacher-ng for CentOS 6.3 64-bit? I did look around, but didn't find anything similar. I am installing some big packages on CentOS and want to store/share the packages ...
1
vote
2answers
878 views

Trouble logging in as user after changing password

I'm having trouble logging in with a newly-created password on my CentOS system. I recently installed the continuous integration server Jenkins on CentOS via yum, which created a "jenkins" user. ...
0
votes
2answers
771 views

Filezilla not showing directory listing?

I had downloaded iptables from server to my windows desktop .I edited some lines for opening port (2195) .after download i added some line for enabling port using this link ...
2
votes
1answer
4k views

How to install numpy on CentOS 6.2 64-bit

I've been trying to install numpy with yum (instructions here), and the tar.gz file (instructions here), but with no positive result. yum gives me this output: $ sudo yum install python-numpy ...
0
votes
1answer
281 views

Are there any security problems within my CentOS system? [closed]

I have tried to use Nmap to test the ports of my server:) The details are as follows. Are there some vulnerable ports on my server? If yes, why is it vulnerable, and what should I do in order to ...
5
votes
2answers
254 views

How to delete group of folders based on name and date

I have a folder structure like this. folders test1 test2.1 test49.85 test4.95.89 sample support util These are all folders. I need to delete all folders that begin with ...
0
votes
1answer
121 views

How to know which package yum is going to download or install now?

Now I am installing a couple of packages using yum on centos, what make me confused is that the system seems to be block at some point, in fact I know yum is downloading some packages from repo, but I ...
0
votes
1answer
237 views

What tool does yum use to download rpm packages from remote server?

My system is centos, and now I am installing packages using yum command. Updating for dependencies: apr-util i386 1.3.9-1.el5 lxcenter-updates 203 k gcc-gfortran ...
3
votes
1answer
282 views

ls -l shows file size 0 of files in /proc, but cat produces content

# cat /proc/version Linux version 2.6.18-308.8.2.el5.028stab101.1 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Sun Jun 24 20:25:35 MSD 2012 # ls -l /proc/version ...
0
votes
1answer
109 views

How do I automate removing a symlink and adding a new one

Basically I want to create a quick set of commands so that I can type into the terminal and have it do this: cd /path/to/folder/of/symlink sudo rm -f symlink sudo ln -s /new/path/of/symlink cd ...
0
votes
1answer
366 views

How to add CP-1252 to CentOS

We are processing files that our clients generated on their local Windows machines which use the CP-1252 character set. Occasionally, while processing one of these files in our backend (running on ...
5
votes
4answers
16k views

How to transfer files from Host OS to guest OS running on VirtualBox?

I am trying to transfer files from my Host OS (Windows 7) to Guest OS (CentOS) running on VirtualBox. I tried using pscp but it gives the error: More than one remote source not supported I tried ...
1
vote
1answer
3k views

How to install, mysql-workbench in CentOS6?

well. How to install mysql-workbench in CentOS6 i686? first, su -c 'yum install mysql-workbench-gpl-5.2.42-1fc15.i686.rpm' but --> Finished Dependency Resolution Error: Package: ...
2
votes
1answer
448 views

How to convert ,doc file to .pdf in CentOS?

I have a set of files in .doc format, that need to be converted to .pdf format. I am using CentOS 5.6. I have referred this link in which same thing is done for Ubutu but i am using CnetOS and i ...
2
votes
2answers
2k views

Running .sh file CentOS6

I have a script for installing a program. https://github.com/mkonecny/airtime_centos/blob/master/centos.sh When I try to run it I get: 64-bit installer only LANG=en_US.UTF-8 install/uninstall ...
2
votes
1answer
101 views

Limit a user to VI and Tail

I'm running a server on centos 6.0 and I'm looking for a way to limit ssh access of one user to only tail and vi and only in their home folder. I found some guidelines to the home folder part but ...
0
votes
1answer
323 views

Why maldet shortcut command doesn't work but full path does?

As you can see in the screenshot, shortcut doesn't work but full path does. Any ideas how to fix it? I am logged-in as normal user then su to root, since direct root is disabled btw.
1
vote
0answers
371 views

How to disable Opportunity locking on Red Hat 5/CentOS 5?

Syslog returns the error "kernel: CIFS VFS: Write2 ret -13, wrote 0" when I'm using the software under cifs fylesystem, managed by NAS server. CIFS Version is 1.60RH. I saw that the options ...
0
votes
2answers
2k views

Two OS in same computer, how to set boot priority for windows 7?

I have Centos and Win 7 installed in same PC. How Can I change setting in CentOS to show Windows 7 in top of the list in boot menu ?
0
votes
1answer
152 views

Centos: php-devel trashed mysql

Good morning. I'm on a CentOS machine, did a yum install php-devel Flat out saying this MySQL Daemon failed to start. Starting mysqld: [FAILED] which ...
3
votes
2answers
1k views

After doubling virtual disk size in VirtualBox, fdisk -l still shows old disk size in guest CentOS

I'm running CentOS 6.1 as a guest in VirtualBox 4.1.18 on a Mac OS X (Snow Leopard) host. Since 50 GB for my CentOS guest proved to be insufficient, I resolved to double its available disk space. ...
1
vote
1answer
113 views

Hosts not recognized?

Basically, nobody can establish a connection to anything I host. The website, teamspeak, and game servers. I think it may have something to do with the hosts file or network configuration, but I have ...
1
vote
2answers
1k views

iredmail httpd default redirecting to domain.com/mail - how to stop

I have iRedmail installed on my server, it installed apache with it, when pointing to my domain name, it redirects to mydomain.com/mail - which I would like to prevent. The default index.html file had ...
0
votes
0answers
2k views

How to start VncServer on Startup

I'm trying to get vncserver to start when I reboot my VPS. I've done everything that http://it.megocollector.com/?p=1300 tells you to do, and I don't get any error messages. But when I reboot my ...
1
vote
3answers
160 views

Does rm -rf continue on reboot?

I just did a big mistake — I did rm -rf /home/. I can't afford to lose this data so I quickly did a reboot. Then I was trying to roll back some of the damage it had done. But now I am struggling to ...
1
vote
1answer
669 views

Find a file with certain filename and size in linux?

Is it possible to search for files with a certain filename and size in linux?
1
vote
1answer
2k views

MySQL ERROR 2002 (HY000) on CentOS 5

I have problem with starting up mysql. When I type service mysql start All I got is ERROR 2002 (HY000): Can't connect to local MySQL server through socket /var/lib/mysql/mysql.sock' (2)** ...
2
votes
1answer
75 views

Why does group permission hide other permission?

I just noticed that on Centos 4, a file's group permissions hide the other permissions if you are a member of the group. I would think they would be OR(ed) together? For example: drwx---r-x 1 ...
2
votes
2answers
363 views

How to remove three consecutive line feeds in a Makefile rule?

I need to search for and replace three consecutive newline characters in an input file and filter them out of an output file for a makefile rule on Centos 4. I am using GNU sed v4.1.2 and GNU make ...
0
votes
1answer
4k views

CentOS Text Only - Add Network Adapter

Added another network adapter to my CentOS (minimal) VM in VMWare Workstation 8. I've rebooted and obviously the OS doesn't recognise the new adapter. How do I add / configure it to recognise the ...
5
votes
1answer
1k views

How can I perform a full texlive installation (all packages) in CentOS?

Title say it all, how can I install texlive and all the packages so I can run tex2pdf on CentOS? I'm rather used to Ubuntu and all this yum business is driving me nuts.
2
votes
2answers
415 views

PuTTY stuck when using du command

I'm a command line noob but I think this one's stuck. I never get passed etc. Any ideas?
0
votes
1answer
148 views

Can I make surfing safer through VM + CentOS 6.0 on a Windows 7 machine?

My Windows 7 machine was recently infected with some trojans via Firefox or Internet Explorer. Is it safer to browse using the VMware Player + CentOS 6.0 and use Firefox inside CentOS?
3
votes
2answers
587 views

How do I use Virtualbox to create a dev environment accessible outside of my home office?

I have created a dev environment of my website... using VirtualBox... and now I need to make it accessible outside of my home office network. I am using Virtualbox 4.1.18 installed on a Win7 desktop ...
1
vote
0answers
155 views

Samba Share: smb doesn't set group id bit

I have some problems with a smb share. Every subfolder should get the group id bit. If I create a directory local on the machine with: $ mkdir local the bit is set, but if i create it via the smb ...
0
votes
2answers
2k views

how to install privoxy on centos 6

okay I have googled, but...I am unable to find anything on the net on how to install privoxy on my centos machine. I have tried yum install privoxy, I get: No package privoxy available. I dont know ...
2
votes
2answers
2k views

Redirect stdout to a file when process is run in background

How can I redirect the stdout of a program to a file when it's run in the background? I have a program that generates output every second. When I run it normally and redirect to a file, the output ...