Entradas

Mostrando entradas de octubre, 2022

Ubuntu 20.04.3 Fail to Start sshd Error: Failed to start OpenBSD Secure Shell server

Imagen
 Thank to: https://programmerah.com/ Environmental Science: Ubuntu 20.04.3-live-server Hyper-V virtual environment Problem Description: Ubuntu 20.04.3 fails to start sshd with error: failed to start OpenBSD secure shell server sshd – T prompt sshd: no hostkeys available – exiting. Solution: 1. Check whether the SSH service is enabled PS  -  e  |  grep ssh No response 2. Install ssh apt update apt - get install openssh - server openssh - client Prompt installed 3. Implementation /etc/ init . d / ssh start fail to start Continue to execute  ssh - keygen  - A Restart successfully

How to Cache Content in NGINX Webserver

Imagen
 Thank to: https://www.tecmint.com/cache-content-with-nginx/ NGINX   being a consolidated open-source, high-performance web server that speeds up content and application delivery, enhances security, and improve scalability. One of the most common use cases of   Nginx   is a   Content Caching , which is the most effective way to boost the performance of a website. Read Also :  10 Top Open Source Caching Tools for Linux You can use  NGINX  to accelerate local origin servers by configuring it to cache responses from upstream servers and also to create edge servers for content delivery networks ( CDNs ). NGINX powers some of the largest CDNs. When configured as a cache, NGINX will: cache static and dynamic content. improve dynamic content performance with micro-caching. serve stale content while revalidating in the background for better performance. override or set Cache-Control headers, and more. In this article, you will learn how to configure  NGINX  as a  Content Caching  in Linux to m