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.
353
questions
36
votes
4
answers
125k
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.
28
votes
4
answers
51k
views
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 ...
25
votes
4
answers
132k
views
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
2k
views
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 ...
15
votes
4
answers
31k
views
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 ...
14
votes
4
answers
52k
views
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/ ...
12
votes
2
answers
60k
views
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?
...
11
votes
2
answers
40k
views
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------+ ...
10
votes
3
answers
63k
views
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 ...
10
votes
2
answers
9k
views
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 ...
9
votes
2
answers
67k
views
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 ...
7
votes
2
answers
28k
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 re-...
7
votes
4
answers
17k
views
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-...
6
votes
2
answers
45k
views
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/...
6
votes
4
answers
88k
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 is ...
5
votes
3
answers
7k
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.
5
votes
2
answers
2k
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 ...
5
votes
2
answers
46k
views
How can I create a service in CentOS 6?
I need to create ratchet service on my dedicated server (CentOS 6). I have successfully created this service on local CentOS 7. The problem is that the server has got old version of CentOS and I need ...
5
votes
3
answers
16k
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 ...
5
votes
1
answer
1k
views
mount and umount behaving differently when run under cron
Running CentOS 6 in AWS, and what I'm seeing is baffling me.
There is an s3fs mount in /etc/fstab that sometimes loses its ability to read and write from. I have a cron job that worked great for ...
5
votes
1
answer
26k
views
Why does ping to google.com or 8.8.8.8 fails
I am using Cent OS 6.4 and it is in a official lab.
ping google.com gives the below output and hangs:
[root@LAB1 ~]# ping google.com
PING google.com (74.125.236.195) 56(84) bytes of data.
ping 8....
5
votes
1
answer
2k
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
5
votes
3
answers
7k
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 ...
4
votes
3
answers
11k
views
NIS failing on CentOS 6
Solved: See bottom. tl;dr: enable network manager.
I'm trying to set up a CentOS6 system to login using NIS. I've set up the NISDOMAIN and for the files like passwd to be on the NIS server in ...
4
votes
2
answers
8k
views
Why is my yum update failing?
Why is my yum no longer working?
It was previously working fine. But seems to have inexplicably stopped working.
FYI, I'm running this on Centos system that is running in VirtualBox on my MacBook Pro.
...
4
votes
3
answers
6k
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, ...
4
votes
1
answer
52k
views
How to fix certificates verification creating a VPN (OpenVPN)?
Ok, I'll explain what I did... and at the end is the queston. THank you!
To set up my VPN I installed OpenVPN in server and client machines. On server I configured the cert Authority in the file /etc/...
4
votes
1
answer
2k
views
Upgrading glibc in centos 6.6
My server is using glibc-2.12.x. when I install certain packages it gives an error.Dependency not found glibc-2.14 or above is required.When I try using yum install glibc* it says server is already ...
4
votes
0
answers
1k
views
Setup default PHP version in Plesk 12
I've just setup a Plesk 12 CentOS6 vServer. I installed some PHP-versions like 5.4, 5.5 and 5.6. The customers can change the running PHP version in the interface. All is working fine, but I have one ...
3
votes
1
answer
18k
views
How to get `mail` on a CentOS 6 server (running postfix)
On my old server, and most other devices I have run, there is a provided mail program.
On my new CentOS 6 server, running postfix as the MTA, I cannot send command-line email via mail - the tool is ...
3
votes
2
answers
27k
views
Warning: remote port forwarding failed for listen port on Centos 6
I have a problem with port forwarding in centos 6, when i do:
ssh -v -R root@hostname:19999:localhost:22 root@hotname
I get this warning:
Warning: remote port forwarding failed for listen port ...
3
votes
3
answers
2k
views
Open man page using nano
I want to open man pages in another text editor, in this case "nano". Does anyone know how I can achieve this please?
3
votes
2
answers
28k
views
iptables rules for nfs
I was getting below error while typing showmount -e 192.168.56.2 in client machine
[root@client ~]# showmount -e 192.168.56.2
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No ...
3
votes
1
answer
3k
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, ...
3
votes
1
answer
3k
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?
3
votes
1
answer
6k
views
Docker : cannot access internet from container
I am running CentOS 6.6 behind a corporate proxy. I've installed docker, and I had to make some modifications in order for the daemon to access the Docker Hub through the proxy. This part is working ...
3
votes
1
answer
456
views
Is it possible to have 2 GUI desktop sessions for 2 different users (of same machine)?
I need to set-up the dev-environment to be able to debug the backend of an application in Eclipse.
There is a front-end (runnable under user1) and a back-end (runnable under user2). Each user has its ...
3
votes
2
answers
7k
views
CentOS freezes during startup in VirtualBox
This is an installation of CentOS 6.3 in VirtualBox 4.2. I was able to install with no problems and have booted it up about 3-4 times previously and used it without any issues. Now, when I start it, ...
3
votes
1
answer
17k
views
Can't ping ip's or hostnames on fresh CentOS 6.2 install
I just installed CentOS 6.2 on a box using ipmi and have tried setting up the network with no luck.
I've got a 66.x.x.56/29 allocation of ip addresses on vlan (66.x.x.56 to 66.x.x.63), so I have set ...
3
votes
3
answers
5k
views
Where does this name come from? root@<hostname>
When I putty into my CentOS 6 server I am shown root@ DemandStream Development
This was a copied and repurposed Linux VM from one of our development environments. How do I change this name? It seems ...
3
votes
1
answer
16k
views
packages excluded due to repository priority protections
I am not able to update my PHP in centos 6.
I have centos base, epel and rpmforge repos.
yum update php
Error: Package: php-tidy-5.3.3-14.el6_3.x86_64 (@updates)
Requires: php-common = 5.3.3-14....
3
votes
0
answers
1k
views
Protocol Error when writing to vbox shared folder
So to begin I am running a server where a vbox vm is running that has a shared folder mounted to transfer items in and out of the vm. This shared folder goes to multiple vms on the server. Recently ...
3
votes
0
answers
2k
views
docker-machine behind corporate proxy
I've installed Machine (Docker tool), and I'm trying to learn how to use it by following the user guide. I'm running centOS 6.6
As I am working behind a company proxy, I exported some environnement ...
3
votes
1
answer
5k
views
How to start icewm?
I installed icewm 1.2.13. Metacity is my default window manager. Usually, to replace window manager --replace option is used, e.g metacity --replace. But my version of icewm does not have this option. ...
3
votes
0
answers
516
views
ffmpeg subtitle not visible
I'm using ffmpeg static. I have to two servers. When i encode at the first server, subtitle works; but it does not work at the second server.
I installed fontconfig, fontconfig-devel, freetype, ...
3
votes
1
answer
1k
views
Wicd set up on centos
I am having difficulties with wicd on start up on CentOS 6. When it starts up it complains that it cannot connect to the DBus and that the daemon has shut down. When I check the log file there is ...
3
votes
0
answers
1k
views
Is my CentOS library multiarch? And what does that mean?
On CentOS release 6.4, I am trying to run a binary. However, it gives the following complaint:
(...) requires "/lib/libuuid.so.1" to function.
From a quick search, I can see that the only similar ...
3
votes
1
answer
586
views
Why don't my certificates match?
I'm configuring a VPN with OpenVPN without interfaz, the problem is when I try to connect, it says:
TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
...
3
votes
0
answers
491
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 ...
3
votes
1
answer
2k
views
Procedure for LUN assigning and scanning on LInux server with two HBA card each with two port
Need a brief overview of LUN assigning and scanning on Linux server with fibre channel switch.
On the server there is 2 HBA card installed each with two ports. Below are the few queries:
What are ...