Open in app

Sign In

Write

Sign In

Chi Thuc Nguyen
Chi Thuc Nguyen

245 Followers

Home

About

Feb 17, 2021

Visualize Nginx web Log with GoAccess

Install GoAccess (Ubuntu 18.04) Using apt $ sudo apt install goaccess For the latest version: $ echo "deb http://deb.goaccess.io/ $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/goaccess.list $ wget -O - https://deb.goaccess.io/gnugpg.key | sudo apt-key add - $ sudo apt-get update $ sudo apt-get install goaccess From source Install the dependencies: $ sudo apt-get install libgeoip-dev libncursesw5-dev

2 min read

Visualize Nginx web Log with GoAccess
Visualize Nginx web Log with GoAccess

2 min read


Jan 6, 2021

curl: methods, follow redirects, response headers, response time, multipart upload, authentication… and more

Basic usage: simple GET method This will make a GET request to the given URL and print response to stdout. $ curl https://example.com Ignore invalid and self-signed SSL connection errors with curl Use -k or --insecure option $ curl -k https://domain-with-insecure-ssl.com Print response headers Use -i option to print response headers and the response itself, -I option to omit the response and print response headers only.

Curl

3 min read

curl: methods, follow redirects, response headers, response time… and more
curl: methods, follow redirects, response headers, response time… and more
Curl

3 min read


Oct 18, 2020

How to use Nginx to proxy your S3 files

There are many benefits you can get when using Nginx to proxy your S3 (and others) files, such as: Proxy cache to leverage browser caching URLs masking that helps a lot in case you change cloud provider later Speed up transferring by offload SSL/TLS … This tutorial helps you through…

Nginx

5 min read

How to use Nginx to proxy your S3 files
How to use Nginx to proxy your S3 files
Nginx

5 min read


Aug 25, 2020

A Docker & Containers tutorial

Installing Docker Ubuntu From official docs: https://docs.docker.com/engine/install/ubuntu/ Uninstalling old versions: sudo apt-get remove docker docker-engine docker.io containerd runc Set up the respository sudo apt update Install packages to allow apt to use a repository over HTTPS: sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common

Docker

7 min read

A Docker & Containers tutorial
A Docker & Containers tutorial
Docker

7 min read


May 18, 2020

How to secure your Nginx website with SSL using Let’s Encrypt on Ubuntu 18.04

Let’s Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates for enabling encrypted HTTPS on web servers. It simplifies the process by providing a software client, Certbot, that attempts to automate most of the required steps for both Apache and Nginx. Install certbot …

2 min read

How to secure your Nginx website with SSL using Let’s Encrypt on Ubuntu 18.04
How to secure your Nginx website with SSL using Let’s Encrypt on Ubuntu 18.04

2 min read


May 18, 2020

How to config NGINX logging for Application Performance Monitoring

NGINX Built‑In Timing Variables NGINX provides a number of built‑in timing variables that you can include in log entries. All are measured in seconds with millisecond resolution. $request_time – Full request time, starting when NGINX reads the first byte from the client and ending when NGINX sends the last byte of the response body …

2 min read

How to config NGINX logging for Application Performance Monitoring
How to config NGINX logging for Application Performance Monitoring

2 min read


May 4, 2020

How to use RabbitMQ

Concepts Exchanges Messages are not published directly to a queue; instead, the producer sends messages to an exchange. An exchange is responsible for routing the messages to different queues with the help of bindings and routing keys. A binding is a link between a queue and an exchange. The routing key is…

5 min read

How to use RabbitMQ
How to use RabbitMQ

5 min read


May 4, 2020

How to install RabbitMQ on Ubuntu 18.04

Step 0: Install newest version of Erlang $ wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add - $ echo "deb https://packages.erlang-solutions.com/ubuntu bionic contrib" | sudo tee /etc/apt/sources.list.d/erlang.list then: sudo apt update sudo apt install erlang Check Erlang version: $ erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell

2 min read

How to install RabbitMQ on Ubuntu 18.04
How to install RabbitMQ on Ubuntu 18.04

2 min read


Oct 24, 2019

How to show current git branch with colors in Bash prompt

Adding current git branch name in Bash prompt with highlighted color can help to avoid a lot of problems with working on wrong git branches, which is a quite popular scenario to most of the developers sometime. This guide show to do it and explain some underneath concept of the…

Git

5 min read

How to show current git branch with colors in Bash prompt
How to show current git branch with colors in Bash prompt
Git

5 min read


Sep 26, 2019

Convert a scanned pdf to text with Linux command line using OCRmyPDF

OCRmyPDF is a free utility that allows you to convert a scanned pdf to text (ocr — optical character recognition). In fact, OCRmyPDF adds an OCR text layer to scanned PDF files over the original one, allowing them to be searched or copy-pasted. Main features Generates a searchable PDF/A file from a…

Pdf

2 min read

Convert a scanned pdf to text with Linux command line using OCRmyPDF
Convert a scanned pdf to text with Linux command line using OCRmyPDF
Pdf

2 min read

Chi Thuc Nguyen

Chi Thuc Nguyen

245 Followers
Following
  • The Scratch Team

    The Scratch Team

  • Netflix Technology Blog

    Netflix Technology Blog

  • Favio Vázquez

    Favio Vázquez

  • Mai Thanh Binh

    Mai Thanh Binh

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech