CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

1
vote
1answer
2k views

Apache fails to start after changing cert and key

The problem appeared after I changed https certificate and key. sudo /etc/init.d/httpd restart shows this: Stopping httpd: [FAILED] Starting httpd: [FAILED] Apache's error_log: [Tue Dec 03 ...
-1
votes
1answer
36 views

Centos 7 - firewalld - passthrough traffic with firewall-cmd

How can I allow traffic from some hosts network A (behind eth0 interface) through my centos 7 box to network B (some hosts behind eth1). network A: 1.1.1.0/24 network B: 2.2.2.0/24 Firewall ...
3
votes
2answers
73 views

Why CentOS 6 adjusts console width when running screen?

I run a console window through my PuTTY session. That console windows has a column width of 140. When I start the screen session, the console shrinks to 80 columns. I do not see this behavior on ...
3
votes
2answers
7k views

Installing Epel repository on CentOS fails

This has been working on my vagrant vm for a few month without any issues. I didn't change anything, it has been vagrant up and vagrant destroy'd several times before with no problems. But now it ...
0
votes
2answers
1k views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
1
vote
1answer
20 views

How to change FTP home directory in Centos 6

I have created one Linux centOS 6 instance in Amazon EC2 and installed cPanel on it and started running my websites there . The issue i face was when i try to FTP to the instance with following config ...
0
votes
3answers
78 views

Which ISO file, vmlinuz and initrd.gz to use for installing CentOS from Multiboot USB?

I have created a multiboot bootable USB with GRUB and used it to install Debian 8.1 successfully. A multiboot USB is one that contains the ISO images of multiple operating systems, with GRUB being ...
1
vote
1answer
2k views

How can I extend VMware Partition on Centos 7 using GParted?

I've a problem with increasing a partition from 20GB to 120GB, VMDK file. Here is what I've done: using vmware-diskmanager to increase vmdk file from 20 GB - 120 GB. It's ok. download and boot from ...
5
votes
2answers
27k views

PHP 5.5.13 on CentOS 6.5 with yum

I've got problems with installing PHP 5.5.13 (last stable build) on a CentOS 6.5 (64 bit) machine, through yum. Can somebody guide me through this a little bit? It is not a part of the CentOS, EPEL ...
0
votes
1answer
19 views

Can't install gcc on CentOs 7.0

I have to install gcc on a server that does not have any access to internet due to security issues. I tried ftping the source tar and building it on the server, but it requires gcc to compile gcc. So ...
1
vote
1answer
660 views

Can't find vgaswitcheroo directory in CentOS6

I've installed CentOS6 on my laptop, which has a built in VGA and a discrete (AMD) VGA. I used to switch AMD video off in other distro's (e.g. Fedora, Arch) using: $ echo OFF > ...
7
votes
10answers
41k views

How to extend CentOS 5 partition on VMware?

I have a CentOS 5 virtual machine and I added 20GB more to disk size. How do I initialize and extend the available space? I'm new to Linux, so what should I do? I tried loading GParted as well, ...
18
votes
4answers
59k views

Why the default eth0 interface is down by default on CentOS?

I am already a little bit familiar with Linux distros like Debian or Ubuntu (yeah, very similar) but I wanted to try Red Hat based - CentOS 6.2 . I have installed it on my Windows 7 host in virtualBox ...
1
vote
0answers
25 views

LFTP exclude file extensions

I am trying to mirror directories with lftp but I don't want to download filetypes that are notoriously large like .mp4 and .swf. But I am having trouble with the regex - and seeming like the ...
1
vote
1answer
28 views

Really need to understand CENTOS fdisk -l output

I am running centos on a server and the HDD config for my server is 2 1 tb drives with 32 gb RAM. Now when I use fdisk -l command, i see the below output which is really not understandable. Could ...
0
votes
0answers
23 views

CentOS 7: Installation not starting

A couple of days ago, I downloaded CentOS 6 and played around with it to get a feel of this OS. I finished with what I wanted to learn and decided to go ahead and do a fresh install of CentOS 7. Heres ...
2
votes
1answer
39 views

How to permanently disable root-password prompt for recovery mode, RHEL6

In the rare cases that a RHEL or CentOS 6 system is prevented from booting by (for instance) an improper shutdown, or a forced fsck-check failure on boot, the console will prompt the user for a root ...
1
vote
2answers
4k views

Named service won't start - seems to be caching errors

When I try to restart / start the named service, it keeps failing. service named restart Results in:- Stopping named: [ OK ] Starting named: Error in ...
0
votes
3answers
25 views

How to delete files from a directory based on the contents of a gzipped tar file?

Given that I: have a directory that contains over 1000 files have a gzip'ed tar file that contains a subset of those files (x.tgz) What is the single command line (if it is possible) that will ...
2
votes
3answers
4k views

Issues in XRDP installation on Cent OS 6.5

I already went through the similar issue tracked in Installing XRDP on Cent OS 6.5, however it haven't helped me to fix. I am using MAC and trying to install XRDP in CentOS release 6.5 (64 bit). So ...
1
vote
0answers
15 views

Centos 7 - Cant download RPM (Trying to connect with IPV6)

i am normaly an debian/ubuntu guy but i wanted to test the foreman on Centos 7. but I am having some trouble with the RMP command. I have tried to disable IPV6 with echo 1 > ...
19
votes
5answers
94k views

How to create a FTP user with specific /dir/ access only on a Centos / linux installation

So I'm on a VPS - CentOS Linux installation. I have vsFTPd on the server. I currently have SFTP access to the server via my root user, but am now trying to create a new user with FTP access to a ...
1
vote
2answers
2k views

How do I install Exim and Horde on Centos 7 with MariaDB 10?

I can't find a guide for this (they are old and don't work) and I can't seem to manage to install it. I can't install Postfix because of its dependencies, so I'm going with Exim, which I installed ...
1
vote
1answer
1k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
0
votes
0answers
14 views

Modprobe vboxdrv failed centos

I am trying get Virtual box running in Cent os7 So far the vbox kernel compiles but will not start I'm just told "modprobe vboxdrv failed, please use dmesg to find out why" I have looked at "dmesg" ...
1
vote
1answer
759 views

dm-0: WRITE SAME failed. Manually zeroing. Centos 7.1 on VmWare ESXI 5.5

I've got a error when system start on 2 VM's. dm-0: WRITE SAME failed. Manually zeroing. OS: CentOS 7.1 VmWare ESXI 5.5 1-st VM has LSI Logic Parallel type for SCSI controller on HDD Datastorage. ...
1
vote
1answer
38 views

tar ignoring “newer” option

How do I get tar to only include files newer than a certain date? I have tried the following, both of which include older and newer files (today is 2015-07-20): tar -cj -N 2015-07-07 directory | tar ...
2
votes
1answer
57 views

Yum error while installing MongoDB on CentOS?

I am using Centos 6.6 (x86_64) Trying to install most stable mongodb version available. but I am stuck with this error (which might seem repeated but none of the previous answers worked for me) ...
0
votes
1answer
38 views

Writing an install script for CentOS

Every time I deploy a VPS server, I install VNC server. But every time I have to do this: yum groupinstall Desktop yum install tigervnc-server yum install vnc yum install firefox (etc.) Can I ...
-1
votes
0answers
12 views

longman contemporary dictionary in centos

I installed longman contemporary dictionary in centos 6.6 via "sh setup.sh" it is done successfully but when I run it by ./ldoce5 I have the first page but I can't select any icon (any error) I mean ...
0
votes
1answer
40 views

How to create Swap from already created mount points

I have prepared a CentOS 6.5 with all mount points at formatting time, including swap. Now, when I am trying to run command swapon, it shows 0 0 0. And when I am trying to create it again using ...
1
vote
1answer
34 views

Cent OS 6.6 enable Plaintext authentication on dovecot and postfix

A customer of mine wants to use gmail as their default mail client but I have rolled forward to a new CENTOS server version (6.6, ok it's not "new" new) and the dovecot and postfix settings are ...
0
votes
0answers
30 views

EXT4 Journaling - Problem

Basically my root (/) ext4 partition keeps being mounted as read-only when I apply internal journaling feature. I understand that this should be default, but today I had been trying to apply external ...
0
votes
1answer
757 views

changing default centos 7 workspaces

On CentOS7, using the gnome environment, I do not seem to be able to add, remove, or change the workspaces. I prefer to have 2 workspaces, or no workspaces, and understand the usefulness of the ...
0
votes
2answers
1k views

vgdisplay shows 0 free PE/size

I'm trying to configure a CentOS HA system with 2 nodes, with DRBD for replicated storage. I'm following the "Clusters from Scratch" guide, and at the DRBD portion, I need to create a partition for ...
-1
votes
0answers
10 views

Can't get DHCP on ovs port automatically

On centos7, I have disabled network manager in order to use OVS. however, I wish to get my IP address through DHCP on my port br-ex; if I edit /etc/sysconfig/network-scripts/ifcfg-br-ex to include ...
7
votes
7answers
10k views

jemalloc and other errors making redis on centos 6.4

I am setting up a new, dedicated, centos 6.4 system with redis. I have installed redis many times, but have never hit this issue (and have never been on centos 6.4 before). cd redis-2.6.16 sudo make ...
0
votes
1answer
23 views

virsh and creating storage pools - What is sourcepath “- - - -”

I am running CentOS 7 and was following a chapter in a book dealing with virtualization and creating storage pools. I successfully ran the following command, but I'm not sure what setting - - - - as ...
0
votes
1answer
52 views

How to install bower on CentOS 7?

I am trying to install bower on CentOS 7, after installing node.js. To install node.js I followed these steps: Step1: wget http://nodejs.org/dist/v0.10.30/node-v0.10.30.tar.gz Step2: tar xzvf ...
0
votes
1answer
20 views

How to determine or set keyboard shortcut for activities view in gnome3 on centos7?

Is there a way in Gnome3 on CentOS7 to list the actual keyboard shortcuts for things like the activities view? I can find lots of web pages that tell me what they should be, but I'd like to know for ...
0
votes
1answer
22 views

CentOS 6 Cron Logging Without Postfix

On a CentOS environment I am setting up, I have no need for email of any kind. I would like to simply disable postfix entirely, however this also disables logging from cron which I do need to have. ...
1
vote
1answer
1k views

Bridge does not get IP via DHCP at boot

I'm running CentOS 7. I'm not running NetworkManager, and I've actually uninstalled it. My system is supposed to acquire an IPv4 address via DHCP on br0 at boot. Howver, when I log in, it has no ...
1
vote
2answers
1k views

yum install mod_auth_token not working on CentOS

On CentOS 6.5 how do I make yum install mod_auth_token work these days? According to my own HOWTO I wrote 12 months back, you used to be able to just type it now you have to DIY it, which is bad ...
0
votes
1answer
15 views

Keyboard binding for “activities overview” in Gnome3 on CentOS7 only brings up applications menu

I found a "Gnome Help" web site that listed the keyboard shortcut for the "activities overview" screen, but I found that wasn't working. I then found the "Settings"->"Keyboard"->"System" preferences ...
1
vote
4answers
24k views

Yum update error: Could not retrieve mirrorlist

I'm trying to do yum update. This is the error I'm getting. sudo yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist ...
0
votes
1answer
29 views

NTFS formatting disabled while using Gparted in CentOS 7

I am using GParted for formatting my usb-device(a pendrive). And, I unmounted my device using the GUI program itself. The device doesn't show mounted anymore. When I try to format my ...
23
votes
5answers
38k views

How To Install Virtualbox Guest Additions On CentOS via Command Line only

Reading the Virtualbox user manual, I finally got [here], which explains how to install Virtualbox Guest Additions on a Linux guest via Command Line. But it's not clear enough for me (I just started ...
5
votes
1answer
2k views

How to create a git repo using Nginx?

I've a CentOS 5 server at domain.fr. I am trying to set a subdomain so that I can use it with git : git.domain.fr My repositories are in /home/git (example /home/git/repos.git) I've installed ...
1
vote
1answer
18 views

nfsstat -s: What does sequence mean?

I am having a lot of trouble with my NFS v4 server running over infiniband (IPoIB), every time the load gets high, the nfs server locks up and I have to reboot the server to fix the problem. I get the ...
0
votes
0answers
5 views

How to run Padre after installing via cpanm?

./cpanm Padre It looks like I could successfully install Padre. But.. How can I start it? I installed it with a normal user, not root.. where is the start script? [user@notebook ~]$ find . -type f ...