Marlon's Wiki

it's better when it's simpler

User Tools

Site Tools


start:system:localization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start:system:localization [2024/12/29 07:43] – [Network configuration] marlonivostart:system:localization [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Artix Linux Localization ====== 
- 
-Set the time zone: 
-<code> 
- ln -sf /usr/share/zoneinfo/Region/City /etc/localtime 
-</code> 
- 
-Run hwclock to generate ''%%/etc/adjtime%%'': 
-<code> 
- hwclock --systohc 
-</code> 
- 
-Note that this will default to UTC. If you use Windows and you want the time to be synchronized in both Artix and Windows. 
- 
-\\ 
-====== Localization ====== 
----- 
- 
-Install a text editor of your choice (let's use nano here) and edit /etc/locale.gen, uncommenting the locales you desire: 
-<code> 
- pacman -S nano 
- nano /etc/locale.gen 
-</code> 
- 
-Generate your desired locales running: 
-<code> 
- locale-gen 
-</code> 
- 
-To set the locale systemwide, create or edit ''%%/etc/locale.conf%%'' (which is sourced by /etc/profile) or /etc/bash/bashrc.d/artix.bashrc or /etc/bash/bashrc.d/local.bashrc; user-specific changes may be made to their respective ~/.bashrc, for example: 
-<code> 
- export LANG="en_US.UTF-8"     
-</code> 
- 
-\\ 
-====== Network configuration ====== 
----- 
- 
-Create the hostname file: 
-<code> 
- nano /etc/hostname 
- myhostname 
-</code> 
- 
-Now add matching entries to hosts: 
-<code> 
- nano /etc/hosts 
- 127.0.0.1        localhost 
- ::             localhost 
- 127.0.1.1        myhostname.localdomain  myhostname 
-</code> 
- 
-If the system has a permanent IP address, it should be used instead of 127.0.1.1. 
- 
-If you use OpenRC you should add your hostname to /etc/conf.d/hostname too: 
-<code> 
- hostname='myhostname' 
-</code> 
- 
-And install your prefered DHCP client 
-<code> 
- pacman -S dhcpcd conman 
- rc-update add connmand 
-</code> 
- 
- 
  
start/system/localization.1735458213.txt.gz · Last modified: by marlonivo