PHP-FPM Process Managers Introduction When looking into issues or configuration of php-fpm, its best to first understand the 3 process managers the php fpm can use. A lot of the [ … ]
PHP-FPM Installation and Setup
Web server PHP should not run under the same uid/gid (user/group) as the web server (“apache”, “www-data”, “nginx”, etc.). This problem is common when running Apache with mod_php, or [ … ]
ClamAV
Overview ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats Installation RHEL / Cent ### Requires EPEL yum install clamav clamav-update -y [ … ]
YUM Commands
1) How to display a list of updated software and security fix yum list updates 2) How to find out whether updates exist for packages that are already installed on [ … ]
Networking for Linux
What is a Network? When two or more computers and computing devices connected together with each other through communication channels, such as cables or wireless media and sharing some files, [ … ]
Python commands for DevOps Phase 2
1. Creating a Docker Image with Python Using docker library to build an image: python import docker client = docker.from_env() # Dockerfile content dockerfile_content = “”” FROM python:3.9-slim WORKDIR [ … ]
Python commands for DevOps Phase 1
1. File Operations Read a file: python with open(‘file.txt’, ‘r’) as file: content = file.read() print(content) Write to a file: python with open(‘output.txt’, ‘w’) as file: file.write(‘Hello, DevOps!’) [ … ]
Ansible Interview Questions & Answers
Q1.Install and configure Ansible on the control-node control.realmX.example.com as follows: –> Install the required packages –> Create a static inventory file called /home/admin/ansible/inventory as follows: node1.realmX.example.com is a member of [ … ]
Ansible Project
LAMP Stack Setup and Web Application Deployment with Ansible 1. Playbook to Install and Configure Docker yaml — – name: Install and Configure Docker hosts: all become: yes tasks: – [ … ]
Ansible Phase 3
1. Playbook to Configure NTP (Network Time Protocol) yaml — – name: Configure NTP on Servers hosts: all become: yes tasks: – name: Install ntp package apt: name: ntp state: [ … ]