diff options
| author | srdusr <[email protected]> | 2023-06-02 18:15:59 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2023-06-02 18:15:59 +0200 |
| commit | 42153fdfe527a8ff6f20cd1a00ee3f1e5b99c582 (patch) | |
| tree | ae8bbb648e3669ffa28a47713cd00ec21eab184b /cheatsheets/termux.md | |
| parent | 71ee14f26ab5959f8341c6aee688c4044a97991f (diff) | |
| download | notes-42153fdfe527a8ff6f20cd1a00ee3f1e5b99c582.tar.gz notes-42153fdfe527a8ff6f20cd1a00ee3f1e5b99c582.zip | |
Add info about configuring system (locale/timezone)
Diffstat (limited to 'cheatsheets/termux.md')
| -rw-r--r-- | cheatsheets/termux.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cheatsheets/termux.md b/cheatsheets/termux.md index d907c5c..f2d6fb1 100644 --- a/cheatsheets/termux.md +++ b/cheatsheets/termux.md @@ -5,6 +5,19 @@ - Change password of root `# passwd` +- Configure new system +- Setting correct live timezone + `# ln -sf /usr/share/zoneinfo/<Continent>/<City> /etc/localtime` +- Synchronize hardware clock to system clock + `# hwclock --systohc` +- Edit locale.gen file, replace vim with text-editor of choice + `# vim /etc/locale.gen` +- Uncomment `en_US.UTF-8 UTF-8` and any other needed locales (LANG variable), save and exit +- Generate locales + `# locale-gen` +- Also put the chosen locale into locale.conf + `# echo LANG=en_US.UTF-8 >> /etc/locale.conf` + - Install common base tools `# pacman -S vim sudo visudo wget networkmanager xorg xorg-server git openssh fakeroot base-devel tigervnc tmux neofetch` |