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:28] marlonivostart:system:localization [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Artix Linux Localization ====== 
- 
-Update the system clock 
- 
-Activate the NTP daemon to synchronize the computer's real-time clock: 
-<code> 
- rc-service ntpd start 
-</code> 
- 
-Configure the system clock 
- 
-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, follow System_time#UTC_in_Windows:ArchWiki for instructions to enable UTC in there also. 
-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"     <-- localize in your languages 
- export LC_COLLATE="C" 
-</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.1735457291.txt.gz · Last modified: by marlonivo