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

Next revision
Previous revision
start:system:localization [2024/12/29 07:20] – created marlonivostart:system:localization [2024/12/29 07:43] (current) – [Network configuration] marlonivo
Line 1: Line 1:
 ====== Artix Linux Localization ====== ====== 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: Set the time zone:
Line 15: Line 6:
 </code> </code>
  
-Run hwclock to generate /etc/adjtime:+Run hwclock to generate ''%%/etc/adjtime%%'':
 <code> <code>
  hwclock --systohc  hwclock --systohc
 </code> </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+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+ 
 +\\ 
 +====== Localization ====== 
 +----
  
 Install a text editor of your choice (let's use nano here) and edit /etc/locale.gen, uncommenting the locales you desire: Install a text editor of your choice (let's use nano here) and edit /etc/locale.gen, uncommenting the locales you desire:
Line 34: Line 28:
 </code> </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:+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> <code>
- export LANG="en_US.UTF-8"     <-- localize in your languages + export LANG="en_US.UTF-8"    
- export LC_COLLATE="C"+
 </code> </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 with the command:
 +<code>
 + hostname='myhostname'
 +</code>
 +
 +And install your prefered DHCP client
 +<code>
 + pacman -S dhcpcd conman
 + rc-update add connmand
 +</code>
 +
 +
 +
start/system/localization.1735456855.txt.gz · Last modified: 2024/12/29 07:20 by marlonivo

Donate Marlon Ivo's Webpage