Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

learn more… | top users | synonyms (2)

1
vote
0answers
18 views

Setting old system date

I have a Centos 7 server running in a cloud-server provider (ProfitBricks). I need to setup a demo system but is really hard to create daily fake data. My idea is to configure this server with an old ...
0
votes
1answer
12 views

Create Partition (Standard partition vs LVM physical volume) in CentOS installation

All. Forgive me I not familiar with the Linux. I am trying to install CentOS in the VMWare. As I knew, Linux can only create three kinds of partitions. they are primary, extended, and logical, For ...
1
vote
1answer
12 views

Any preparation for oracle installation which need to be done in OS installation?

Please forgive me if I post the question in the inappropriate place. Because I am not sure if it belongs to the DBA SO. Thanks. I am trying to install CentOS 64bit in the VMware for Oracle 11g 64bit. ...
0
votes
1answer
13 views

linux server memory leakage, it grows inactive memory, how to find the process in inactive memory and to kill?

I have a problem with my Linux cent OS server, leakage of memory grows inactive memory, so how to find the process consists with huge memory in inactive memory to kill
0
votes
0answers
22 views

Error while shrinking root filesystem without booting a lived in centos 7 [duplicate]

I am following the steps in How to shrink root filesystem without booting a livecd After unmounting /oldroot, I am getting below error while resizing the rootlv. Please help. CentOs 7 ...
2
votes
1answer
44 views

sed unterminated `s' command [on hold]

I'm getting: sed: -e expression #1, char 46: unterminated `s' command On this code: sed -i.bak -c 's|net.ipv4.ip_forward.*|net.ipv4.ip_forward = 1|' /etc/sysctl.conf My editor is showing that ...
4
votes
1answer
206 views

How to know the utilization of intel CPU and GPU in Linux?

In ubuntu, to know the time taken by CPU to run a program we would use time in terminal. Whereas in case of intel GPU, we would use intel_gpu_time. But in case of CentOS time command works. But ...
0
votes
1answer
23 views

YUM update not working (Centos7, timeout) [on hold]

Ive set up a clean Centos7 (1511) minimal install on a dedicated machine. Internet IPv4 connectivity works (ping mirrorlist.centos.org). I am unable to execute yum update. I get the following error: ...
0
votes
1answer
19 views

Install samba4.4.4 from source on centos7

Following the steps on Samba wiki page, I was able to build the samba source code. However, after sudo make install, I could not start the samba service since there is no systemd entry under /usr/lib/...
0
votes
0answers
25 views

Trying to find something that can automatically delete certain lines of a text file after a certain amount of days

For example if I have test.txt and when I open it up it has 1 2 on the first line and 3 4 on the second. But after 2 days I want the second line gone but basically automated.
1
vote
1answer
19 views

Ask for password while mounting cifs share

I am looking for a way to make the mount command prompt for the password so my password doesn't show up in any system history, I thought I would have it run read -s -p command inside of the mount ...
0
votes
1answer
34 views

CentOS, how to watch YouTube videos with Mozilla Firefox?

I'm currently using a CentOS Linux release 7.2.1511 (Core) operating system on a Dell machine. I've been trying to watch YouTube videos with Mozilla Firefox ESR 45.1.1, but it never worked. ("It's ...
0
votes
0answers
13 views

Trouble mounting a centos NFS export on Windows 2012 R2

Hoping somebody can help me out here. Have been struggling with this for a while now. I have a Centos 6.7 box which has NFS installed. I have an export/share configured; my exports file is like so.....
0
votes
0answers
16 views

Install CentOS 6.2 GUI with XenServer 6.5

This is my first time to use XenServer 6.5. I want to add a CentOS 6.2 Virtual Machine into my XenServer. I put the CentOS 6.2 iso and added > vnc in boot parameter. Below are the screenshot: After ...
0
votes
3answers
34 views

How to stop receiving spam email from server

I have CentOS and the hosting provider provided me Plesk Control Panel. We used to have a problem that website was sending loads of spam emails. It was new joomla installed and it has ...
1
vote
1answer
30 views

kick off a systemd service just before shutdown

I am developing a systemd shutdown script (unit file) for a postgresql database and I followed the below two posts but could not get it to work. How to run a script with systemd right before shutdown?...
0
votes
1answer
31 views

I am facing huge attack of layer 7 on port 3306 can anyone help me?

I am facing huge attack of layer 7 on port 3306 can anyone help me? my iptables rules are good too 184 9568 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 ...
-4
votes
0answers
21 views

how can create proxy squid as proxy server in centOS 7? [on hold]

I want to create a proxy server in CentOS 7. If not centOS 7, I wonder what operating system is best forcreate squid proxy. i see them use window,ubuntu. but by the way, i just choice centOS. What I ...
1
vote
0answers
11 views

Why do I get “no credentials cache” error when mounting Kerberized NFS share?

I have two systems on a local network, nfsclient (CentOS 7) and nfsserver (CentOS 6). These names correctly resolve to their IP addresses, and Kerberos is working between them (nfsserver is the KDC). ...
1
vote
0answers
16 views

Changing CentOS 7 machines disables terminal access during background task

Based on this other posting, I typed the following command into a CentOS 7 terminal on a devbox that has the gnome GUI, and was able to continue to use the terminal for other commands while the ...
0
votes
0answers
17 views

How to disable IBus in CentOS 7?

There's a conflict with intellij IDEA for some reason. I see lots of pages on how to disable it in ubuntu (system settings gui), but nothing for CentOS.
0
votes
0answers
12 views

How to disable php execution using .htaccess rule

We have tried below .htaccess rule for disable php execution in a directory centos 6.5(CPANEL) based server. But its blocking all the files in directory like jpg, jpeg, png etc. We need to block only ...
0
votes
2answers
27 views

find IP and PORT in use by Apache

How can I find which IP:PORT Apache web server is monitoring? There are some network commands, but they show the TCP port in use. The machine has multiple network interfaces and the Listen section in ...
0
votes
1answer
29 views

Project Atomic registry not listening on 443

I'm using the official documentation for quick-start to install Atomic Registry on a Centos 7 atomic host, and it appears I can't access anything on port 443. (I also tried with a Fedora 23 atomic ...
0
votes
0answers
22 views

cant find sdb under /proc/partitions [closed]

[root@localhost /]# cat /proc/partitions major minor #blocks name 8 0 16777216 sda 8 1 512000 sda1 8 2 16264192 sda2 11 0 1048575 sr0 253 0 ...
2
votes
2answers
42 views

Ping from subinterface

I have a sub-interface eth0:0 auto eth0:0 iface eth0:0 inet static address 192.168.2.96 netmask 255.255.255.0 gateway 192.168.2.1 and I try ping -I eth0:0 8.8.8.8 and I ...
2
votes
1answer
37 views

using sudoers to allow non-privileged user to restart apache

We have production centos servers that run apache as root to allow low port numbers (80 and 443). We'd like a secure way for non-root users to restart apache. Are there any security implications ...
1
vote
1answer
34 views

/ Owned by postfix:root after installing iRedMail

I followed this tutorial to install iRedMail on my CentOS 7 x64 System: https://www.digitalocean.com/community/tutorials/how-to-install-iredmail-on-centos-6-5-x64 Why the *"$@*3 is / now owned by ...
0
votes
1answer
30 views

How to resolve duplicate packages due to interrupted yum update

This morning I went to update gitlab-ce using yum on our CentOS6 server from 8.8.4 to 8.8.5. Unfortunately about halfway through the first of the two gitlab-ce package install steps I accidentally ...
2
votes
1answer
34 views

unable to install centos on my windows 10 laptop making it dual boot

After hearing the news that CentOS 7 had been published, I decided to install it on my computer. I downloaded the ISO image from the CentOS official website (the one named CentOS-7.0-1406-x86_64-DVD....
4
votes
2answers
467 views

Why does 'cat useradd' succeed in this case?

I have a fresh installation of CentOS. I created a user and added it to wheel group (to add it to sudoers list). I logged in with the credentials of new user. I then run the command cat useradd. ...
2
votes
3answers
69 views

Work with compressed dd images

How Can I compress dd images and work with them at the same time? (Like on Windows I can mark it as compressed, and work with it like a normal file ) I cant re-partition, but I can mount some drives ...
0
votes
0answers
39 views

CentOS Virtualbox vdi to raw problem

So I had CentOS7 running on a virtual machine then I tried to move it to a physical hard drive using the commandline "D:\Program Files\Oracle\VirtualBox>vboxmanage clonehd --format RAW D:\Virtualbox \...
0
votes
1answer
43 views

CentOS 7 Why does the beep package not exist?

I am not able to find the fabled 'beep' package using a yum search. How am I to make a beep on my system from the terminal without the package? echo '\a' does not work either.
0
votes
0answers
89 views

Client to Client https in OpenVPN on CentOS 7

In the Centos 7 -hosted OpenVPN defined below, why can't the windows_client defined below https into the centos_vm1_client defined below? The problem seems isolated to the configuration of the ...
1
vote
0answers
37 views

Reinstaling NSS library on CentOS (Amazon AMI)

I had a problem during updating of the packages on CentOS AMI from Amazon (S3). I got a bunch of duplicated packages. Among them: nss-softokn-freebl-3.16.2.3-14.2.38.amzn1.x86_64 is a duplicate with ...
0
votes
1answer
44 views

Open Port 25 CentOS 6 with Plesk

I'm a total noob when it comes to server management. I've bought an unmanaged dedicated server. Mainly to help me learn. My email isn't working and the host support have told me I that need to open ...
0
votes
1answer
41 views

Mixing yum repos for different OS major versions does not work

First of all: I am well aware that in general it is a very bad idea to mix yum repos for different major OS versions. However on CentOS 7 I need a few packages from CentOS 6. So I have added CentOS 6 ...
1
vote
1answer
55 views

OpenVPN Server does not reply to Client ping

An OpenVPN client seems to initialize on a CentOS 7 client virtual machine. However, the response from the server is not clear when the client sends a ping. Specifically, ping 10.8.0.0 from the ...
0
votes
2answers
70 views

parsing using loop and assigning row numbers to file

It is a bit complicated. i have a configuration file. it looks something like this. customer="airtel" model_name=fast programmer_typ_of="dev" Now the 1st column contains all the keys and whatever ...
0
votes
0answers
30 views

Recover Files in Centos

i am changing all wwwroot folder file ownership root to www and all files automatically deleted or missing from /home/wwwroot folder. so if anyone know how to recover that files and why this happening ...
0
votes
0answers
14 views

selinux blocking vsftpd directory listing

I am trying to get a better understanding of selinux and configuring a local ftp repository on Centos7. I installed vsftpd on my host. I created a repository on my host: /var/ftp/pub/centos7 EFI ...
0
votes
0answers
29 views

pgloader in centOS 6.7

I'm trying to install pgloader on centOS 6.7 (64 bits) Steps wget http://pgsql.tapoueh.org/pgloader/pgloader-3.0.98-21.el6.x86_64.rpm rpm -Uvh pgloader-3.0.98-21.el6.x86_64.rpm Result -Uvh ...
0
votes
0answers
20 views

Using new apps with old distro

We have an old Centos 6 cluster installed in 2010. The kernel is old and accompanying set of system tools and applications are old as well. It is not being updated and I have no root access. I want to ...
0
votes
2answers
34 views

rpm -Vf doesn't report a changed file

I'm trying to write a puppet module that writes a templated config out but onlyif it's the stock config from the RPM (so as to not screw with any formatting they have going on). The rest of config ...
1
vote
1answer
33 views

How to create a default system wide dconf setting starting from just created ad-hoc user config?

I'm in need to standardize (a default standard desktop configuration for all existent and new users) a GNOME environment starting from an existent configuration of an ad-hoc created user. What I have ...
0
votes
0answers
23 views

Custom centos6.7 iso does not boot in uefi

I have created a custom CentOS 6.7 iso and in BIOS it boots and installs my application successfully. When I configured my VMware to boot in UEFI I get this error: -EFI Virtusl disk (0.0)... ...