April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Remove The GNOME GUI on RHEL 7 Centos 7 Fedora and Oracle Linux Server

[root@RHEL7HARDEN ~]# rpm -qa yum yum-3.4.3-132.el7.centos.0.1.noarch [root@RHEL7HARDEN ~]#

 

I captured the list of ‘Warning: group <groupname> does not exitst.’ (see previous post) from a ‘yum update’ run which I CTRL+c out of once the warnings ended. I removed the ‘Warning: group ‘ from the front and the ‘ does not exitst.’ from the back […]

Remove Old Kernels on RHEL, CentOS, Fedora

Remove Old Kernels on RHEL, CentOS, Fedora This is quick guide howto delete/remove/clean old kernels on Fedora, CentOS, Red Hat (RHEL). I use here two kernel as example, if you want to keep other more or less, then adjust amount of installed kernels as you wish. Normally reason why you maybe want remove kernels is […]

xmlrpc.php attack on WordPress – High CPU usage

xmlrpc.php attack on WordPress – High CPU usage

Just noticed that incoming emails were being delayed by about 30 minutes, we host our emails on Google Apps, so that couldn’t have been the issue. Next step was to investigate the server where the DNS of our domain was being hosted. Turns out the server was […]

Disable / Hide PHP Notices & Warnings – Server wide

Disable / Hide PHP Notices & Warnings – Server wide

A client’s website was continuously getting PHP Notices regarding PHP session clean up issues. The solution turned out to be more complicated than initially thought, sessions need to be moved into RAM.

A quick solution for this is to disable PHP from displaying Notices

error_reporting […]

ERROR: Installation can not proceed. Please fix your /etc/hosts file – Zimbra

This error took me an hour to solve ERROR: Installation can not proceed. Please fix your /etc/hosts file You need to make sure the hostname is on the first line and should match the hostname of the server. All the documentation I see mentions something like mail.domain.com. This leads to confusion because usually your server […]

Native memory allocation (mmap) failed to map XX bytes for committing reserved memory – JDK 1.8 – CentOS 6.7

While trying to check whether java was working I was repeatedly getting the following error: java -version

# # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 2555904 bytes for committing reserved memory. # Possible reasons: # The system is out of physical RAM […]

Apache’s Mesos and Google’s Kubernetes

Kubernetes is an open source project that brings ‘Google style’ cluster management capabilities to the world of virtual machines, or ‘on the metal’ scenarios. It works very well with modern operating system environments (like CoreOS or Red Hat Atomic) that offer up lightweight computing ‘nodes’ that are managed for you. It is written in Golang […]

Install Wget On CentOS 6.7 With A Wget Cheat Sheet

this quick and simple article, we will install wget command on a CentOS 6.7 server and we have included a wget cheat sheet. Wget is a free software package for downloading files using HTTP, HTTPS and FTP.

Prerequisites

A CentOS 6.7 server with Root privileges, if you do no have a server and would […]

How to merge contents of 2 files using paste?

This is one of the best command that facilitates the system admin to perform his specific tasks. Below is the list with the examples showing the paste command.

[localhost@localhost ~]$ cat file1 apple orange mango banana

[localhost@localhost ~]$ cat file2 coldplay westlife michael sunibigyana piyush

[localhost@localhost ~]$ paste -s file1 apple orange mango banana

[localhost@localhost […]

Sending SMS Notifications From Nagios

Sending SMS Notifications From Nagios In my last article I have discuses how to install Gnokii for sending/receiving SMS from your computer. Today I’ll explain how we are using Gnokii + Nagios for sending SMS notifications to our cell phones. Its a great way to get notify of the problems while on road.

I assume […]