CentOS is an abbreviation for Community Enterprise Operating System that aims to be compatible with its upstream source, Red Hat Enterprise Linux. CentOS 6 is the 6th major version of CentOS, which was released on July 10th, 2011.

learn more… | top users | synonyms

1
vote
1answer
1k views

mdmonitor service issue in linux

chkconfig showing the output as mdmonitor service is running [root@localhost ~]# chkconfig --list | grep -i mdmonitor mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off But ...
0
votes
1answer
271 views

Install mcrypt on CentOS 6.2

I want to install mcrypt on CentOS 6.2, firstly I tried yum but it cannot fined the package, then downloaded source file of libmcrypt-2.5.8 compiled and installed it by following commands: ...
1
vote
1answer
2k views

CENTOS 6 - How to install php-mysql when php-common @remi is present?

I am having troubles adding mysql support for my php installation, this installation was made using a ready to use-package that came with our VPS. This is my php.info: ...
0
votes
1answer
967 views

can we check remote login information using finger command

In man page of finger it's showing Finger may be used to look up users on a remote machine. The format is to specify a user as “user@host”, or “@host” so I tried [max@localhost ~]$ finger ...
0
votes
1answer
5k views

can't run lspci in centos 6?

trying to run lspci but it doesn't seem to be working? [Ramy@localhost ~]$ sudo yum install pciutils Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * ...
2
votes
0answers
377 views

How to multiseat with HW 3d accel on CentOS 6.3 Final?

I would like to setup a multiseat configuration on CentOS 6.3 (two video cards, two keyboards, two mice, two monitors) and have hardware accelerated 3D on both monitors. 3D HW acceleration rules out ...
1
vote
0answers
173 views

Error In centos6 while compiling java classes,in tomcat6

I am newbie to Linux and Centos6. I bought server just now and want to deploy my web app in it. I am getting error while I am compiling my servlet classes. It showing me bash: javac: command not found ...
0
votes
1answer
2k views

Why is this cron not working?

I've made a script that backs some files up and puts them in a folder, When I do sudo /data/backups/scripts/nightlybackups.sh It works, I just want to make it a cron job so that it runs every ...
1
vote
0answers
201 views

Controlling USB media access on Red Hat or Centos Linux 6.3

I'm trying to control which users can use USB media (mass storage devices such as USB memory sticks and hard-drives) on Red Hat/ Centos 6.3 Linux. I would like something that is network wide, so a ...
0
votes
1answer
64 views

Windows 7 Networking with virtual machine

I have Windows 7 as base OS and i have installed Virtualbox to install CentOS 6.3. Now, since i am using DHCP for my internet use, is there any way through which i could give a static IP to my CentOS ...
0
votes
1answer
285 views

How to use 8 bit mode with NoVNC

I've got NoVNC running on Centos 6, and I can connect to it from my web browser without any problems. From some locations the connection is a bit slow, and I'd like to be able to drop back to 8 bit ...
4
votes
1answer
209 views

How to correct a screen wrapping around?

I got my hands on a Ubuntu System (which was displaying correctly) and I installed CentOS 6.3. The screen is wrapping around on itself. Any ideas? See for yourself
0
votes
1answer
370 views

Firefox script error

I downloaded Firefox (firefox-15.0.1.tar.bz2) file from this link Now That file is present under /opt directory, this is the permission of that file -rw-r--r-- 1 root root 19280364 Sep 17 15:33 ...
2
votes
0answers
430 views

403 Forbiden on Apache (CentOS) Server

These are my VM setup: HOST: windows 7 ultimate 32bit GUEST: CentOs 6.3 i386 Virtualization soft: Oracle virtualBox 4.1.22 Networking: NAT -> (PORT FORWARD: HOST:8080 => GUEST:80) Shared ...
0
votes
1answer
58 views

vim colour issue [duplicate]

Possible Duplicate: Remove VIM search highlight In vim, when searching for a string (using :/abc for instance), it will become highlighted with yellow, like this: After switching back to ...
0
votes
0answers
389 views

why page is automatically redirecting to some other sites

In my browser (Firefox 10.0.7) the page is automatically redirect to some other sites without clicking any link. If I enter the superuser.com url after pressing Enter button, It redirect to some other ...
0
votes
0answers
503 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
2answers
487 views

How to restrict user from login saturday and sunday

I am trying to disable login from user avi on Saturday and Sundays, For that I entered this line in /etc/security/time.conf login;*;avi;Wd0900-1700 For checking this I changed system timing but ...
0
votes
1answer
325 views

How to display a message upon login to specific tty

In /etc/securetty I commented out tty2 and tty3: #tty2 #tty3 This succesfully disables root login for these two terminals for root. But is it possible to display a message such as "root login is ...
0
votes
1answer
1k views

How to add delay in autologin

I enabled autologin in my system (CentOS 6.2) for that I edited this file /etc/gdm/custom.conf In that I entered this code [daemon] AutomaticLoginEnable=true AutomaticLogin=test Here test means ...
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?
1
vote
0answers
157 views

Without pam (Pluggable Authentication Modules) how linux system will behave?

Suppose if we create nologin file under /etc then only root can login, but if we comment on all pam_nologin.so line in every file under /etc/pam.d/ then other user also login. That means these ...
0
votes
2answers
247 views

What is the use of option -u in the Linux cat command?

In the man page of cat, -u means (ignored) [raj@localhost zzz]$ cat file1 hello world 1 2 3 4 5 6 7 8 9 0 ! @ # $ % ^ & * ( ) _ + ~ ` ; ' , .{ } [ ] = | \ / - [raj@localhost zzz]$ cat -u ...
4
votes
2answers
4k views

How can I manually control a fan from the terminal?

I'm trying to control the fan speed on my desktop, and I'd appreciate your help. Goal: Use a script to control the fan speed on my computer. Motivation: The embedded BIOS "Smart Fan" settings isn't ...
0
votes
1answer
527 views

low usb speed file transfer using KVM host CentOs

i'm using qemu-kvm(1.1.1) to run a Windows 2008 R2 Virtual Machine. The host machine is running CentOs 6.3. I'm exporting a USB 2.0 Hdd device to the VM using USB-redirection with spice channel. So ...
1
vote
1answer
770 views

What does / (forward slash) mean in cd?

I use the following commands to change directory and it generally works fine. [max@localhost max]$ cd / [max@localhost /]$ cd /home/max/ [max@localhost max]$ pwd /home/max But today, by mistake, I ...
0
votes
0answers
199 views

Environment variable changed

At first my hostname was localhost.localdomain in CentOS 6.2 I installed ubuntu in separate partition after that my hostname was changed to this ###-###-###-###-####.####.example.com In ...
1
vote
0answers
495 views

Setting reduced complexity passwords for a regular user

From root it is possible to set a single character password for any account Example: Here I created a account test3 and set the password t, and the password is accepted [root@localhost ~]# useradd ...
1
vote
2answers
2k views

Setting up FQDN in CentOS 6.3

I have a domain name: example.com. I am setting up my CentOS 6.3 server's FQDN, it used to be centos63min. Reading on the internet, I found a lot of examples, where people name the server something ...
0
votes
1answer
599 views

Questions about setting up PHP-ODBC driver for remote SQL-Server-2008 connection on CentOS-6

I have CentOS 6 and PHP 5.3.3 VPS at GoDaddy. I have to interact with remote SQL Server 2008. I've seen many tutorials and quite lost here, so: There is a way to simply yum install it ? If not, what ...
4
votes
2answers
480 views

Linux cal command not showing proper output

If you type cal 9 1752 in a Linux terminal you will get strange output. For example: [max@avi ~]$ cal 9 1752 September 1752 Su Mo Tu We Th Fr Sa 1 2 14 15 16 17 18 19 20 21 22 23 24 ...
4
votes
3answers
3k views

What is PAM (Pluggable Authentication Modules) in Linux?

What is PAM (Pluggable Authentication Modules) in Linux? I know it is used for authentication, but what good is this? How does it work? I am using CentOS 6.2.
0
votes
4answers
9k views

How do I create yum repo file?

I know there is a previously asked question, but I still have some doubts so asking again. How do I create a yum repo file? I know that in the /etc/yum.repos.d/ I have to create .repo file. Below ...
2
votes
1answer
8k 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
1answer
99 views

who -t showing nothing in command prompt

In [root@localhost ~]# man who -t means t, --time print last system clock change I changed the system time using using [root@localhost ~]# date -s 05:27:00 Thu Jul 12 ...
0
votes
1answer
2k views

How To Change Boot Image In CentOS 6.2

I am using CentOS 6.2 and I want to replace boot image (splash.xpm.gz) to my own. I know that I have to edit /boot/grub/grub.conf file. In that I have to edit below line ...
0
votes
2answers
2k views

How to disable automount of pendrive

I am using CentOS 6.2 and I want to disable automount of pendrive. what is the procedure? which file should I edit?
2
votes
3answers
4k views

It is not possible to Run Google Chrome as root

I am facing one strange problem in my system. I am using CentOs 6.2 (linux) being root it is not possible to open Google Chrome browser. It giving the error like this... Firefox is working fine in ...
0
votes
1answer
5k views

Skype not working in CentOS 6.2

I tried to install Skype on CentOS 6.2. I downloaded Skype's rpm package from here and tried this command to install – but it's giving an error like this: [root@localhost Downloads]# rpm -ivh ...
0
votes
3answers
240 views

Backup files rather than deleting them in Linux

Suppose if I delete any file using the command prompt (I'm talking about Linux), that file is gone, I can't get back that file. If I by mistake delete any important file, then that would be a big ...
1
vote
2answers
13k views

Installing VLC on CentOS 6.2

I'm using CentOS 6.2, and I tried to install VLC Player using yum, but it shows "No package vlc available". I tried below command: [root@localhost ~]# yum install vlc Loaded plugins: fastestmirror, ...
5
votes
3answers
4k views

How can I configure gdm to allow X connections to other servers/workstations?

I have an issue on all new installs of CentOS 6.2 on my network. Connecting to remote machines using X11 gui software fails for reasons associated with the xauth. I'm not sure how to diagnose but have ...
16
votes
1answer
36k views

How to Boot CentOS in CLI?

I have a CentOS 6.2 OS which boots into GUI. How, upon startup, can I not boot into the GUI and instead, boot into the CLI? I want to do this at computer startup time.
-1
votes
2answers
441 views

cron uid:gui for every username

So in the nutshell : There was user John with 502:502. After i deleted John and recreated him, his UID:GID changed to 504:504. Cronjobs are still running under the John's crontab, but when the ...
3
votes
1answer
2k views

httpd on CentOS resolving only the first VirtualHost

I just got a new cloud server and while setting it up, I can access the web root by pointing my browser to the IP address of my server, but the domain names are still propagating so when I go to them, ...
0
votes
1answer
522 views

Time is getting reset to old value in CentOS 6.2

I have installed CentOS 6.2 in a VM on ESX & whenever I change the time to the appropriate value using date & hwclock command it's getting changed for that session. Once I restart the instance ...
0
votes
1answer
2k views

X11 on CentOS VM with OS X Lion client

I am using OS X Lion. I have a Vagrant box running CentOS 6.0 minimal on my mac. I am trying to install Oracle 10g on my CentOS 6. I keep getting an error Can't connect to X11 window server I have ...
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?
0
votes
1answer
898 views

Access MS SQL server from CentOS (OpenOffice calc)

I installed FreeTDS in CentOS 6 and I can connect from php to remote MS SQL server. However I cannot set up odbc connection so that it shows in list of ODBC connections in OpenOffice apps. If my ...
6
votes
2answers
20k views

Why is pip not listed in easy_install on CentOS 6? Where to get it?

I am trying to install pip for python on CentOS 6. I thought of installing it through easy_install but it is not there. I tried to find easy_install with find command, but no luck. I tried to ...