Red Hat Killing CentOS Linux, Fight for CentOS clone

RedHat, parent company of CentOS Linux announce it will stop supporting CentOS 8, the latest version of CentOS. CentOS is

CentOS 6 Invalid release/repo/arch combination

When i run yum update on a CentOS 6 server, i get error “Invalid release/repo/arch combination/”. This error is due

xfce remote desktop

Install Xfce VNC remote desktop on CentOS 7

Xfce is a lightweight linux desktop environment. You can install Xfce on a remote server or virtual machine, connect to

Disable SELinux on CentOS/RHEL

Disable SELinux on CentOS/RHEL

To disable SELinux Method 1 sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/selinux/config setenforce 0 Method 2 edit file vi /etc/selinux/config Find SELINUX=enforcing Replace

MariaDB install CentOS

Install Latest MariaDB on CentOS

To install the latest MariaDB on the CentOS server, go to https://mariadb.org/download/?t=repo-config On this page, select CentOS, then select your

Prometheus init script for CentOS 6

Prometheus init script for CentOS 6

Create init file. touch /etc/rc.d/init.d/prometheus chmod 755 /etc/rc.d/init.d/prometheus vi /etc/rc.d/init.d/prometheus Add following #!/bin/bash # # /etc/rc.d/init.d/prometheus # # Prometheus monitoring

rpmquery

rpmquery

rpmquery command allow you to check if a specific rpm package installed on your computer. rpmquery PKG_NAME Example root@server20 [~]#

Install PHP 5.6 on CentOS 7

Install PHP 5.6 on CentOS 7

To install PHP 5.6 on CentOS 7, enable EPEL repo and remi repo yum install epel-release -y rpm -ivh https://rpms.remirepo.net/enterprise/remi-release-7.rpm

yum commands

yum commands

Install a software with yum yum install PKG_NAME Uninstall a software yum remove Example for installing php and GD yum

EPEL – Extra Packages for Enterprise Linux

EPEL – Extra Packages for Enterprise Linux

EPEL (Extra Packages for Enterprise Linux) provide additional software for CentOS and RHEL. You can find more information about EPEL

Install elasticsearch on CentOS 7

Install elasticsearch on CentOS 7

To install elasticsearch, first install java yum -y install java-1.8.0-openjdk Import key rpm –import https://artifacts.elastic.co/GPG-KEY-elasticsearch Create file vi /etc/yum.repos.d/elasticsearch.repo Paste

yum [Errno 5] [Errno 2] No such file or directory

yum [Errno 5] [Errno 2] No such file or directory

When running yum update on CentOS 7 server, i get following error [root@server2 yum.repos.d]# yum update curl Loaded plugins: fastestmirror