how-to-monitor-php Monitoring PHP

Monitoring PHP

Monitoring PHP can help identify performance issues and ensure that your PHP applications are running smoothly. There are several ways to monitor PHP on a UNIX platform, including using built-in functions, monitoring tools, and logging. Built-in functions: PHP provides several functions that can be used to monitor the performance of your code, such as memory_get_usage() and microtime(). These functions can be used to measure the amount of memory used by a script, execution time, and other perfor...

quick-nfs-linux-setup Quick Guide Setting Up Network FileSystem

Quick NFS Setup

What is NFS?  The Network File System (NFS) is a client/server application that lets a computer user view and optionally store and update files on a remote computer as though they were on the user's own computer. The NFS protocol is one of several distributed file system standards for network-attached storage (NAS).  RedHat, Scientific Linux, CentOS, Fedora   Disable or allow firewall to NFS from clients connecting to NFS volume firewall-cmd --add-service=nfs --permanentfirew...

dev-tools

Installing Development Tools

Instructions are to install DevToolSet for CentOS 7.  Requirements  centos-release-scl - Software Collections ( SCL ) Repositorydevtoolset-7-gcc.x86_64devtoolset-7-gcc-c++.x86_64devtoolset-7-gcc-gdb-plugin.x86_64devtoolset-7-gcc-gfortran.x86_64devtoolset-7-gcc-plugin-devel.x86_64  Installing SCL Repository # yum install centos-release-scl Install the Development Tools  # yum install devtoolset-7-gcc*Note: This installs gcc version 7 as well. How to use the Development Tools&n...

netplan-with-network-manager

Change to Netplan with NetworkManager

Why Change to Network Manager?  Netplan is a YAML network configuration abstraction for various backends. Using Network Manager has several advantages for easy configuration of network devices. Netplan is easy to understand and strait forward because it uses YAML configuration. Requirements  Installing requirements for using Network Manager with Netplan. network-manager - network management framework (daemon and userspace tools) Installing Requirements  apt install -y network-mana...

creating-masquerade-in-ubuntu-18.04 Create MASQ in Ubuntu 18.04

Creating Ubuntu 18.04 Masquerade

Prerequisites Ubuntu 18.04.5 InstalledUpdated Operating to current patch levelBoth iptables-persistent & netfilter-persistent packages System Details  Ubuntu 18.04.5Internet interface: eno1Ubuntu 18.04.5 IP Address: 10.160.5.107 <-- we use the host IP as the gateway on all clients wanting Internet. Update Ubuntu 18.04  $ sudo apt update && apt upgrade -y Configuration  Edit /etc/sysctl.conf and insert the line below for IP forwarding  $ sudo vim /etc/sysctl.con...

data_recovery

Identifying Failed Storage Unit Drives

Requirements  1. Physical Server2. udisks2 - D-Bus service to access and manipulate storage devices 3. udisks2-lvm2 - LVM2 support for udisks2   Installing udisks2 $ sudo apt install udisks2Note: During the initial setup of storage servers it's a good practice to record drive information. In this article I'll explain how to save storage drive configuration and in the future recover drive/s easily. After installing udisks2 we can type the command below to save the configuration&nbs...

By accepting you will be accessing a service provided by a third-party external to https://www.klokur.com/