Ansible Playbook – How to pass hostname or IP in the Command line

Today I was thinking about passing the host IP on the ansible-playbook I’m going to run to automate something. As per the documentation, it says  –i hostname in a comma separated input will work fine. I was trying to give the IP like ansible-playbook playbook.yml -i 1.1.1.1 in the playbook command line and it was not working, then I figured out that we need …

Ansible Playbook – How to pass hostname or IP in the Command line Read More »

How to exclude virtfs or any Mount Point from Zabbix Filesystem Discovery

I was configuring Zabbix for our cPanel servers. A few years back I had configured Zabbix with Manual mount points. But this time, I want to use the File System Discovery to make the setup easier for the team. The default configuration of Zabbix will detect all the virtfs mount point from the cPanel servers …

How to exclude virtfs or any Mount Point from Zabbix Filesystem Discovery Read More »

WordPress White page error – Call to undefined function imagecreatefromstring

If you ever get a white page on your WordPress, the best way to troubleshoot is to check the apache error log first. It will have enough information about the issue happening now.   In my case, the error was showing as below in the /var/log/httpd/error_log file.   PHP Fatal error: Uncaught Error: Call to …

WordPress White page error – Call to undefined function imagecreatefromstring Read More »

How to Install RedMine on CentOS 7

Install Software Collections yum -y install yum-plugin-priorities Add [priority=1] to official repository sed -i -e “s/\]$/\]\npriority=1/g” /etc/yum.repos.d/CentOS-Base.repo yum -y install epel-release Add [priority=5] to the EPEL repo sed -i -e “s/\]$/\]\npriority=5/g” /etc/yum.repos.d/epel.repo Add CentOS SCLo Software collections Repository. [root@aws ~]# yum -y install centos-release-scl-rh centos-release-scl Add [priority=10] to the SCL repository [root@aws ~]# sed -i …

How to Install RedMine on CentOS 7 Read More »

CentOS RHEL – reboot after kernel update or if reboot needed

Yum-Cron Yum-cron is used to update the server automatically. This service will update the server with all the packages or only the security patches as configured on /etc/yum/yum-cron.conf But, the yum-cron lack in reboot feature. If any packages, say kernel, glibc or gcc require a reboot of the server then we have to do the reboot manually. …

CentOS RHEL – reboot after kernel update or if reboot needed Read More »

Scroll to Top