Skip to main content

KTDEVX

Connect to Ubuntu over SSH Using Public Key Authentication

When connecting to Ubuntu over SSH, using public key authentication instead of password authentication can improve security. This article explains how to configure SSH public key authentication. # Generate a Public and Private Key Pair First, generate an SSH key pair on the client. In this example, the ED25519 key algorithm is used. ssh-keygen -t ed25519 The following page explains how to generate SSH keys in detail. How to Generate an SSH Key

Build a Git Server at Home with a Raspberry Pi

Building a Git server at home is useful when you do not want to publish your source code or want to customize the server yourself. Let’s build a Git server using a Raspberry Pi, which is inexpensive and has extensive documentation available online. # Network Configuration The network configuration is as follows. A Git server is built on the Raspberry Pi so that PCs on the same network can access it.

Install Ubuntu on a Raspberry Pi

In addition to Raspberry Pi OS, you can also boot Ubuntu on a Raspberry Pi. This article explains how to install Ubuntu on a Raspberry Pi. # Install Raspberry Pi Imager Install a tool called Raspberry Pi Imager to write Ubuntu to a microSD card. Download the tool from the official website and install it on your PC. # Write Ubuntu to a microSD Card Write Ubuntu to a microSD card.

Enable SSH Access on Raspberry Pi OS

Raspberry Pi OS is an operating system for Raspberry Pi devices provided by the Raspberry Pi Foundation. Enabling SSH access allows you to access your Raspberry Pi remotely. This article explains how to enable SSH access on Raspberry Pi OS. # Launch the Configuration Tool Run the following command to launch the Raspberry Pi configuration tool. sudo raspi-config # Enable the SSH Server After running the command, the configuration screen is displayed.

Easily Install C/C++ Libraries on Windows Using vcpkg

vcpkg is a package management system for C/C++ libraries provided by Microsoft. This article explains how to install C/C++ libraries using vcpkg. # Benefits of Using vcpkg Normally, when using an open-source library on Windows, you must build it and resolve its dependencies yourself. If the library has a complex structure, simply installing it can take considerable time. With vcpkg, the tool performs these troublesome tasks automatically, making it easy to install libraries.

Recommended Git Workflow for Solo Development

A Git-based workflow is important even for solo development. Git makes version control and code history management easier. This article explains a recommended Git workflow for solo development. # Workflow Overview In this workflow, you create a working branch for each feature or bug fix, develop on that branch, and finally merge it into the main branch. To implement a new feature, the developer creates a working branch and develops on it.

Basic Git Operations

Git allows you to manage the history of changes for programs and documents, enabling you to revert to previous states and collaborate efficiently with others. This guide explains basic Git operations. # Install Git Detailed instructions for installing Git can be found in the following article. Refer to it to install Git in your environment. How to Install Git on Windows # Initial Git Configuration To use Git, you need to set your username and email address.

Migrate a Git Repository to Another Server

This guide explains how to migrate a Git repository to another server. # Create an Empty Bare Repository on the Destination Server First, create an empty bare repository on the destination server. Run the following command on the destination server: git init --bare The goal of this guide is to migrate the Git repository to this newly created bare repository. # Clone the Bare Repository from the Source Repository Run the following command on your PC to clone a bare repository from the source repository:

Install FriendlyWrt on NanoPi R2S

Installing FriendlyWrt on a NanoPi R2S allows anyone to easily set up a router. This guide explains how to install FriendlyWrt on the NanoPi R2S. # Introduction The NanoPi R2S is a single-board computer manufactured by FriendlyElec. With two Ethernet ports, it is ideal for use as router hardware. FriendlyWrt is an OpenWrt-based OS provided by FriendlyElec. It is open-source and suitable for developing routers, NAS, and IoT applications. # Download FriendlyWrt Go to the official download link and download the FriendlyWrt image file from 01_Official images/01_SD card images.

Install and Using Win32 Disk Imager

Win32 Disk Imager is a disk imaging tool for Windows. This guide explains how to install and use Win32 Disk Imager. # What is Win32 Disk Imager? Win32 Disk Imager is a Windows tool for writing disk images to SD cards and USB drives. It supports disk images in IMG format. With this tool, you can write a disk image to a removable drive or save the contents of a removable drive as an image file.