Questions tagged [centos]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

ssh 3des private key encrypt and decrypt

i have converted my ssh private key with 3des encryption openssl pkcs8 -topk8 -v2 des3 -in ~/.ssh/id_rsa.old -out ~/.ssh/id_rsa how do I remove encryption and get the old key?
0
votes
1answer
1k views

Clonezilla pxe boot via uefi

I've succesfully setup Clonezilla boot on my Centos 7 PXE server legacy mode, but when I tried to get UEFI PXE working, I got stuck and it doesn't boot at all. I am using similar settings to launch it ...
1
vote
1answer
79 views

What will activating the web console (cockpit) do?

I just installed CentOS GNU/Linux (version 8 build 1905) on a machine; this wasn't my choice of distro - I'm a Debian man myself. Anyway, when I SSH into this machine (as a non-root user), it tells ...
1
vote
1answer
2k views

Not able to connect to openldap server in ldaps mode - CentOS

I have configured my openldap server in ldaps mode. But after configuring I am not able to connect it on 636 port where as I am able to connect on 389 port [root@testldap certs]# ldapsearch -x -LLL -...
1
vote
0answers
31 views

Is it possible to install a Linux distribution on a VM remotely?

I have access to a VM with CentOS. I connect to it using "ssh". I want to install Linux Kali: Can I make the installation via ssh? What would be the steps? Thank you
0
votes
1answer
989 views

KVM Centos 7 - unable to connect to virsh console

I have installed KVM server and all works fine. while I reading the book I need to connect virtual machine through the console. I mean, with virsh console machine. but when I do it, the virsh hangs ...
1
vote
1answer
1k views

CentOS 6 and Devtoolset-3

Trying to install C++ from Devtoolset-3 to my CentOS6 system I've ran into dependencies problem: bash-4.2# yum install devtoolset-3-gcc-c++ Loaded plugins: fastestmirror Loading mirror speeds from ...
1
vote
1answer
189 views

CentOS 7 firewalld errors and warnings after default install

My VPS provided a minimal CentOS 7 install which did not come with firewalld pre-installed. This question is related to this question I installed it and had the following errors at startup: # ...
2
votes
1answer
387 views

How to use POSTROUTING / SNAT with firewalld?

I try to set up SNAT with firewalld on my CentOS-7-Router like described here, with additions from Karl Rupps explanation, but I end up like Eric. I also read some other documentation, but I am not ...
5
votes
1answer
1k views

selinux, dovecot and sieve

I've just started learning to configure SELINUX and this morning on my CentOS 6.4 x64 system, with postfix/dovecot/mysql installed, I woke up to the following selinux issue found 1 alerts in /var/log/...
133
votes
2answers
217k views

In CentOS, what is the difference between yum update and yum upgrade?

What is the difference between yum update and yum upgrade, and when should I use one over the other?
0
votes
0answers
33 views

pure-ftpd: (?@?) [ERROR] Unknown authentication method: pam

I am using CWP for VPS server, but FTP stops working after I restart the server. before that, I have upgraded MariaDB and change hostname.FTP was working even after I upgraded MariaDB and restart the ...
0
votes
0answers
16 views

yum repo that keeps the latest build of python3?

I'm looking for a yum repository that keeps an up-to-date build of python3 for CentOS 7. I understand that I can build from source but it's too much of a hassle to keep it updated manually. Does ...
1
vote
1answer
1k views

Number of open file descriptors won't change when I set them in CentOS 6.3?

uname -a Linux lab.testing.com 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 i686 i386 GNU/Linux ulimit -Hn 1024 ulimit -Sn 1024 ulimit -n 1024 I opened /etc/sysctl.conf in vi and added ...
0
votes
0answers
11 views

problem with internet connection in fresh created VPS's

in my last server, I used virtualizor ~v3.0.1 and there is a little problem. when I create a new VPS the network configuration like IP and Gateway didn't set automatically and I have to set them with ...
0
votes
2answers
14 views

How to create another user admin to access admin directory centos6

i can add new user but i can't access another user directory $ adduser adminweb $ passwd adminweb $ chmod -aG adminweb admin how i can access directory such as /home/admin/public_html without ...
1
vote
1answer
70 views

How can I edit root /etc/fstab after boot failure in CentOS 7?

After an incorrect record was added to /etc/fstab, CentOS is, expectedly, failing to boot. I've been looking around and found a lot of different solutions but I'm unable to resolve my issue. When ...
18
votes
4answers
42k views

CentOS - killall command (to kill all processes with names matching a given pattern)

I recently started using CentOS. I went to try to use the killall utility but found it missing, with me receiving a command not found message when trying to use it. How can I get this functionality ...
1
vote
1answer
1k views

VirtualBox - Dynamic virtual disk won't expand

I'm working on a 64-bit CentOS 7 VM on my Windows 10 host, and I have a dynamically-allocated VHD that is giving me problems. At first, the VHD's maximum size was set to 16GB, functionally about 14.4 ...
0
votes
1answer
34 views

Error when installing Centos 8 on VM

I'm trying to install Centos 8 on a blank VM. I run the Centos 8 ISO and begin the installation. It gets past the kernel installation step but then it seems to crash and all I see is this: I have no ...
10
votes
7answers
18k views

Why won't the correct new version of Node.js install on CentOS 7?

Note: This is partially solved, but needs a little more attention. See notes at bottom of OP, and @Digisec's partial answer. I am trying to set up Node.js on CentOS 7, but the following commands ...
0
votes
0answers
15 views

Centos, add existing raid0 without lossing data

i had reinstalled centos 7 which has raid0 working fine previously. now my partition look like this: [root@ns31132644 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 223.6G ...
10
votes
3answers
10k views

mv: cannot move “home” to “home-old”: Device or resource busy

I want to replace /home with a symlink to my nfs-mounted home dirs. Only root is logged in, /home is not a separate filesystem, lsof shows no locks, selinux is permissive. What am I missing? I'm ...
1
vote
1answer
8k views

Job for vsftpd.service failed because the control process exited with error code

I can not restart the vsftpd. [root@localhost vsftpd]# service vsftpd restart Redirecting to /bin/systemctl restart vsftpd.service Job for vsftpd.service failed because the control process exited ...
1
vote
1answer
2k views

How to mount a xfs volume to centOS 7 ec2 instance /home directory

I created t2.medium instance and attached ebs volume to the instance Here are some useful information. sudo pvs PV VG Fmt Attr PSize PFree /dev/xvdb1 vg_home lvm2 a-- <200....
5
votes
2answers
303 views

Netbeans fonts have distorted between CentOS 7.2 and 7.4

I'm having problems with Netbeans (programming IDE, written using Swing) on CentOS 7.4. It worked fine on 7.2 but we upgraded some kernel modules. Since then some of the fonts within my Netbeans have ...
2
votes
2answers
4k views

No route to host on port (SSH)

I updated my SSH port from 22 to 6433 and now I can't SSH into my machine. I updated this line in /etc/ssh/sshd_config: # If you want to change the port on a SELinux system, you have to tell # ...
0
votes
0answers
3 views

creat a vm from a subscribe library

I want to creat a VM from a content library with saltstack, infortunatly saltstack can not list OVF extension. thanks for help
1
vote
2answers
20k views

Why am I denied access to phpmyadmin?

Here is what my phpmyadmin.conf file looks like: # # Web application to manage MySQL # <Directory "/usr/share/phpmyadmin"> Order Deny,Allow Allow from 192.168.0.2 Allow from 192.168.0....
0
votes
1answer
1k views

No Sendmail but ISPConfig Postfix

This is what php uses to send php mail with the php mail() function: ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ...
0
votes
0answers
7 views

How downgrade Kernel with MAAS on Centos?

I'm deploying some CentOS 7 machines with MAAS. To be compatible with an older (closed) driver I need to downgrade the kernel from the current 7.6 to the 7.4 kernel (3.10.0-693.21). Elaborating a ...
0
votes
2answers
1k views

CentOS 7 VNC users dont share desktop session

I installed VNC server on a CentOS machine. I set up a user, and then enabled the VNC server for them on startup following these steps: https://www.digitalocean.com/community/tutorials/how-to-install-...
0
votes
0answers
23 views

how to install angular on centos 7

After installing npm v6.12.0 , and node v10.3.0, I start installing angular on my machine centos 7 when it comes to the execution, that gives the following exception: [root@localhost ~]# npm ...
0
votes
2answers
1k views

I try to setup zabbix server on CentOS 6 (close system) but can find zabbix-server binary file after run rpm install rpm package

I am trying to set up zabbix on CentOS 6 in closed system (one with no internet connection). I can only put rpm(s) to that machine, and run command the command: rpm -ivh zabbix-2.2.3-1.el6.x86_64.rpm ...
0
votes
3answers
823 views

Failed to install ansible on CentOS 8

I cannot suceed to install ansible, I know the basic command is: yum install ansible but the output is: [root@localhost ~]# yum install ansible Last metadata expiration check: 0:36:48 ago on Sun ...
0
votes
1answer
1k views

auditctl -l shows only few rules

i am using /etc/audit/rules.d/*.rules files to generate the /etc/audit/audit.rules which has 120 lines. But if i run auditctl -l i get only 14 lines as a result though. Why is this ...
0
votes
0answers
11 views

yum behind proxy ignores proxy_authentication parameters

I'm trying to configure a linux (Centos 7) box behind a corporate proxy. The proxy requires authentication. I updated /etc/yum.conf by adding: proxy=http://my.proxy.server:8080 proxy_username=...
12
votes
4answers
91k views

CentOS 7 - yum install not working

Whenever I want to use command yum install <packagename> I get error: No package available For example, [root@cpanel1 etc]# yum install autossh Loaded plugins: fastestmirror Loading mirror ...
1
vote
1answer
25 views

CentOS 6 replaced with 7 - What should I check to make sure everything I need is on the new server?

I have a CentOS 6 server, and I am going to replace it with a new CentOS 7 server. I want to make sure I have everything I need on the CentOS 7 server that I used to have on the CentOS 6 server. Does ...
0
votes
0answers
34 views

centos 7 install docker failed

When i am going to install docker, the issue happens when I type in this command at Linux shell : sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo ...
2
votes
1answer
1k views

Resize qcow2 root parition

I'm trying to re-size the file system on a Centos 7 vm because I made the vm too small to even do a yum update. I already have done some configurations to the virtual machine and it would be pain to ...
0
votes
0answers
20 views

CentOS yum module not run

Our centOS version 6.6. i do install finical tools. For example: Preparing... ########################################### [100%] 1:tcl ###########################...
2
votes
1answer
2k views

Ansible command returns change instead of success

I'm learning ansible and encountered a situation which is not clear. Running the following module command the result is a 'Changed'. ansible agent.example.com -i inventory -m copy -a 'content="Node ...
0
votes
0answers
23 views

Fail2Ban does not want to run

I have this error when i lauchn Fail2Ban Service: systemctl status fail2ban.service ● fail2ban.service - Fail2Ban Service Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; vendor ...
0
votes
1answer
21 views

Installing competing library versions

On a CentOS 7 system, I have software installed that links to the libpqxx package from EPEL, which is version 4. I am trying to install software which links to the libpqxx package from the PostgreSQL ...
0
votes
1answer
2k views

ACPI: power off vs shutdown

I'm running a virtual machine with CentOS 7 guest. ACPI daemon is started. When I shutdown the hypervisor, then guest operating system powers off. I can see in guest's syslog that it was notified ...
2
votes
2answers
44k views

Why am I getting “Curl (6) Could not resolve host” after I did a “yum -y update”?

I have a CentOS 7.3 machine that is a guest running on Oracle VirtualBox. The host is a Windows machine. I can ping 8.8.8.8 from the Linux server. The Linux server can ping itself by its hostname ...
0
votes
1answer
34 views

Which fixes are in which CentOS release?

I need a list of fixes for each recent CentOS release. This feels like it should be simple, but I can't see a simple way to do it. It's not hard to find the Centos release notes: https://wiki....
0
votes
1answer
1k views

Site cannot be reached after installing centos 7

I have a server on centOs 7 with the ip as 192.0.2.123 and host name as www.example.com. now when i www.example.com hit the hostname in the browser i am getting This site can’t be reached The ...
0
votes
2answers
2k views

ntpd Configured for IPv6, Not Binding IPv6 Port

I have the following /etc/ntp.conf on CentOS 7.4: # /etc/ntp.conf: Ansible managed # drift file driftfile /var/lib/ntp/drift # restrictions restrict default nomodify notrap nopeer noquery restrict ...