Entradas

Installing PHP on Ubuntu 22.04

 Thank to: https://tecadmin.net/ HP is a programming language used for developing web applications. You must install PHP packages on a Ubuntu system to run the application written on it. Generally, it is used to create e-commerce websites, blogs, and API applications. If you’re looking for an easy way to install PHP on Ubuntu 22.04, look no further. In this blog post, we’ll show you how to do it quickly and easily. We will use the  Ondrej PPA  for installing PHP on Ubuntu 22.04 LTS system. Which contains PHP 8.1, 8.0, 7.4, 7.3, 7.2. 7.1, 7.0 & PHP 5.6 packages. You can install any of the versions as required for your application. The new application developers are suggested to use the latest PHP version ie PHP 8.1. In this tutorial, you will learn  how to install PHP on Ubuntu 22.04 LTS  system. This tutorial is also compatible with Ubuntu 20.04, and 18.04 systems. Before We Begin First, login to the Ubuntu 22.04 via console. Then update the Apt cache a...

Soluciones para uso elevado de CPU FortiGate

Imagen
 Thank to: https://programmerclick.com/ Seleccione el menú [Tablero] - [Principal]. Hay un pequeño panel que muestra el uso de la CPU. Puede ver que la tasa de uso de la CPU es del 99% y la tasa de uso de la memoria es normal. ② Para evitar mostrar errores en la Web, ingresamos al modo de comando e ingresamos el comando get system performance status   , Puede ver que la CPU ocupa el 99%. ③ comando de entrada  diagnose sys top 10  Vea los procesos que usan más CPU. En la mayoría de los casos, el estado del proceso será R o S, lo que significa que el proceso está en ejecución o en suspensión. Vemos que se está ejecutando un proceso informado y está lleno de CPU. El numero 10 significa el tiempo de refresco. Una vez digitado aparecerá algo similar a esto: Primera columna es el nombre del proceso Segunda colomuna el PID del proceso Tercera columna  es el estado del proceso: S (idle) R (Running), Z (Zombie),  N ( low priority), <: (high priority) Cuarta...

How To Configure BIND as a Private Network DNS Server on Ubuntu

 Thank to: https://www.digitalocean.com/ Introduction An important part of managing server configuration and infrastructure involves maintaining a way to find network interfaces and IP addresses by name. One way to do this is to set up a proper Domain Name System (DNS). Using fully qualified domain names (FQDNs), instead of IP addresses, to specify network addresses optimizes the configuration of services and applications, and increases the maintainability of configuration files. Setting up your own DNS for your private network is a great way to improve the management of your servers. In this tutorial, you will set up an internal DNS server using two Ubuntu 22.04 servers. You will use the BIND name server software (BIND9) to resolve private hostnames and private IP addresses. This provides a central way to manage your internal hostnames and private IP addresses, which is indispensable when your environment expands to more than a few hosts. Prerequisites To complete this tutori...