Category: Linux Server

Ubuntu: 🌐 How to Set a Static IP Address on Ubuntu Using Netplan

When setting up a Linux serverβ€”especially for web hosting, file sharing, or remote access via SSHβ€”it’s often necessary to assign a static IP address. This ensures your server doesn’t get a new IP every time it reboots. If you’re running Ubuntu 18.04 or later, you’re likely using Netplan for network configuration. This guide will walk…
Read more


April 23, 2025 0

Ubuntu: Create, Remove and manage folders

πŸ“ Create and Delete a Folder (Directory) in Linux βœ… Create a Folder To create a folder (directory), use: πŸ—‘οΈ Delete a Folder To remove an empty directory: If the folder is not empty, use: ⚠️ Be cautious with rm -r β€” it deletes everything inside the folder. πŸ” Change Folder Permissions 1. Change Ownership…
Read more


April 23, 2025 0

Ubuntu: Mount/Unmount network share

πŸ”— Mount and Unmount a Network Share (SMB) πŸ“‹ Prerequisite: On most Linux distributions, you need to install the cifs-utils package to mount SMB (Windows) shares: πŸ”§ Manually Mounting a Share Tip: For better security, use a credentials file instead of putting the username and password directly in the command. βš™οΈ Automatically Mount at Boot…
Read more


April 23, 2025 0

Ubuntu: Automatically install updates

Ubuntu has a built-in mechanism for automatic security updates. You can enable it as follows: This will open a configuration screen where you can enable automatic security updates. πŸ”„ Enable Automatic Updates for All Packages If you also want to enable automatic updates for all other packages, you’ll need to modify the configuration files: Make…
Read more


April 23, 2025 0

Ubuntu: Install Copilot for Web based management of Server

πŸ“Œ Step 1: Update your package sources Open a terminal and run: πŸ“Œ Step 2: Install Cockpit Cockpit is available in the official Ubuntu repositories. Install it with: πŸš€ Extra options: Want the Docker, NetworkManager, or Storage modules as well? Install them with: πŸ“Œ Step 3: Start and enable the Cockpit service After installation, make…
Read more


April 23, 2025 0

Ubuntu: Check and Change timezone using CLI

πŸ•’ Timezones in Linux βœ… Check the Current Timezone To view the current system timezone, use: This will show output including the current timezone, local time, and system clock settings. 🌍 Change the Timezone To set a new timezone (e.g., Europe/Amsterdam), run: You can replace Europe/Amsterdam with any valid timezone. πŸ” List Available Timezones To…
Read more


April 18, 2025 0