How to Install Golang in Ubuntu 20.0.4
There are two ways to install Golang in Ubuntu. But to install the latest one, I highly recommend to download the binary file from the official go website.
golang website downloadDownload Golang binary file$ sudo wgetExtract the files from the downloaded tar file.$ sudo tar xvzf go1.15.6.linux ...
Setup Debug Log on Nginx
Add the following entry in "http{}" block on the /etc/nginx/nginx.conf log_format debug_val_format "$debug_val"; In the "server{}" block , for example, set the following entries. #For debugging set $d ...
Install MySQL 8.0 on CentOS8
Install MySQL Yum Repository Example: Download "mysql80-community-release-el8-1.noarch.rpm" wget Install "mysql80-community-release-el8-1.noarch.rpm" yum install mysql80-community-release-el8-1.noarch ...
React Native: Save Image File on Local Filesystem or Send it to the Server with REST API.
Case1. Save an Image File on Local Filesystem Because Image file is temporary saved on tmp directory just after it is picked by Image picker, the image file should be re-saved on the local filesystem ...
How to Set “OR”, “AND”, “SORT”, “LIMIT” Operator in Mongoose + MongoDB
Install Code Formatter “Prettier” on VSCode
How to Setup Static IP address on Ubuntu20.04 Server
If GUI is not installed on Ubuntu, you need to setup Network configuration by editing some files. Here is an example of how to set static IP address on Ubuntu 20.04. Move the default configuration fil ...
Firebase Realtime Database : Filter with REST API doesn’t work
Complex filter "orderBy" and "equalTo" doesn't work For example, if you send query with the simple REST API like , "userID"&qualTo="ABCDEFGHIJK3LLMNOPQRS" You may encounter the following Errors; E ...
Virtual Box : How to enable “Nested VT-x/AMD-V” of the Processor
"Nested VT-x/AMD-V" can not be changed by default On page of the Virtual Box 6.x, "Enable Nested VT-x/AMD-V" is grayed out and cannot be changed. Solution : Execute a VBoxManage command Move to the di ...
How To Terminate HTTPS at the Nginx Reverse Proxy Server
If you want to know how to setup a basic HTTP reverse proxy server with NGINX, please visit "How To Setup HTTP Reverse Proxy with Nginx" at first. In this article, we assumed that the basic setup for ...
Troubleshooting : Accidentally Shutdown MySQL 5.7 Once a Month
Problem: MySQL 5.7 is down. MySQL server is shutdown unexpectedly once a month. It happened when we updated MySQL to 5.7.24. In the /var/mysql.log, the following logs are shown. What is wrong? 2020-07 ...
How To Setup HTTP Reverse Proxy with Nginx
Useful Shortcuts for Visual Studio Code
Adjust Indent You can adjust indents manually with Alt + Shift + F keys. But if you don't want to type them every time, I recommend the auto indent feature. Move to > >. Then, Enter "formaton". You ca ...
How To Use Expo CLI Tool
If you haven't read "Which is Better? ExpoCLI Tool or React Native CLI", please visit this post at first. Start Expo CLI Tool After Install, start Expo CLI with the "npm start" command. Example: npm s ...
Perfect Cheat Sheet for Port Forwarding with iptables
For example, we assume that the packets received at the Node A's interface "192.168.0.3" will be forwarded from another interface "172.20.0.1" to the destination Node B "172.20.0.11". Forward From Nod ...
How To Change Timezone on Docker Containers
Option 1. Use the "/etc/localtime" file Mounting the "localtime" file is the most popular way to change the timezone of containers. Here is an example. Example: By using host server's "/etc/localtime" ...
Troubleshoot: Port Range Forwarding with -p Option is Unstable on Docker.
How To Get Let’s Encrypt Certificate on Ubuntu 20.04
How To Change Timezone on Ubuntu
Check Current Timezone $ timedatectl Example: $ timedatectl Local time: Wed 2020-07-01 01:35:04 UTC Universal time: Wed 2020-07-01 01:35:04 UTC RTC time: Wed 2020-07-01 01:35:05 Time zone: Etc/UTC (UT ...
How To Install Nginx on Ubuntu 20.04
How To Add Swap File on CentOS
Create Swap File Here, as an example, create a 400MB swap file "/swpfile". dd if=/dev/zero of=/swapfile bs=1M count=1048 mkswap /swapfile chmod 600 /swapfile After the swap file "/swpfile" is created, ...