How to Change IP Address After Installing Ubuntu System

How to Change IP Address After Installing Ubuntu System

Ubuntu 22 uses Netplan to manage network settings by default. You can modify the static IP via the command line, and the desktop version also allows for graphical interface operations. The detailed tutorial is as follows: Command Line Method (Applicable for Server/Desktop Versions) 1. Check the network interface name: Open the terminal and enter ip … Read more

Installing MongoDB on Ubuntu Linux

Installing MongoDB on Ubuntu Linux

Recently, I researched MongoDB and documented the installation process. Download link:Try MongoDB Community Edition[1] # Download wget https://repo.mongodb.org/apt/ubuntu/dists/jammy/mongodb-org/7.0/multiverse/binary-amd64/mongodb-org-server_7.0.2_amd64.deb # Install apt install mongodb-org-server_7.0.2_amd64.deb systemctl status mongod # Location of service and conf files # /lib/systemd/system/mongod.service # /usr/bin/mongod –config /etc/mongod.conf <span>Modify the configuration file:</span> vim /etc/mongod.conf dbPath: Specify the data storage path logging: Log path port: … Read more

Linux System Programming: Setting Up a Development Environment with Virtual Machine, Ubuntu, SSH, and VSCode

Linux System Programming: Setting Up a Development Environment with Virtual Machine, Ubuntu, SSH, and VSCode

Introduction To learn Linux, we first need to install a Linux system. Since most students have Windows installed on their computers, we will set up a convenient Linux development environment using the combination of “Virtual Machine + Ubuntu (Linux System) + SSH + VSCode”. Computer Configuration Requirements • Memory: Recommended 4GB or more (8GB is … Read more

Installing Linux Subsystem on Windows

Installing Linux Subsystem on Windows

📢 Linux 1. Open PowerShell on Windows and enter wsl —install and press Enter 2. Wait until the panel shows operation successful 3. Open Microsoft Store and download Ubuntu The Windows Subsystem for Linux (WSL) allows you to run a Linux system environment on Windows. With WSL, you can install Redis just like on Linux. … Read more

Experiences with the Linux Desktop System

Experiences with the Linux Desktop System

Recently, due to the discontinuation of support for Win10, and since all the CPUs in my machines are Intel 7th generation and earlier, they cannot support a normal installation of Win11. Only my work machine has an AMD R5 5600 CPU, which has already been upgraded to Win11. So what should I do with the … Read more

Quickly Configure Mirror Sources for Various Linux Systems in 1 Minute

Quickly Configure Mirror Sources for Various Linux Systems in 1 Minute

Quickly Configure Mirror Sources for Various Linux Systems v.1.0 Configuring mirror sources in Linux systems is a key step to enhance the speed of software installation and updates. This document provides a concise and clear Standard Operating Procedure (SOP) to guide users on how to quickly configure mirror sources in different Linux distributions. 1. Configuring … Read more

Don’t Let an Old Linux Kernel Hold You Back: A Production-Level Kernel Upgrade Guide for CentOS / Ubuntu

Don't Let an Old Linux Kernel Hold You Back: A Production-Level Kernel Upgrade Guide for CentOS / Ubuntu

Hello everyone, I am Derek, focusing on practical operations, cutting-edge technology analysis, and career growth stories. If you are interested in “practical operational skills”, “popular interpretations of new technologies”, or “real workplace advancement experiences”, feel free to follow and share, let’s avoid detours on the technical road together~ When deploying Kubernetes, Docker, Containerd, and Calico, … Read more

How to Transform Your Smartphone into a Linux Workstation?

How to Transform Your Smartphone into a Linux Workstation?

If you are a developer familiar with the Linux environment or a Linux operations engineer, you will find that having a portable Linux workstation is very helpful for your work and study. Have you ever thought about transforming your smartphone, which you carry with you, into a Linux workstation? In this article, I will introduce … Read more

Method for Automatically Starting Frp Backend on Linux (Ubuntu)

Method for Automatically Starting Frp Backend on Linux (Ubuntu)

Background Summary Operating System: Ubuntu. The goal is to allow my frp backend to start automatically without interfering with other tasks, especially since the server often undergoes maintenance and reboots. Steps 1. Log into the server and enter sudo vim /lib/systemd/system/frps.service. This essentially creates a new file named frps.service in the /lib/systemd/system directory. Write the … Read more

Critical Vulnerability in Ubuntu Linux Kernel

Critical Vulnerability in Ubuntu Linux Kernel

Ubuntu Linux has been exposed to a critical vulnerability that affects systems running the 6.8.0-60-generic kernel version of Ubuntu 24.04.2. Local attackers can exploit this vulnerability to escalate privileges and ultimately gain root access on the affected systems. This vulnerability arises from an imbalance in reference counting within the af_unix subsystem, leading to a use-after-free … Read more