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

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
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 ...
2
votes
1answer
210 views

Get rid of directory of unknown user

I'm constantly failing to do something usefull to a directory. ls gives this output: drwxrwxr-x 2 root 1000 0 19. Jul 14:03 backup Here I'm trying to remove, move or chown this directory ...
2
votes
2answers
514 views

More Linux permissions questions

I've read countless articles on the topic and searched through every question and answer I could find without any luck. I'm slowly going mad so I'm turning to you guys since I know the answer to my ...
2
votes
1answer
2k views

Wrong RPMforge Installed

I am running CentOS 6.2 and I installed RPMforge EL5 by mistake and I need to uninstall it and install RPMforge for EL6. How can I do that?
2
votes
2answers
2k views

Restore default permissions to “/var” to CentOS installation

So I accidentally ran chmod -R 0777 /var and I need to revert that (let alone allow chmod the correct ssh directory so I can log back into it). I'm feeling screwed, can anyone help? The sooner the ...
2
votes
3answers
12k views

Unable to remove PHP packages from CentOS, but also unable to update PHP package to PHP 5.3

I have an interesting, albeit infuriating problem with CentOS. I'm trying to configure this server to run a Symfony2 website I've built. The website doesn't work, and I've pinned down the problem to ...
2
votes
1answer
459 views

Delete old files x days and send email if its done

I have a script that works removing files x days and keep the folders. I'm trying to send an email once its done with the deletion. Any advice? Current script is below: #!/bin/bash find /testftp/* ...
2
votes
1answer
2k views

Linux apropos command always returns “nothing appropriate”

I have a minimal installation of CentOS 5.7 32-bit on a VM. The apropos command always returns "nothing appropriate" [root@localhost ~]# apropos man man: nothing appropriate Even after I run ...
2
votes
3answers
7k views

How to make my default gateway permanent in CentOS? So that after a reboot it does not get lost

I have a CentOS running. It is important to have my CentOS available when I am remotely connected to a VPN router. I tried to add a default gateway to the VPN router, but after reboot it goes away. ...
2
votes
1answer
354 views

TightVNC server issues

I'm trying to get a friend's server started for them. It's running on the same hardware platform as one that I personally use, so I figured it would be easy. They're running CentOS, and I'm trying to ...
2
votes
1answer
95 views

How to have user's passwords remembered in Linux?

How to I get linux to stop prompting me for a password and remember it? For instance, when using the root user, I always get prompted, but I would rather only be prompted once per user session.
2
votes
2answers
377 views

Tracing what program is making a network connnection? (CentOS)

I was wondering if it is possible to find out which process is trying to make a specific network connection. On a server I support which hosts websites for about 200 users, the iptables firewall keeps ...
2
votes
1answer
142 views

Where download CentOS-only basic packages?

I am thinking in starting a CentOS based distribution for communication (call center) and collaboration (IM, email, calendar) tools. What I want to find is Where to get CentOS-only base packages? ...
2
votes
1answer
145 views

VMware VM with CentOS latest too slow while try to access PHP sites through browser

I have a instance of VMware Workstation 10.0.1 running in my PC. My PC has this configuration: Proccessor: Core i5 3120M Memory: 3992 MB OS: Windows 7 Ultimate, 64-bit 6.1.7601, Service Pack 1 The ...
2
votes
3answers
3k views

VM running CentOS, can ping but can't access web server

I've been trying to set up a CentOS server for the first time (ever setting up a Linux server). The installation went fine, I installed LAMPP (and the required dependencies for x86), used the lampp ...
2
votes
2answers
1k views

Server hijacked / being used as bitcoin miner - how to I stop this?

I'm in a bit of a situation, my server has been hijacked and it appears to be involved in a bitcoin mining operation. I need to know where to start at least, I'm a novice system admin and haven't ...
2
votes
1answer
898 views

SSH Tunnel for restricted user w/ PuTTY and no shell

so I have been using SSH tunnels to restrict access to internal sites or portions of public sites for a while now, and since only admins had SSH access at all I've been using standard non-root/sudo ...
2
votes
1answer
402 views

how to stop yum from trying other mirrors

I'm sitting behind a proxy on my CentOS 6.4 box and I can't perform a 'yum update' because yum keeps killing the slow downloads and trying another mirror. The problem is that the way our proxy works ...
2
votes
1answer
1k views

How to setup password-less ssh between two vagrant machines?

I have set up a enviroment of two machines in vagrant where I used the following CentOS image: http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130427.box Lets call the two ...
2
votes
2answers
3k views

Cinnamon for CentOS?

I was trying to install Cinnamon from Source code in a CentOS v.6.4. Unfortunately, I was stumbling upon dependencies that were becoming weird each and every time. Some of them, I tried to build, ...
2
votes
2answers
7k views

CentOS - Yum doesn't update anymore?

I've been trying to use yum now, but for some reason, not even the search work anymore. I even tried putting packages I already downloaded in the search criteria and is the same. [root@AMDFX03 ...
2
votes
1answer
95 views

How to run designer software

I've installed Centos not so long ago, installed it both with KDE and Gnome. Also installed NVidia drivers. So I have no idea which Linux Distro is good, but I like CentOS, sometimes embarrassed with ...
2
votes
1answer
776 views

Optimal raid array on Centos 6

I have 4x2TB disks and I want to create a well-performing RAID5 array (server is HP N40L microserver with 8GB RAM, booting from a 64GB SSHD). The OS is Centos 6.3, x86_64. I created the raid array ...
2
votes
1answer
273 views

Able to ssh but not able to browse centos server

I recently installed the CentOs server on the VM and I am using a Host Only Interface, and have set the IP address of the host and Centos. I am able to SSH from the terminal of the host to Centos but ...
2
votes
1answer
440 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
1answer
6k views

How to install/enable compiz on CentOS 6?

How do I install and/or enable compiz-fusion on CentOS 6? The packages don't appear to be in the repositories?
2
votes
2answers
685 views

Linux: Create a user than can access other users' files

I'm trying to have a mother user, with the root directory /home/user1 and have the rest of the users in /home/user1/users. How can I make it so the users still own their files, but the user user1 is ...
2
votes
2answers
773 views

Is it possible to change the mount point used for external USB devices from /media to something else under GNOME?

I'm using CentOS 5.x and am trying to change the mount point that get's used when I insert a USB thumb drive or external USB drive. They're showing up under /media/KINGSTON for example. I'd like to ...
2
votes
1answer
242 views

How to set up dedicated Hard Disk to a VM?

I'm running CentOS with Xen hypervisor. I've two virtual machines running on it (2 DomU and obviously 1 Dom0). I've two hard disks that I'm trying to dedicate exclusively to each of the DomU. This is ...
2
votes
1answer
3k views

Install gksu on Centos

I want to install gksu on Centos 5.5. su and sudo both work fine (although I had to tweak some BASH profile files to find the commands properly), but I want gksu installed so that I can easily use ...
2
votes
1answer
349 views

Hudson - push the commit to production server

We have first server with SVN, this SVN has configured hooks to be able to call second server (with Hudson) and do build of the app on the second server. This is functionall and running fine... but ...
2
votes
1answer
743 views

CentOS or Scientific Linux 6 for Storage-Home-Server?

I planned to use CentOS 6 on my new Home-Server, but it is still not available. On my search for alternatives I discovered Scientific Linux 6 which is also binary compatible with RHEL. Is there much ...
2
votes
1answer
3k views

Is there another way to connect to a LinkSys SRW2024 switch from CentOS?

I am configuring a Linksys SRW2024 and accidently changed the management VLAN before changing the VLAN configuration. Thus, I can no longer access it. The only way I have read to get into it now is ...
2
votes
1answer
2k views

pthread-stubs for CentOS

I try to install Mesa 7.8 for CentOS 5. During installation of Mesa I required to install librdm, and during librdm (v. 2.4.19) installing I got error about missing pthread-stubs: checking for ...
2
votes
3answers
8k views

How to install Deluge on Centos?

I have a problem with installing & running Deluge torrent on my Centos 5 (x86) . I get it from http://dag.wieers.com/rpm/packages/deluge/ this: ...
2
votes
1answer
91 views

Looking/Waiting for a domain indefinitely

There is a strange behaviour in my laptop, sometimes when I want to open a site, say stackoverflow.com, my browser stays "looking for" or "waiting for" that domain. Apparently doesn't find it right ...
2
votes
0answers
23 views

“screen is terminating” for non-root

When I try to run screen as a non-root user I get: screen [screen is terminating] immediately, though it works fine for root ls -alh /usr/bin/screen -rwxr-sr-x 1 root screen 465K Jun 9 20:30 ...
2
votes
1answer
45 views

Wrong apache user when using mod_userdir in cPanel

I have a trial WHM/cPanel setup on a CentOS server. Everything is working well except for one file permission error that I can't nail down. I had edited my hosts file to redirect my domain to point ...
2
votes
0answers
67 views

Convert rtf to pdf removing the hidden text of rtf file

I am using Ted on CentOS 6, for conversion of RTF to PDF documents via shell_exec command from php script like: shell_exec(rtf2pdf.sh test.rtf test.pdf) But the issue is that if the RTF file has any ...
2
votes
1answer
158 views

“chmod -R 777 /” for a few seconds - now what?

On Centos 6.5 I accidentally typed chmod -R 777 / Ooops. I CTRL + C'ed out of it very quickly, but not before it'd started working away for a couple of seconds. Consequences? Well, already su ...
2
votes
0answers
109 views

Godaddy fails to properly configure NTP on their node server hosting my VPS [closed]

I have a few VPS servers with Godaddy and with every new server I contracted I had to ask them to set up NTP on the node hosting my container. They always did until now. It seems like their ...
2
votes
1answer
325 views

Find out what's causing high server load?

If a server has become inaccessible via SSH due to high load, I would usually restart it. How do you usually find out the cause of the high load (e.g., what process, how much RAM/CPU was used, etc.)? ...
2
votes
0answers
803 views

CentOS 5.10 Yum Packages won't update/upgrade

I've just used yum to install PhpMyAdmin and it installed version 2.11.11.3-2.el5 which is completely out of date since version 4 is out. I've tried running yum update phpmyadmin but I receive No ...
2
votes
1answer
389 views

NFS from MacOS to Centos in virtualbox

I'm trying to share files from my Mac to a web server hosted in VirtualBox running Centos. Mac I've created the file /etc/exports. It has the following line /Users/jason/projects -alldirs -network ...
2
votes
0answers
138 views

bash column command confused by ANSI color escapes

I have a bash script I got from Gary Bernhardt's dotfiles that prints a nice colorized listing of the recent git commits. It uses the column command to line the output up into columns. On my mac, it ...
2
votes
0answers
1k views

Accessing VM on host machine through IP address

I'm trying to set up a CentOS VM with VMware Fusion and get access to it through the host. I was following a tutorial online for this as this is my first time doing this. When I try to access the IP ...
2
votes
1answer
293 views

CentOS Minimal + GUI; How to ensure GUI packages are installed from USB rather than from YUM repos?

I downloaded the CentOS Minimal .iso file from CentOS' web site and then created a USB drive via some tool by Fedora, I believe. I booted up the PC and installed CentOS Minimal, it was flawless, no ...
2
votes
1answer
454 views

Hyper-V Virtual Machine Suspending on Host Shutdown (Integration Services Installed)

I'm trying to get a VM time synced with a 64-Bit Windows 8 host upon host shutdown and startup. Linux Integration Services is installed on the virtual machine and all integration services are enabled ...
2
votes
1answer
164 views

How to change Apache to serve a subdirectory by default

I have a vanilla install of DokuWiki on CentOS 6.4 with Apache. The internal URL is http://wiki/dokuwiki How do I go about configuring Apache/DokuWiki to not require the /dokuwiki part? I want ...