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...

  50 Hits

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...

  875 Hits
how-to-enable-copy-paste-in-kvm-from-host Copy from Host to Virtual

Copy n Paste in (KVM) Kernel-based Virtual Machine

Requirements  KVM InstalledSpice-vdagent - Spice agent for Linux Explanation  Why would you copy and paste?  Answer: It makes life easier and otherwise a copy from the host to virtual wouldn't be possible without these instructions.   With these instructions you are able to copy text and paste in the virtual machine. Installation  Installation of the vdagent  $ sudo apt install spice-vdagent KVM Configuration  You must have the configuration setup like bel...

  1427 Hits
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: <-- 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...

  1436 Hits

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...

  1915 Hits

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...

  1821 Hits

By accepting you will be accessing a service provided by a third-party external to