Nginx with PHP8.1 FPM on Ubuntu 20.04

  • avatar
  • 805 Views
  • 13 Likes
  • 5 mins read
Preview post image

PHP is a general-purpose scripting language geared towards web development. PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or as a Common Gateway Interface (CGI) executable.

By default Nginx is not capable of processing dynamic web pages with PHP so it requires the use of specific additional plugins for this purpose. One of these plugins is FPM (FastCGI Process Manager). FPM is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites. It is the preferred method of processing PHP pages with Nginx and is faster than traditional CGI based methods.

How to install MongoDB 5 on Ubuntu 20.04

  • avatar
  • 390 Views
  • 12 Likes
  • 6 mins read
Preview post image

MongoDB is one of the popular open source and document oriented database systems. It belongs to a family of databases called NoSQL, which is different from the traditional table based SQL databases. It makes use of collections, each having multiple documents, and allows the user to store data in a non relational format. Data is stored in flexible, JSON-like documents where fields can vary from document to document.

How to setup cron jobs to automate regular tasks on Linux

  • avatar
  • 448 Views
  • 1 Likes
  • 3 mins read
Preview post image

Cron is a time-based job that runs in the background at specific intervals or designated times. It allows you to run tasks and scripts automatically, making cron useful for automating maintenance-related tasks. Therefore, it is a very popular server administration tool.

Cron is present in all Linux distributions. However, if it is not installed, you can install it using apt:

 Join Our Newsletter

Get the latest news and articles to your inbox every month

Compressing PNG images on Linux

  • avatar
  • 240 Views
  • 3 Likes
  • 4 mins read
Preview post image

PNG is short for Portable Network Graphic, a type of image file. It’s particularly popular file type with web designers and widely used on websites to display high-quality digital images because it can handle graphics with transparent or semi-transparent backgrounds. PNG files, which use the .png extension, can handle 16 million colors - which definitely sets them apart from most file types.

How to add swap space to your Ubuntu

  • avatar
  • 441 Views
  • 5 mins read
Preview post image

Swap space is the area on a hard disk. It holds memory pages that are temporarily inactive. Swap space is used when your operating system decides that it needs physical memory for active processes and the amount of unused physical memory is insufficient. When this happens, inactive pages from the physical memory are then moved into the swap space, freeing up that physical memory for other uses.

Install and configure Nginx on Ubuntu

  • avatar
  • 557 Views
  • 1 Likes
  • 5 mins read
Preview post image

Nginx is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, Nginx can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers.

How to install MySQL 8.0 server on Ubuntu

  • avatar
  • 503 Views
  • 1 Likes
  • 9 mins read
Preview post image

MySQL is an open-source relational database management system (RDBMS). Its name is a combination of My and SQL the abbreviation for Structured Query Language. A relational database organizes data into one or more data tables in which data types may be related to each other; these relations help structure the data. SQL is a language programmers use to create, modify and extract data from the relational database, as well as control user access to the database.

Install and configure Apache on Ubuntu

  • avatar
  • 380 Views
  • 1 Likes
  • 5 mins read
Preview post image

Apache or Apache HTTP server is a free and open source web server, developed and maintained by the Apache Software Foundation. It is one of the most popular web servers in the world. Apache allows website developers to serve their content over the web and provides many powerful features that can be extended through additional modules.

How to install PHP-FPM on Ubuntu

  • avatar
  • 419 Views
  • 4 mins read
Preview post image

By default Nginx is not capable of processing dynamic web pages with PHP so it requires the use of specific additional plugins for this purpose. One of these plugins is FPM (FastCGI Process Manager). FPM is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites. It is the preferred method of processing PHP pages with Nginx and is faster than traditional CGI based methods.