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

learn more… | top users | synonyms (2)

0
votes
1answer
6 views

how can I delete the remnants of windows from a new CentOS 7 server?

I recently installed CentOS 7 on a new computer that came shipped with Windows 8.1. The BIOS no longer shows windows as a boot option. But my initial analysis of the file system is hard to ...
0
votes
1answer
12 views

how big should the /boot directory be in a CentOS 7 server?

I am installing CentOS 7 in a 200GB partition of a 2TB hard drive whose other partitions will later become managed by this master CentOS 7 installation. How big should the boot mount installation be? ...
3
votes
0answers
19 views

How to shrink root filesystem without booting a livecd

I find myself needing to rearrange a system's partitions to move data previously under the root filesystem into dedicated mount points. The volumes are all in LVM, so this is relatively easy: create ...
0
votes
0answers
12 views

Checking service log

So, I know that knowdays we can use journalctl -u SERVICE.service to check the logs of a service started using systemctl. The thing is that I got a machine with "old" (centos 6) linux and I wanted to ...
1
vote
0answers
29 views

Upgrading CentOS 6.7 to CentOS 7 on VMWare 11.0

I tried to upgrade(in-place) CentOS 6.7 to CentOS 7.0 on the various environments. I installed CentOS-6.7-x86_64-bin-DVD1.iso on VWware 11.0. And I followed the ...
0
votes
0answers
3 views

build memcached source on centos6.4 64bit fails

I'd like to build memcached from source on centos 6.4 x86_64 but only get following error. checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu ...
1
vote
2answers
22 views

No option of creating new file in centos 7 gui [duplicate]

I have recently installed centos 7 and was trying to create a new file through right click and selecting create a new file option as I have done in centos 6 but there is no option of create new file ...
1
vote
0answers
12 views

RedHat cluster with rgmanager or pacemaker as resource manager on Oracle VirtualBox

I'm learning RedHat cluster and I have setup a 3 node cluster (Centos 6.7), corosync, cman and rgmanager on Oracle VirtualBox version 5.x. The cluster is working fine (the clustat commmand shows that ...
0
votes
2answers
13 views

Extract the spec file out of an RPM

I have an RPM that I built. And I am looking to figure out how to extract the Spec file out of it. I have tried: rpm --scripts -qp sampleBuild.rpm That didn't work. Does anyone know the proper ...
0
votes
0answers
17 views

replacing windows 8.1 with CentOS 7

A new computer came pre-installed with Windows 8.1. It is an Acer Aspire T desktop. I would like to completely erase windows 8.1 forever from the machine, and replace it with CentOS 7. How can I ...
1
vote
1answer
15 views

Enabling FIPS on a luks encrypted CentOS system breaks boot password

For one of my apps I need to enable FIPS for OpenSSL, while simultaneously using software disk encryption. VM #1 I launched a CentOS VM instance which was software encrypted during install. The ...
1
vote
1answer
22 views

How to connect from one VM Guest instance to another to another VM Guest instance

I have Windows 7 as my Host OS and I have a VM guest instance of CentOs 6, now I have created a more Instance guest Centos 6 via Vagrant. All are working fine and I am able to do a ssh/ping from ...
0
votes
1answer
21 views

Installing Octave Dependencies on CentOS 6 using yum

I am trying to install Octave 4.0.0 (from source) locally in my home directory on a CentOS 6 cluster. This is a rather extensive install (see list of dependencies). I have several issues : From ...
0
votes
0answers
26 views

Partition resize in CentOS 7

I have a RAID 6 array set up under CentOS 7 which originally had four 1TB drives assigned, resulting in a total capacity of 2TB. After much fussing about as described here, I was able to add a fifth ...
1
vote
0answers
17 views

Maintain 32 and 64 bits version of rpm

let me explain this a little bit, I am in charge of update part of our company product from 32 to 64 bits. At the end, we should have a 64bits kernel + 32bits applications + some 64bits ...
1
vote
1answer
17 views

NFS + SFTP on the same directory - are there any pitfalls?

I currently have an SFTP (actually vsftpd) server I use for regular archives. The OS is Centos 7.0. While I used to use SFTP, I still could benefit from having an NFS connection to this server (rw). ...
0
votes
0answers
17 views

Strange Copy/Paste issue into Virtual Box

When I copy a command from Evernote on the Mac host into the CentOS (also tried Fedora and openSUSE) VM the command will not work. If I type in the same exact thing manually it will work. This ...
0
votes
0answers
7 views

Installing foreman 1.9 configuration help

I can't seem to find the answer that I am looking for so any help here would be hugely appreciated. I am doing a POC with foreman 1.9 on a CentOS7 server. Our infrastructure as it stands right now as ...
3
votes
0answers
40 views

Dual Boot Configuration with SSD and HDD

I'm very new to Linux. I have been using Windows/Mac during my whole life, but now I have decided to use Linux. So I'm trying to configure a dual boot system with Windows 10 and CentOS 7. I already ...
0
votes
0answers
9 views

Adding existing data to SVN server-side repository

I have a CentOS 7-based SVN server. Is there a way to create a repository over existing data? The server is based in /home/server. I need this folder to become an SVN repository, so my friends and I ...
0
votes
0answers
20 views

CentOS 7 installation falls back to text-mode on Parallels Server Mac VM

Every time I am trying to install CentOS 7 in Parallels Server Mac, the installation wizard falls back to text-mode. I am getting this error: X startup failed, falling back to text mode ...
3
votes
2answers
44 views

What is the problem of giving the right to use sudo vim? [on hold]

I'm using Mac OX 10.10. I would like to know what problems are caused by this: user ALL=(ALL) /usr/bin/vim /etc/httpd/confs/httpd.conf I think this is in /etc/sudoers. I also have Cent OS. Does this ...
1
vote
1answer
34 views

Why am I limited to ~10-20 usb devices?

I am trying to hook up 27 USB device to an Intel NUC running CentOS 7 but no matter what I do the system can never see more than 20. I have tried multiple models of NUCs and even tried adding an ...
0
votes
0answers
35 views

Adding CentOS 7 to Active Directory

I am having a hard time adding a CentOS 7 machine to my domain (Active Directory 2012 running in Windows 2008 mode). I am using realmd to join the machine to the domain. Here is what I have checked so ...
0
votes
1answer
17 views

Set persistent static routes for 4 interfaces on 2 CentOS 7.1 servers

I am tasked to set up two test servers running CentOS 7.1 (Minimal install; the NetworkManager is disabled on both), and have run into a set of issues that I would like to get help here. The ...
1
vote
1answer
22 views

Can't install fail2ban on Centos 7.1

I am trying to install fail2ban on my centos 7.1 server I did: yum install epel-release yum install fail2ban But i am getting some error messages: yum install epel-release Package ...
0
votes
0answers
16 views

Can't install additional debug infos in the CentOS 6.7

I am attempting to debug coredump of the some application on the latest CentOS 6.7 and gdb gives me hints that some debug infos are missing, for example: Missing separate debuginfo for ...
0
votes
1answer
32 views

Error becoming root centos

I'm getting the following error when I'm trying to become root -bash-4.1$ sudo su - Could not open a connection to your authentication agent. * Error: Problem adding; giving up I have tried eval ...
0
votes
0answers
17 views

/var/run/docker.sock: permission denied

I tried to run this docker image which load inside another image. However, I run into /var/run/docker.sock: permission denied on CentOS 6.6 and docker 1.7.1 which I reported here. Which linux ...
0
votes
1answer
16 views

how to install claws-mail rpm package?

I want to install claws-mail into my centos7 with three different methods,all of them fails. method1:intall directly [root@localhost ~]# yum install claws-email Loaded plugins: fastestmirror, ...
4
votes
0answers
23 views

Change eth settings before udev loads

I have a custom version of CENTOS that I'm importing into Hyper-V on a Windows Server. Whenever I import it however, the mac addresses of eth1 and eth2 are now different. So they get incremented to ...
0
votes
1answer
41 views

How to start my network in centos7?

I have edited the /etc/sysconfig/network-scripts/ifcfg-enpos2 : BOOTPROTO="static" IPADDR=192.168.1.105 NETMASK=255.255.255.0 NM_CONTROLLED=no I can't surf the web When to reboot,how to start my ...
0
votes
1answer
17 views

persisting multi-factor user data for custom pam authentication in CentOS 7

I am designing n-factor authentication for CentOS 7 using a custom PAM module. When the user tries to SSH, they will be texted a pin code, and be prompted to enter the pin. Where should I store the ...
0
votes
2answers
34 views

How to configure Apache init scripts, after compiling and installing the sources?

I installed Apache using this script https://gist.github.com/Benedikt1992/e88c2114fee15422a4eb The system is a freshly installed CentOS 6.7 minimal system. After installation I can find the apache ...
-1
votes
0answers
11 views

Centos Apache virtualhost bugs when not using www

I have these extra lines in default httpd.conf: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "/var/www/html" ServerName maindomain.com </VirtualHost> <VirtualHost ...
0
votes
0answers
3 views

SASL fails to with against LDAP

So I am running into a whirlwind of issues with my cyrus install. I am setting up a multi-domain kolab groupware solution. I am on centos 6.7 I am getting this flooding my error logs when I try to ...
0
votes
1answer
17 views

Lock SSH DOR access the same as VSFTPD?

I'm quite new to Linux, I'm running CentOS 6.7 and I'm trying to follow best practice procedure of creating a user "instead of using root" but I want to restrict their SSH file browsing capability to ...
0
votes
1answer
9 views

setting up subdomain at centmin mod

I am in need of help at setting up subdomains in my CentOS using centmin Mod. This is what I have done so far. Purchase a VPS with IP address: xxx.xxx.xxx and hostname: ns.mydomain.com Install ...
0
votes
1answer
28 views

Uninstalling packages installed by debuginfo-install

How do I delete debug packages that are installed by debuginfo-install? When I search for them via sudo yum list installed none of the installed packages are listed, even when I enabled the debuginfo ...
0
votes
0answers
28 views

Start SSH in CentOS rescue mode

I am booted into rescue mode after inserting. OS is CentOS 6.7 64 I've tried cd /mnt/sysimage chroot /mnt/sysimage service sshd restart which gave back service command not found
2
votes
3answers
37 views

Migrate mail from dovecot on centos to dovecot on debian

I am trying to migrate a number of user mail accounts from dovecot 1.0.7 on a centos 5.11 server to dovecot 2.1.7 on a debian 7 server Foolishly I thought I could simply replicate the Maildirs from ...
0
votes
0answers
29 views

CentOS DNS Server for localhost

I need install the DNS Server (BIND - CentOS 7) to work only locally. I mean, the same CentOS that has the BIND will connect/search in the DNS, any other host will 'connect' with this machine. The ...
2
votes
2answers
38 views

automating CentOS 7 configuration using shell scripts

I notice I spend a lot of time using tutorials to manually configure a CentOS 7 server. How can I convert the manual steps from a tutorial into an automated shell script that can be used to configure ...
0
votes
2answers
38 views

error when adding user to wheel group in CentOS 7

I am trying to grant sudo privileges to a user of a CentOS 7 devbox by typing gpasswd -a user wheel, but the attempt is failing. What am I doing wrong? Here is what I typed: I discovered that ...
0
votes
0answers
24 views

vpn connection was failed

I have CentOS 6.6. I used a Cisco compatible VPN (vpnc), but after I made a VPN and clicked on it, I got the following error message: the vpn connection "1" was failed" Then, when I used this ...
2
votes
2answers
55 views

Find last time yum update was run

Am building a script to find out when a list of servers was last fully updated with yum update. I can find it by a history |grep "yum update"|head -n 1 however, the problem is that a user could have ...
9
votes
1answer
141 views

Why does oot say “hey” in usleep -o?

On a Centos 6.6 box I noticed this... [root@abcd /]# usleep --help Usage: usleep [microseconds] -v, --version Display the version of this program, and exit -o, --oot oot says hey! ...
0
votes
2answers
75 views

Ansible nginx service on CentOS 6.7

I'm newbie in Ansible and I am trying to install and start nginx on my CentOS 6.7 test box. My playbook --- - hosts: testing tasks: - name: Install nginx package yum: ...
0
votes
0answers
25 views

CentOS lock screen not unlocking

I have a centOS VM that when I lock the screen it will not let log me back in. I can enter my password as many times as I'd like, even try to "switch users" but the VM just ignores everything and ...
-1
votes
0answers
34 views

Cannot retrieve repository metadata when using yum

I ran this command: yum update which gave me the following error: Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile ...