From 38ba79ffb507b907c4bc3f2de1421affda8e2975 Mon Sep 17 00:00:00 2001 From: medusa Date: Wed, 6 Aug 2025 11:22:15 -0500 Subject: [PATCH] Update tech_docs/linux/arch_deploy.md --- tech_docs/linux/arch_deploy.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/tech_docs/linux/arch_deploy.md b/tech_docs/linux/arch_deploy.md index 6ee7207..cf8f073 100644 --- a/tech_docs/linux/arch_deploy.md +++ b/tech_docs/linux/arch_deploy.md @@ -367,4 +367,36 @@ If you want a minimal desktop environment, consider installing Xorg and a lightw - **Regular Updates**: Regularly update your system using `sudo pacman -Syu`. - **Backup**: Regularly back up important data. -This setup guide provides a secure, minimal, and opinionated configuration for Arch Linux with a fun space-themed scheme. Adjustments can be made based on your specific needs and preferences. \ No newline at end of file +This setup guide provides a secure, minimal, and opinionated configuration for Arch Linux with a fun space-themed scheme. Adjustments can be made based on your specific needs and preferences. + +--- + +Sure, let's refactor that section to use UTC as the timezone. This is a common choice for servers and can simplify time management, especially in multi-timezone environments. + +### Refactored Section for Setting Timezone to UTC + +```bash +ln -sf /usr/share/zoneinfo/UTC /etc/localtime +hwclock --systohc +``` + +### Updated Step-by-Step Guide with UTC Timezone + +#### Step 6: Set Locale and Timezone +1. **Set locale**: + - Edit `/etc/locale.gen` to uncomment your locale (e.g., `en_US.UTF-8`): + ```bash + vim /etc/locale.gen + ``` + - Generate the locale: + ```bash + locale-gen + ``` + +2. **Set timezone to UTC**: + ```bash + ln -sf /usr/share/zoneinfo/UTC /etc/localtime + hwclock --systohc + ``` + +This change ensures that your system uses Coordinated Universal Time (UTC) as the timezone. This is particularly useful for servers and systems that need to interact with other systems across different timezones. \ No newline at end of file