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

0
votes
1answer
3k views

Failing to start Postgres SQL Server on Centos

I just followed this tutorial: http://www.unixmen.com/postgresql-9-4-released-install-centos-7/ But I can't start my postgres sserver on my centOS 6.5 machine. Here's the error: [root@vm5 ~]# ...
0
votes
0answers
18 views

What is the different between giving user root privileges and adding it to root's group

In Centos 7 I use visudo to grant root privileges, and I'm wondering what is the different between: myuser ALL=(ALL) ALL and # usermod -aG wheel myuser
0
votes
0answers
6 views

SFTP on Centos 7

I just started using Linux/Centos like a week ago so please excuse my knowledge. I configure the Centos 7 or a VM everything goes well. I setup HTTP and mySQL all goes well, but now when I setup SFTP ...
0
votes
0answers
25 views

Linux Command to list all FTP users in shell including the users created using vsftpd

I have created a few ftp accounts/users on my CentOS server using vsftpd. Now I would like know the username of that accounts using SHELL. I have root password to access the SSH. I have tried to find ...
0
votes
1answer
11 views

yum install updates up to a specific date

Is there a way to run yum update, but have it only install packages up to a certain date? An update that took place overnight (as it does everynight), caused issues, and now after reloading CentOS, I ...
3
votes
0answers
15 views

How to set up Postfix to save the message body in the log file?

I need all the body of incoming and outgoing messages are written to the log file. How to setup Postfix to do that?
5
votes
2answers
9k views

Why does yum update fail in CentOS 6.4?

I am using CentOS 6.4 in a corporate lab, and the yum update fails with the below error: I am able to access the same repositories through the browser. [root@LAB1 ~]# yum update Loaded plugins: ...
1
vote
0answers
24 views

PuTTy can't establish SSH tunnel

I'm trying to set up remote debugging for PHP using Xdebug and PhpStorm. My local development machine has Windows 7 and the remote machine has CentOS 6. I'm following this guide to no avail: ...
1
vote
2answers
3k views

Creating a USB stick for installing centos 6.x using DVD1 and DVD2 iso files

First, we create 2 partitions on the USB stick that is let's say 16GB. first partition is let's say only 1GB and the second partition is the rest of what is available. after we "w" write the ...
1
vote
0answers
15 views

X forwarding freeze after source server is restarted by watchdog

I am currently working on an issue with the Xforwarding of a QT application over lan. Our source server is forwarding the interface of our application using the command "screen -dm" to a client ...
0
votes
1answer
21 views

Centos fstab how to know what filesystem to put

i have installed centos with default settings, and i'd like to partition my server securely by modifying fstab. Thing is i don't know which filesystem i should put in the fstab file to reference eg. ...
1
vote
2answers
3k views

How to install Xpdf on Centos 5.5

I'd like to install xPDF on a CentOS 5.5 server. No GUI, I really just need the console apps. Can anyone give me a brief guide?
5
votes
3answers
35k views

CentOS - difference between ssh -X and startx, and starting a gui

I'm trying to get my gui on my CentOS machine up, but I frankly don't know the linux commands and google hasn't had a clear answer. I'm assuming ssh -X and startx are the same, but maybe not; ssh -X ...
-3
votes
1answer
22 views

i want to remove java completely out of my centos machine, ie uninstall it completely

Iam pretty new to centos operating system. iam trying to completely uninstall java from my machine. what is the command which will completely wipe out java from my machine. i have tried but i think ...
0
votes
1answer
6k views

With Centos 7 as a Virtualbox guest on a Mac Host, how can I change the screen resolution of the console / command line?

I am using the minimum install of CentOS 7 with command line access only (no graphic support installed). After spending hours reading online about editing grub files, installing guest additions, and ...
0
votes
0answers
17 views

KVM windows guest no working network

I try to install windows as a KVM guest on a headless CentOS 6 machine, all works (can even access it over vnc, using an X forwarding SSH session), but I am stuck at the windows networking. All my ...
0
votes
2answers
15 views

cron job on centOS 6.5

I have used these 2 references to insert a new crontab entry. redhat ubuntu I have created a new bash file and moved it to /usr/bin. That sh file has execute permissions for the root user and the ...
1
vote
1answer
23 views

how to create rescue initramfs image on centos 7?

After my last launch yum update my test box have kernel-3.10.0-327.13.1 installed. While installing, dracut generated initramfs-3.10.0-327.13.1.el7.x86_64.img, but ...
7
votes
3answers
14k views

Why can't I find termcap library when I build gdb?

make and then failed with: configure: error: no termcap library found, but that termcap lib is just there, why can't make find it? checking for library containing zlibVersion... -lz checking zlib.h ...
2
votes
3answers
7k views

Cant get squid proxy to work

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments): acl all src 0.0.0.0/0.0.0.0 acl manager proto ...
0
votes
0answers
16 views

Can't access Samba shares after moving to another server

Here's the issue: I've recently decided to move whole Samba service to new server without recreating everything again. So, I installed Samba on CentOS 6.7 and overwrote the following: /etc/passwd, ...
0
votes
0answers
33 views

WHM warning about invalid permissions on /etc/shadow, “Expected: 3377602730, Actual: 0644”

I've been getting some alert messages sent by my WHM instance, warning about invalid permissions on my shadow file. However, the actual permissions (0400) seem correct, and the permissions it reports ...
0
votes
2answers
5k views

Desktop not starting after Centos upgrade

I upgraded a server from centos 6.5 (with gnome2) to 7 using the update manager. The problem is that I am not able to see the login screen or the desktop. However the mouse pointer is visible. I ...
0
votes
0answers
7 views

md-raid1 with three mirrors became raid0 after removing one mirror while power off. how to fix it?

I create md-raid1 with three devices: mdadm --create \ /dev/md22 \ --level=1 \ --raid-devices=3 \ /dev/sd[a-c]2 and got nice raid mdadm -D /dev/md22: /dev/md22: Version : 1.2 ...
0
votes
0answers
22 views

How to set localtime/timezone in the most generic and distro-agnostic way?

I've created a docker container, which is running in the wrong timezone. I personally need it to run in my timezone (Europe/Stockholm, GMT+1). Since the project is open source, other users may also ...
0
votes
1answer
109 views

Access Samba share in VM via Centos Host with a Windows 10 PC

I'm running Windows 10 on a PC which can see a Centos 7 server on the network. That server is hosting several VMs running Centos 7 on a different sub-net (i.e. 192.168.122.xxx). The Centos Host and ...
0
votes
1answer
20 views

How to copy between guest OS (Windows 7) running inside Oracle virtual machine 5.0 to host OS (CentOS Release 4.0 final)

Need help to resolve copy and paste bidirectional from guest OS (Windows 7) and host OS (CentOS Release 4.0 final) or from host OS to guest OS I applied tick mark to bidirectional Drag-n-Drop and ...
0
votes
1answer
11 views

EDAC bridge lost 6000+ errors

I've setup two new servers for virtualization, and after working with them for a few hours i noticed a lot of error messages, starting at boot I get an error saying `EDAC sbridge: lost 150 memory ...
1
vote
2answers
12k views

Version `GLIBCXX_3.4.15' not found in CentOS (in file /usr/lib/libstdc++.so.6)

I try to use a program and I get the following error. /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found Under /usr/lib64 the libstdc++ I see is libstdc++.so.6.0.13 (and a soft link). ...
0
votes
1answer
18 views

systemd service to set virsh default storage pool

I'm trying to run a script on system boot after an kickstart automated installation, the script just changes the default storage pool for KVM. But for some reason the changes don't take effect, if I ...
1
vote
3answers
682 views

cron table mailx caused empty content

I'm using centos 7.0/6.5. The content of /etc/cron.hourly/mail.cron #!/bin/sh log=/var/log/mail.cron.log echo "`hostname` `date`" >> $log 2>&1 mailx -s "test mail" me@example.com < ...
0
votes
0answers
28 views

CentOS Switching off USB Ports when installing on Linux

I have a PC that I want to install CentOS on. It currently has Ubuntu running on it. When I boot from the CentOS Installation Drive (USB) the keyboard and mouse turn off, thus I cannot continue the ...
1
vote
0answers
59 views

Configuring my Bridged Network on a CentOS Virtual Machine

I am having trouble configuring my Bridged Network Connection on my CentOS 6.7 Virtual Machine. I am trying to run a R Shiny-Server Web Application on this Virtual Machine. When I try to go to ...
0
votes
0answers
111 views

Unable to login in FTP of ZPANEL after a new public ip is been asigned to Centos VM

I was using centos for my website which I deployed the VM from digitalocean.com .For domain management I have installed ZPANEL and the ftp in zpanel has been using for file transfer. Right now when I ...
3
votes
2answers
2k views

Installing CentOS 6 - Device may need to be reinitialized

I'm trying to install linux centOS 6 on my pc (on sun virtual mashine - virtualbox) I'm installing on a empty partition of my hard drive. and my primery OS is windows 7 ultimate 64bit. What should i ...
0
votes
1answer
41 views

centos login in the first time

I'm a beginner to play Linux. And I've installed Centos into the VMware. However, after I set the settings, the windows run the all black window and ask me to login. Of course, I key my account and ...
0
votes
2answers
5k views

vmware player won't run on CentOS due to missing /dev/vmmon, what could be the problem?

So I've tried installing vmware player 3.1.4 and 3.1.3 and both times had the same problem, when I try to load a VM I get the error "Could not open /dev/vmmon". When I ls /dev/ I can see there is no ...
2
votes
2answers
4k views

CentOS 7 minimal install can't detect ethernet

I recently installed CentOS 7 on my desktop computer and decided on the minimal install. It couldn't find a network device in the installation process, but I went ahead and installed it anyway. ...
1
vote
2answers
1k views

Where should I install my app on Linux?

We have some data import tools we've written in-house and I need to set them up on a new Linux box. These are written in both Java and .NET (running on Mono) and they comprise binaries, config files, ...
3
votes
3answers
8k views

SSH public keys not working

I've spent a few hours trying to solve this, but have gotten nowhere. The server is running CentOS 6 and using OpenSSH. The client is running OpenSSH too. I created a public key on the client (my ...
0
votes
2answers
8k views

Unable to use yum on CentOS 7

I have install CentOS 7 on hyper-v successfully, but when I try to update using yum update or try to install using the yum command I have the below error: Loaded plugins: fastestmirror, langpacks ...
0
votes
0answers
15 views

How do I add an index page to the GitLab bundled NGINX?

I've recently installed GitLab, and I'm using the bundled NGINX with it. I've been able to successfully set it up, and put it on mydomain.com/lab Great! Only problem is that when you go to ...
1
vote
4answers
6k views

CentOS installing jre/jdk error

[root@jony source]# sh run.sh Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has ...
-1
votes
0answers
45 views

How to troubleshoot ERR_CONNECTION_TIMED_OUT for my site?

What is the correct way to troubleshoot error from the title? It's happenning randomly: sometimes site works flawlessly, and sometimes you get the "Connecting..." text in browser's status bar when ...
1
vote
2answers
3k views

Can't find denyhosts in epel 5,6,7 on CentOS 7 x64

So I wish to install denyhosts, installed and enabled the epel repository, but yum install denyhosts still can't find it. I have to notice that I managed to do it on CentOS 6.4 the same easy way, but ...
0
votes
0answers
19 views

Why does the output of `lsblk` and `df -h` seem to conflict?

I'm trying to create a directory /mnt/data that will be mounted on to /dev/mapper/centos-home, since that's the biggest partition. The output of lsblk looks like this: NAME MAJ:MIN RM ...
0
votes
2answers
3k views

Configure Java 7 Firefox Plugin on 64-Bit Cent OS

I configured Java on my Cent OS 64-bit machine by running the following command yum install java-1.7.0-openjdk.x86_64 But I cannot find the "libnpjp2.so" file as mentioned here: ...
1
vote
1answer
79 views

Tuleap 8.7 on Centos 6.6 “My Account” page blank

I have just installed Tuleap V8.7 on Centos 6.6 using the instructions at http://tuleap-documentation.readthedocs.org/en/latest/installation-guide/full-installation.html The installation seems to ...
0
votes
0answers
16 views

KVM/Virtualbox Virtualization with no physical network

I recently tried KVM as virtualization platform. I also use VirtualBox occasionally. In every instance of deploying guest OSes, I always do one of these two: 1) set up network as NAT, guest not ...
0
votes
1answer
660 views

Installed Python 2.7, but Module in /usr/lib/python2.6/site-packages

I'm running CentOS, it already has Python2.6. I installed Python2.7 and I can see version 2.7 with python -V. I installed demjson module(pip install demjson) and then I try to execute the program. It ...