Questions tagged [centos-6]

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.

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.

354 questions
36
votes
4 answers

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.
bgmCoder
  • 1,918
28
votes
4 answers

Installed minimal CentOS 6.4 in VirtualBox but have no internet?

I just started using the VirtualBox, but I don't seem to have any internet on the CentOS when I type yum update. Is there a solution to my problem? (it could possibly be a problem with misconfigured VirtualBox) Here is an output of ifconfig.
Vlad
  • 606
25
votes
4 answers

How do I execute/run a .sql file in PostgreSQL 9.2.6 + CentOs

I would like to know how to execute a .sql file in PostgreSQL. I'm using CentOs 6.4. I have created a database and just need to run a script given to me to create tables. Thanking you in advance.
17
votes
3 answers

How to deduplicate 40TB of data?

I've inherited a research cluster with ~40TB of data across three filesystems. The data stretches back almost 15 years, and there are most likely a good amount of duplicates as researchers copy each others data for different reasons and then just…
15
votes
4 answers

Why Centos still not using Latest kernel

As i have seen many changes and improvement in kernel 3.xx The improvement i like is dmcache which introduced in kernel 3.9 I have 3 server with centos installed on all machine Centos is still using old kernel which is 2.6.xx I'm wondering why they…
14
votes
4 answers

How to know which fonts are installed on CentOS?

Question-1: Is there a way to know what all fonts are installed on the CentOS 6.2 through command-line? I have checked the fonts with the following command ls /usr/share/fonts/default/ghostscript/ and have got the following results: bchb.afm …
Prakash K
  • 253
12
votes
3 answers

Is there any way to reset the `httpd.conf` in CentOS to the original/default version?

I was learning server installation by creating a web server in VMware, I don’t know what changes I made to httpd.conf. Is there any way to reset all the configuration for httpd.conf to default? Command used: vi /etc/httpd/conf/httpd.conf Updated…
12
votes
2 answers

How do I remove permission to specific user using setfacl

I just executed the following command setfacl -m user:userXXX:r /home/userYYY/private/ now I see $ ll /home/userYYY/private/ total 32 drwx------+ 5 userYYY quant 512 Sep 5 03:26 ./ drwxr-xr-x …
statquant
  • 255
10
votes
2 answers

Memory usage grouped by parent process

How can I find the total memory usage of all processes (including child processes) with PPID of 1. For a program like nginx/httpd which forks several child processes, ps/top gives the memory usage of each process separately. I want to know the total…
9
votes
4 answers

CentOS 6.5 - bash: service: command not found

So I can't type service on my CentOS 6.5 server. I'm logged in as root. When typing service I get this error: bash: service: command not found I have also tried to type sudo service, but with no luck. And then I get this error: sudo: service:…
user3524823
  • 195
  • 2
  • 3
  • 15
9
votes
2 answers

Upgrading PHP 5.3.3 to 5.4.4 in CentOS 6.4

I'm using CentOS 6.4 (centos-release-6-4.el6.centos.10.x86_64). I'm trying to upgrade the php version from 5.3.3 to 5.4.4 by using: yum upgrade php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml and yum upgrade…
Andres SK
  • 245
8
votes
4 answers

semanage command not changing file context

I am trying to change selinux context for upload directory to enable anonymous upload. This is the Directory path /var/ftp/upload This is the default context [root@server ftp]# ls -Z upload drwxr-xr-x. root root…
max
  • 4,163
7
votes
4 answers

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 is the pattern: 1 [name ] 2 name= 3 baseurl= 4…
max
  • 4,163
7
votes
2 answers

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 re-install python with yum and still not able to find…
tsatiz
  • 173
6
votes
2 answers

CentOS: View all users in a specific group

I added a user user01 to a group group01 using: usermod -a -G group01 user01 When I run in command id user01 it shows that this user has actually been added to the group. However, the file /etc/group doesn't reflect this. i.e. I believe that on this…
thilina R
  • 2,973
  • 5
  • 28
  • 36
1
2 3
23 24