• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for April 2022

Nginx load balancing

by admin

Load balancing between multiple applications, backends, and servers is part of the process of optimizing resources, improving performance, and fault tolerance of the service. Nginx as a load balancer This web server is considered one of the most popular and productive solutions because it has the broadest functionality and flexibility when configuring. So Nginx is […]

Filed Under: Linux

nginx 504 gateway time-out

by admin

A 504 gateway time-out error occurs when Nginx cannot receive a response from the service long enough. For example from PHP-FPM. Nginx and PHP-FPM The most common cause of this error is the collaboration of Nginx and PHP-FPM. In case there are very slow PHP scripts, Nginx will give a 504 gateway time-out when it […]

Filed Under: Linux

Images preview with ngx_http_image_filter_module

by admin

Often on multimedia sites, there is the task of displaying pictures in various sizes (thumbnails). Moreover, in most cases, you have to support several dimensional versions of the pictures. Today, We will describe a module with the name “ngx_http_image_filter_module”. This module allows you to solve the problem of resizing images directly through a Web server […]

Filed Under: Linux

Image optimization with webp

by admin

We already did a few articles about image optimization jpegoptim, jpegtran, optipng, pngcrush, and ImageMagick. Today, We want to describe image optimization with webp. Minification and compression have long become quite standard things for optimizing web page code. All popular web resources optimize images, use the same CSS whenever possible, and choose the right image […]

Filed Under: Linux

How to Install awscli

by admin

What is the AWS CLI? The AWS Command Line Interface (CLI) is for managing your AWS services from a terminal session on your own client, allowing you to control and configure multiple AWS services and implement a level of automation. If you’ve been using AWS for some time and feel comfortable clicking your way through […]

Filed Under: DevOps, Linux

jpegtran for image optimization

by admin

jpegtran is a libjpeg command-line utility. It allows you to manipulate JPEG files, but its most useful function is optimization. Installation of jpegtran For Linux, this utility is usually found in packages: # apt-get install libjpeg-progs Usage For the basic version of optimization, we call the command: # jpegtran -copy none -optimize -outfile min.image.jpg image.jpg […]

Filed Under: Linux

jpegoptim for image optimization

by admin

Introduction Last time looked at the jpegtran command for optimizing images. Today, We will talk about jpegoptim. jpegoptim is a utility for optimizing JPEG files. It provides lossless optimization (based on optimizing the Huffman tables) and “lossy” optimization based on setting a maximum quality factor. Installation of jpegoptim For Debian users: # apt-get install jpegoptim […]

Filed Under: Linux

optipng for image optimization

by admin

Last time We were talked about jpegoptim and jpegtran. Today we will talk about OptiPNG. OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information. This program also converts external formats (BMP, GIF, PNM, and TIFF) to optimized PNG, and performs PNG integrity checks and corrections. Installation Check […]

Filed Under: Linux

pngcrush for image optimization

by admin

Last time we talked about jpegoptim, jpegtran and optipng. Today we’re going to talk about pngcrush – an optimizer for PNG (Portable Network Graphics) files. pngcrush can be run from a command line in an MSDOS window, or from a UNIX or LINUX command line. Installation of pngcrush On Debian, this utility is included in […]

Filed Under: Linux

imagemagick for image optimization

by admin

Last time we were talked about jpegoptim, jpegtran, optipng and pngcrush for image optimization. Today, We will review ImageMagick. Use ImageMagick® to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. […]

Filed Under: Linux

Next Page »

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright