Setting Up a Static IP on Ubuntu 24.04 LTS

Introduction In this article, we will discuss how to configure a static IP on Ubuntu 24.04 LTS. Static IP addresses are helpful for streamlining network management and ensuring reliable connections to your servers. We will cover the steps for configuring an IP address using netplan. Additionally, we will discuss the TUI (nmtui) and CLI (nmcli) methods for setting up a static IP address using NetworkManager. Benefits of a Static IP Consistency: Static IP addresses ensure stability by always using the same IP for network configurations. Remote Access: They simplify connecting to your server externally since the IP address remains consistent. Hosting Services: Static IPs are crucial for running services such as web servers and mail servers. Firewall Configuration: IP-based firewall rules are easier to manage with static IPs. Network Troubleshooting: Static IPs simplify diagnosing and resolving network issues. Methods 1. Configure a Static IP Using netplan (CLI) Open the Network Configuration File Ubuntu 24.04 LTS uses netplan to manage network configurations. Open a terminal window and run the following command to open your network configuration file: ...

August 10, 2024 · 5 min · 925 words · In-Jun Hwang

Understanding OAuth 2.0: Role Distribution Between Frontend and Backend

Introduction Let’s dive into a detailed explanation of OAuth 2.0. We’ll examine the entire flow using GitHub OAuth as an example, then break down the implementation roles between the frontend and backend with practical examples. What is OAuth 2.0? OAuth 2.0 is a standard protocol for securely delegating third-party access to user data. In simpler terms, it’s a protocol used when a user wants to grant another application access to their data. It’s commonly used in implementing login systems, allowing users to sign in using their accounts from other services. ...

August 3, 2024 · 6 min · 1236 words · In-Jun Hwang

Types and Characteristics of Network Switches and Selection Methods

Introduction In today’s digital landscape, network switches serve as the backbone of modern networking infrastructure. These devices play a crucial role in efficiently managing and directing network traffic. While they primarily operate at the data link layer of the OSI (Open Systems Interconnection) model, different types of switches have evolved to handle various networking needs. Let’s dive into the world of network switches, exploring their types, unique characteristics, and what you should consider when choosing one for your network. ...

August 1, 2024 · 8 min · 1610 words · In-Jun Hwang

PR (Pull Request) Review Guide

Introduction PR reviews are an essential activity for collaboration. By reviewing PRs, we can improve the quality of code and facilitate smoother communication among team members. In this post, we’ll explore the things to keep in mind and the best practices to follow when performing a PR review. Purpose of PR Reviews The main purposes of performing a PR review are: Improve code quality: By reviewing code from the perspective of another developer, we can write better code. Early detection of bugs and potential issues: By having multiple eyes on the code, we can spot issues that the author may have missed. Share knowledge: The code review process allows team members to share their knowledge and experiences with each other. Maintain consistency: We can ensure that the team’s coding style and conventions are being followed consistently. PR Review Checklist To ensure an effective PR review, the following aspects should be checked: ...

July 31, 2024 · 3 min · 439 words · In-Jun Hwang

Working with Helm: The Kubernetes Application Package Manager

Introduction Helm is a tool for seamlessly packaging and deploying Kubernetes applications. Dubbed as the “package manager for Kubernetes,” helm simplifies complex application constructs, eases version management, and streamlines the application lifecycle management. In this article, we will delve into the concepts of helm, from the basics to advanced usage. 1. Helm Fundamentals 1.1 What is Helm? Helm is a “package manager” in the Kubernetes ecosystem. It plays a similar role in Kubernetes as apt or yum in Linux or Homebrew in macOS. With helm, you can easily define, install, and upgrade complex Kubernetes applications. ...

July 28, 2024 · 6 min · 1128 words · In-Jun Hwang