Configurare Sistem de operare

How to install Puppy Linux

Puppy Linux is a lightweight Linux distribution designed to run efficiently on both modern and older computers. Unlike many Linux distributions, Puppy is designed to be fast, portable, and capable of running entirely from RAM, resulting in quick boot times and responsive performance.

Some notable features include:

  • Extremely small download size
  • Low memory usage
  • Runs entirely from RAM (on systems with sufficient memory)
  • Can operate without a traditional installation
  • Excellent support for older hardware
  • Easy backup through save files or save folders
  • Includes a large collection of built-in applications
Part 1 – Choosing a Puppy Linux Version

Several Puppy Linux variants are available, each built on different package ecosystems.

Popular choices include:

  • Ubuntu-based Puppy (compatible with Ubuntu packages)
  • Debian-based Puppy (compatible with Debian repositories)
  • Slackware-based Puppy
  • Official Puppy Linux community releases

When selecting a version, consider:

  • Hardware age
  • Required software compatibility
  • Available RAM
  • Processor architecture (64-bit or 32-bit)

For most modern systems, a recent 64-bit release is recommended.

Part 2 – Preparing Installation Media

Requirements

  • USB flash drive (4 GB or larger)
  • Internet connection
  • ISO image
  • USB writing utility

Download the desired Puppy Linux ISO. Verify the checksum if one is provided. Create a bootable USB using your preferred imaging utility.

Part 3 – Booting Puppy Linux
  1. Insert the USB drive
  2. Enter the computer’s boot menu
  3. Select the USB device
  4. Boot Puppy Linux.

Most versions present a boot menu with default options.Choose the default entry unless you require special hardware options.

Part 4 – First Boot

Puppy usually starts directly into the desktop. Unlike many Linux distributions, you are often logged in automatically.

The desktop typically includes:

  • File manager
  • Terminal
  • Browser
  • Package Manager
  • Setup Wizard
  • System utilities
Part 5 – Initial Setup Wizard

Run the setup wizard if it does not start automatically.

Configure:

  • Keyboard layout
  • Display resolution
  • Time zone
  • Language
  • Locale
  • Hostname (if applicable)

Apply the settings.

Part 6 – Configure Networking

Wired Ethernet

Most wired connections are configured automatically.Verify connectivity by opening a browser or using:

ping puppylinux.com

Wi-Fi

Open the Network Wizard.

Select:

  • Wireless adapter
  • Available network
  • Enter Wi-Fi password
  • Connect

Save the profile for automatic reconnection.

Part 7 – Install to Internal Drive

Puppy Linux can operate in several ways:

Live USB

Runs directly from the USB drive.

Advantages:

  • No changes to internal disks
  • Portable
  • Easy testing
Frugal Installation

The recommended installation method.

Characteristics:

  • Uses only a few files
  • Shares partitions with other operating systems
  • Easy upgrades
  • Supports save files
  • Fast booting
Full Installation

A traditional Linux installation. Generally recommended only for specific use cases such as systems with very limited RAM or specialized requirements.

Part 8 – Frugal Installation

Launch the Puppy Installer.

Select:

  • Internal drive
  • Target partition

Copy:

  • vmlinuz
  • initrd
  • Main Puppy SFS file
  • Additional SFS modules if required

Install a bootloader.

Most recent systems use GRUB.Legacy BIOS systems may use GRUB Legacy or GRUB4DOS depending on the Puppy version.Reboot.

Part 9 – Save Files and Save Folders

One unique Puppy Linux feature is persistent storage.When shutting down for the first time, Puppy asks whether to save your session.Options include:

Advantages:

  • Portable
  • Easy backup
  • Fixed size

Typical sizes:

  • 512 MB
  • 1 GB
  • 2 GB
  • Larger as needed
Save Folder

Advantages:

  • Dynamic size
  • Better for large storage devices
  • No predefined size limit

Generally preferred on Linux-native filesystems.

Part 10 – Understanding the Filesystem

Important directories include:

/root

Default home directory.

/mnt

Mounted drives.

/etc

System configuration.

/usr

Applications.

/var

Logs and runtime data.

Part 11 – Updating Puppy Linux

Unlike rolling distributions, Puppy updates vary depending on the specific release.

Recommended approach:

  • Update package repositories
  • Install security updates when available
  • Upgrade individual applications as needed
  • Consider upgrading to a newer Puppy release periodically.
Part 12 – Package Management

Open Puppy Package Manager.

Features include:

  • Search packages
  • Install software
  • Remove packages
  • Manage repositories
  • View dependencies

Depending on the Puppy variant, packages may originate from:

  • Ubuntu
  • Debian
  • Slackware
  • Puppy repositories
Part 13 – Installing Additional Software

Examples include:

Development:

  • GCC
  • Make
  • CMake

Office:

  • LibreOffice

Graphics:

  • GIMP
  • Inkscape

Media:

  • VLC
  • Audacity

Development tools:

  • Git
  • Python
  • Node.js
Part 14 – Browser Installation

Many Puppy releases include a lightweight browser.

Alternatives include:

  • Firefox
  • Chromium
  • Pale Moon (where available)
  • Other compatible browsers

Install using the Puppy Package Manager or the package format supported by your Puppy variant.

Part 15 – Configure Audio

Open:

Setup → Sound Wizard

Verify:

  • Audio output
  • Microphone
  • Volume levels

Use the mixer utility to adjust sound levels.

Part 16 – Configure Printing

Open:

Printer Setup

Typical workflow:

  1. Detect printer.
  2. Install drivers if necessary.
  3. Configure the printer.
  4. Print a test page.

Many network printers are automatically detected.

Part 17 – Configure Display

Open the display configuration utility.

Adjust:

  • Resolution
  • Refresh rate
  • Multi-monitor settings (if supported)
  • Screen orientation

Apply and test changes.

Part 18 – Installing Drivers

Most hardware drivers are included in the Linux kernel.For proprietary graphics or wireless hardware, consult the documentation for your Puppy Linux variant to determine whether additional drivers are available.After installation, reboot if prompted.

Part 19 – Installing Development Tools

For software development, install:

  • GCC
  • G++
  • Make
  • Git
  • CMake
  • Python
  • OpenJDK (if needed)

Many Puppy releases also provide a “devx” SFS module containing compilers and development libraries that can be loaded without permanently installing every development package.

Part 20 – Automatic Startup

Applications can be started automatically during login.

Common startup items include:

  • Cloud synchronization
  • Clipboard managers
  • Custom scripts
  • Monitoring tools

Review the startup configuration provided by your Puppy version before adding applications.

Part 21 – Backups

Recommended backup strategy:

  • Backup the save file or save folder regularly
  • Backup personal files separately
  • Keep copies on an external drive
  • Test restoring backups occasionally.

Because most personal changes are stored in the save file/folder, copying it is often sufficient to preserve your environment.

Part 22 – Performance Optimization
  • Reduce startup applications
  • Remove unused packages
  • Use lightweight applications
  • Clear browser caches periodically.
  • Unload unnecessary services.

Puppy Linux is already highly optimized, so these steps generally yield modest improvements.

Part 23 – Security

Recommendations:

  • Use strong passwords where applicable.
  • Enable the firewall if your Puppy version provides one.
  • Install software only from trusted repositories.
  • Keep applications updated.
  • Avoid running unknown software with elevated privileges.
Part 24 – Useful Applications

Recommended software:

Productivity

  • LibreOffice
  • AbiWord

Internet

  • Firefox
  • Chromium

Media

  • VLC
  • MPV

Graphics

  • GIMP
  • Inkscape

Utilities

  • GParted
  • htop
  • rsync

Development

  • Git
  • Python
  • GCC.
[mai mult...]

NixOS installation guide

NixOS is a Linux distribution built around the Nix package manager, where the entire operating system is described as code. Instead of manually installing software and editing configuration files, you define your desired system state in configuration files.

Advantages include:

  • Fully reproducible systems
  • Atomic upgrades and rollbacks
  • Declarative package management
  • Reliable dependency isolation
  • Easy migration between machines
  • Excellent development environments

Part 1 – Preparation

Requirements

  • 8 GB RAM minimum (16 GB recommended)
  • 30+ GB storage
  • USB flash drive (4 GB or larger)
  • Internet connection
  • UEFI firmware (recommended)

Download the latest NixOS ISO and verify its checksum before writing it to a USB drive.

Part 2 – Booting
  1. Boot from the installation USB.
  2. Select the graphical installer or minimal installer.
  3. Open a terminal.

Become root if necessary:

sudo -i

Confirm networking:

ping nixos.org
Part 3 – Identify Storage

List disks:

lsblk

Example:

nvme0n1
├─nvme0n1p1
├─nvme0n1p2

Assume:

Disk:
/dev/nvme0n1
Part 4 – Partitioning

Using GPT:

parted /dev/nvme0n1 -- mklabel gpt

EFI partition:

parted /dev/nvme0n1 -- mkpart ESP fat32 1MiB 512MiB
parted /dev/nvme0n1 -- set 1 esp on

Root:

parted /dev/nvme0n1 -- mkpart primary 512MiB 100%
Part 5 – Filesystems

Format EFI:

mkfs.fat -F32 /dev/nvme0n1p1

Format root:

mkfs.ext4 /dev/nvme0n1p2
Part 6 – Mount
mount /dev/nvme0n1p2 /mnt

mkdir -p /mnt/boot

mount /dev/nvme0n1p1 /mnt/boot
Part 7 – Generate Configuration
nixos-generate-config --root /mnt

Files created:

/mnt/etc/nixos/configuration.nix

/mnt/etc/nixos/hardware-configuration.nix
Part 8 – Initial Configuration

Edit:

nano /mnt/etc/nixos/configuration.nix

Example:

{ config, pkgs, ... }:

{
  imports = [
    ./hardware-configuration.nix
  ];

  boot.loader.systemd-boot.enable = true;

  boot.loader.efi.canTouchEfiVariables = true;

  networking.hostName = "desktop";

  time.timeZone = "Europe/Bucharest";

  i18n.defaultLocale = "en_US.UTF-8";

  services.xserver.enable = true;

  services.displayManager.gdm.enable = true;

  services.desktopManager.gnome.enable = true;

  users.users.alex = {
    isNormalUser = true;
    extraGroups = [ "wheel" "networkmanager" ];
  };

  networking.networkmanager.enable = true;

  environment.systemPackages = with pkgs; [
    git
    vim
    wget
    curl
  ];

  system.stateVersion = "26.05";
}
Part 9 – Install
nixos-install

Set root password.

Reboot:

reboot

Remove the USB.

Part 10 – Enable Flakes

Edit:

/etc/nixos/configuration.nix

Add:

nix.settings.experimental-features = [
  "nix-command"
  "flakes"
];

Rebuild:

sudo nixos-rebuild switch
Part 11 – Convert to Flake

Directory:

/etc/nixos

Create:

flake.nix

Example:

{
  description = "Desktop";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  };

  outputs = { self, nixpkgs }:

  {
    nixosConfigurations.desktop =
      nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";

        modules = [
          ./configuration.nix
        ];
      };
  };
}

Rebuild:

sudo nixos-rebuild switch --flake /etc/nixos#desktop
Part 12 – Install Packages

Temporarily:

nix shell nixpkgs#ripgrep

Run once:

nix run nixpkgs#hello

Permanent:

environment.systemPackages = with pkgs; [
  firefox
  git
  neovim
  ripgrep
  fd
  htop
  tmux
];
Part 13 – Home Manager

Install Home Manager as a flake input.

Benefits:

  • User configuration as code
  • Dotfile management
  • Reproducible shell configuration
  • Declarative editor setup
  • Version-controlled user environment

Example modules:

  • Git
  • Zsh
  • Bash
  • Neovim
  • Alacritty
  • Kitty
  • VS Code
  • SSH
  • GPG
  • Starship
Part 14 – Garbage Collection

Delete old generations:

sudo nix-collect-garbage -d

Automatic cleanup:

nix.gc = {
  automatic = true;
  dates = "weekly";
  options = "--delete-older-than 30d";
};
Part 15 – Rollbacks

List generations:

sudo nix profile history

Rollback:

sudo nixos-rebuild switch --rollback

You can also select previous system generations directly from the bootloader if a rebuild prevents the system from booting.

Part 16 – System Upgrades

Update flake inputs:

nix flake update

Apply:

sudo nixos-rebuild switch --flake /etc/nixos
Part 17 – Useful Services

SSH:

services.openssh.enable = true;

Docker:

virtualisation.docker.enable = true;

PipeWire:

services.pipewire = {
  enable = true;
  pulse.enable = true;
};

Printing:

services.printing.enable = true;

Bluetooth:

hardware.bluetooth.enable = true;
Part 18 – Development

Example development shell:

{
  description = "Example dev shell";

  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

  outputs = { self, nixpkgs }:
  let
    pkgs = import nixpkgs {
      system = "x86_64-linux";
    };
  in {
    devShells.x86_64-linux.default =
      pkgs.mkShell {
        packages = with pkgs; [
          git
          gcc
          cmake
          python3
        ];
      };
}

Enter:

nix develop
Part 19 – Recommended Repository Layout
nixos/

├── flake.nix
├── flake.lock
├── hosts/
│   └── desktop
├── modules/
│   ├── networking.nix
│   ├── users.nix
│   ├── desktop.nix
│   ├── fonts.nix
│   └── services.nix
├── home/
│   ├── git.nix
│   ├── shell.nix
│   ├── nvim.nix
│   └── zsh.nix

Keeping configuration modular makes it easier to reuse components across multiple systems and simplifies maintenance.

Part 20 – Troubleshooting

Configuration errors

Validate before switching:

sudo nixos-rebuild test

Boot issues

  • Confirm the EFI partition is mounted at /boot.
  • Verify boot.loader.systemd-boot.enable = true;.
  • Ensure UEFI mode is enabled in firmware.

Network problems

Verify NetworkManager:

systemctl status NetworkManager

Flake errors

Refresh lock file:

nix flake update

Or remove flake.lock and regenerate it if dependency resolution becomes inconsistent.

[mai mult...]

Sistemul de operare optimizat pentru Edge Computing și Self-Healing

  1. Introducere și Context

În mediile tradiționale de Cloud, infrastructura este centralizată și stabilă. În schimb, Edge Computing implică mii de dispozitive hardware (Raspberry Pi, NVIDIA Jetson, mini-PC-uri industriale) dispersate geografic, adesea conectate prin rețele instabile (4G/5G) și fără suport tehnic la fața locului.

BalenaOS este un sistem de operare open-source bazat pe Linux (Yocto Project), dezvoltat special pentru a rezolva aceste probleme. Acesta permite rularea aplicațiilor în containere izolate și oferă mecanisme automate de monitorizare, depanare și autovindecare (self-healing).

  1. Arhitectura Sistemului

Spre deosebire de un Linux clasic (precum Ubuntu), BalenaOS folosește o arhitectură minimalistă, securizată și optimizată pentru memoria Flash (carduri SD, eMMC).

  • Sistem de fișiere Read-Only (RootFS): Partitia principală a sistemului de operare este blocată la scriere. Acest lucru previne coruperea sistemului în cazul unei pene bruște de curent.
  • Arhitectură Dual-Root (Partiții A/B): BalenaOS deține două versiuni ale sistemului în paralel. Când se face un update de sistem, acesta se instalează pe partiția inactivă. Dacă update-ul eșuează, sistemul revine automat la partiția funcțională.
  • balenaEngine: Este motorul de rulare a containerelor. Reprezintă o versiune modificată de Docker, optimizată drastic pentru Edge (este cu 3.5x mai mică, consumă mai puțin RAM și previne uzura prematură a stocării prin limitarea scrierilor pe disc).
  1. Mecanisme de Troubleshooting și Depanare (Debug)

BalenaOS include un set unic de instrumente native pentru diagnosticarea și remedierea problemelor de la distanță:

  • Local Mode & SSH persistent: Dezvoltatorii se pot conecta securizat la terminalul dispozitivului prin SSH (chiar și în spatele unui firewall/NAT) direct din consola web balenaCloud sau prin CLI.
  • Log Streaming eficient: Jurnalele de erori (logs) generate de aplicații și de kernel-ul Linux sunt colectate local în RAM și transmise către server doar când există conexiune la internet, prevenind blocarea rețelei.
  • Inspecția containerelor în timp real: Permite rularea de comenzi de diagnosticare direct în interiorul containerului blocat pentru a verifica procesele interne fără a opri restul aplicațiilor.
  1. Soluția de Autovindecare (Self-Healing)

Cea mai puternică caracteristică a BalenaOS este capacitatea de a repara singur aplicațiile defecte fără intervenție umană.

[Aplicație Înghețată / Crash]

│

▼

[balenaEngine: Detecție eșec Health Check]

│

▼

[Restart Automat Container Local] (Timp de remediere: < 1 secundă)

Mecanismele incluse:

Engine Restart Guard: Dacă un container de aplicație crapă (din cauza unui Out of Memory sau Segmentation Fault), balenaEngine îl repornește automat în câteva milisecunde conform politicii de restart configurate.

Health Checks Inteligente: Dezvoltatorii pot defini scripturi de test în container. Dacă aplicația nu mai răspunde la cereri interne timp de 30 de secunde, sistemul o declară “unhealthy” și o reciclează.

Rollback de Aplicație (Fail-safe Updates): La descărcarea unei noi versiuni de cod, dacă noul container nu trece testele de pornire în primele minute, sistemul distruge containerul nou și repornește versiunea anterioară stabilă cache-uită local.

Hardware Watchdog Integration: BalenaOS se integrează nativ cu cipul electronic de siguranță al plăcii de bază (Watchdog). Dacă sistemul de operare îngheață complet, cipul taie alimentarea pentru un reboot complet curat la nivel hardware.

  1. Concluzie

BalenaOS transformă hardware-ul fragil de tip Edge într-o infrastructură rezistentă, de clasă industrială. Prin combinarea containerelor izolate (balenaEngine) cu un sistem de fișiere protejat și politici stricte de Self-Healing, platforma reduce costurile de mentenanță la sol cu până la 90%, fiind o soluție de referință în IoT-ul modern.

[mai mult...]

Bluestar Linux installation guide

Download Bluestar Linux

Download the latest ISO from the project’s download page or SourceForge mirror. Verify the checksum if available before creating installation media.

Create a Bootable USB

Linux

sudo dd if=bluestar-linux.iso of=/dev/sdX bs=4M status=progress oflag=sync

Replace /dev/sdX with your USB device.

Windows

Recommended tools:

  • Rufus
  • Ventoy
  • balenaEtcher
Boot the Installer
  1. Insert the USB drive
  2. Open your computer’s boot menu
  3. Select the USB device
  4. Boot into the Bluestar Live environment.
Explore the Live Environment

Before installing, verify that:

  • Graphics work correctly.
  • Wi-Fi connects successfully.
  • Audio functions properly.
  • Touchpad and keyboard operate normally.

If everything works in the live session, it will usually work after installation.

Launch the Installer

Double-click the installer icon on the desktop.

The installer guides you through:

  • Language
  • Keyboard layout
  • Time zone
  • Disk partitioning
  • User creation
  • Bootloader installation
Disk Partitioning

Automatic Partitioning

Recommended for new users.

The installer automatically creates:

  • EFI System Partition
  • Root partition
  • Swap (if configured)
Manual Partitioning

Example layout:

Partition Size Filesystem Mount Point
EFI 512 MB FAT32 /boot/efi
Root 40 GB ext4 /
Home Remaining ext4 /home
Swap 4–8 GB swap —

For UEFI systems, ensure the EFI partition is formatted as FAT32.

Specify:

  • Username
  • Password
  • Computer hostname
  • Administrator privileges

Use a strong password.

Bootloader Installation

Bluestar installs GRUB automatically for both UEFI and legacy BIOS systems. After installation, reboot and remove the USB drive.

First Boot

Log into KDE Plasma.

Open Konsole to update the system.


Update the System

sudo pacman -Syu

Because Bluestar is a rolling-release distribution, frequent updates are recommended.

Configure Mirrors

Install reflector if desired:

sudo pacman -S reflector

Generate a mirror list:

sudo reflector \
--country "United States" \
--latest 20 \
--protocol https \
--sort rate \
--save /etc/pacman.d/mirrorlist

Then update:

sudo pacman -Syyu
Install Development Tools
sudo pacman -S base-devel git

These packages are required for building software from the Arch User Repository.

Install an AUR Helper

Example using yay:

git clone https://aur.archlinux.org/yay.git

cd yay

makepkg -si

You can now install AUR packages:

yay -S visual-studio-code-bin
Install Graphics Drivers

Intel

sudo pacman -S mesa vulkan-intel intel-media-driver

AMD

sudo pacman -S mesa vulkan-radeon

NVIDIA

sudo pacman -S nvidia nvidia-utils

Reboot after installing proprietary NVIDIA drivers.

Enable Printing
sudo pacman -S cups system-config-printer

Enable the service:

sudo systemctl enable --now cups
Configure Audio

Modern Bluestar releases use PipeWire.

Install additional packages if needed:

sudo pacman -S

pipewire

pipewire-pulse

wireplumber

Verify:

pactl info
Install Common Applications

Office

sudo pacman -S libreoffice-fresh

Browser

sudo pacman -S firefox

Media

sudo pacman -S vlc

Image Editing

sudo pacman -S gimp

Development

sudo pacman -S

python

gcc

clang

cmake

rust

go
Configure Firewall

Install UFW:

sudo pacman -S ufw

Enable:

sudo systemctl enable --now ufw

Allow SSH if needed:

sudo ufw allow ssh

Enable firewall:

sudo ufw enable
Install Flatpak
sudo pacman -S flatpak

Add Flathub:

flatpak remote-add --if-not-exists flathub \
https://flathub.org/repo/flathub.flatpakrepo

Install applications:

flatpak install flathub org.libreoffice.LibreOffice
Configure Snapshots (Optional)

Install Timeshift:

sudo pacman -S timeshift

Configure scheduled snapshots for easy recovery after updates.

Enable SSD TRIM
sudo systemctl enable fstrim.timer

Verify:

systemctl status fstrim.timer
Useful KDE Configuration

Open System Settings to configure:

  • Display scaling
  • Global theme
  • Window behavior
  • Power management
  • Night Color
  • Virtual desktops
  • Keyboard shortcuts
Useful Pacman Commands

Update system:

sudo pacman -Syu

Search packages:

pacman -Ss package

Install package:

sudo pacman -S package

Remove package:

sudo pacman -R package

Remove package and dependencies:

sudo pacman -Rns package

Clean package cache:

sudo pacman -Sc
[mai mult...]

How to install Artix Linux

Artix Linux is a rolling-release Linux distribution based on Arch Linux that removes systemd and instead supports multiple init systems:

  • OpenRC (most beginner-friendly)
  • Runit
  • s6
  • Dinit

Most Arch Linux documentation also applies to Artix, with the primary difference being service management and the installation tools.

This guide installs:

  • UEFI boot
  • GPT partition table
  • GRUB bootloader
  • Linux kernel
  • OpenRC (recommended for beginners)
  • NetworkManager
  • KDE Plasma (optional desktop)
  • Basic development tools
Step 1 – Download Artix

Download the latest ISO from the official Artix website.

Recommended editions:

  • Base ISO – full manual installation
  • Graphical ISO – Calamares installer
  • Community ISO – preconfigured desktop

For learning Linux, the Base ISO is recommended.

Step 2 – Create Bootable USB

On Linux:

sudo dd if=artix.iso of=/dev/sdX bs=4M status=progress oflag=sync

Replace:

  • /dev/sdX with your USB device

Alternatively use:

  • Ventoy
  • Balena Etcher
  • Rufus (Windows)
Step 3 – Boot the Installer

Boot from USB.

Verify network connectivity:

ping archlinux.org

If using Ethernet it usually works automatically.

For Wi-Fi:

nmtui

or configure manually.

Step 4 – Verify Boot Mode
ls /sys/firmware/efi

If the directory exists, you’re booted in UEFI mode.

Step 5 – Partition the Disk

View drives:

lsblk

Launch cfdisk:

cfdisk /dev/nvme0n1

Example layout:

EFI System Partition

  • 512 MB
  • FAT32

Root

  • Remaining space
  • Linux filesystem

Optional:

Home partition

Swap partition

Step 6 – Format Partitions

EFI:

mkfs.fat -F32 /dev/nvme0n1p1

Root:

mkfs.ext4 /dev/nvme0n1p2

Swap:

mkswap /dev/nvme0n1p3
swapon /dev/nvme0n1p3
Step 7 – Mount Filesystems
mount /dev/nvme0n1p2 /mnt

mkdir -p /mnt/boot/efi

mount /dev/nvme0n1p1 /mnt/boot/efi
Step 8 – Install Base System

Install the base packages:

basestrap /mnt base base-devel linux linux-firmware

Install OpenRC:

basestrap /mnt openrc elogind-openrc

You can substitute openrc with runit, dinit, or s6 if preferred.

Step 9 – Generate fstab
fstabgen -U /mnt >> /mnt/etc/fstab

Verify:

cat /mnt/etc/fstab
Step 10 – Chroot
artix-chroot /mnt
Step 11 – Time Zone

Example:

ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime

Generate hardware clock:

hwclock --systohc
Step 12 – Locale

Edit:

nano /etc/locale.gen

Uncomment:

en_US.UTF-8 UTF-8

Generate:

locale-gen

Create locale configuration:

echo LANG=en_US.UTF-8 > /etc/locale.conf
Step 13 – Hostname
echo mypc > /etc/hostname

Edit hosts:

nano /etc/hosts

Contents:

127.0.0.1 localhost
::1 localhost
127.0.1.1 mypc.localdomain mypc
Step 14 – Root Password
passwd
Step 15 – Create User
useradd -m -G wheel username

passwd username

Enable sudo:

EDITOR=nano visudo

Uncomment:

%wheel ALL=(ALL:ALL) ALL
Step 16 – Install Bootloader

Install packages:

pacman -S grub efibootmgr os-prober

Install GRUB:

grub-install \
--target=x86_64-efi \
--efi-directory=/boot/efi \
--bootloader-id=GRUB

Generate configuration:

grub-mkconfig -o /boot/grub/grub.cfg
Step 17 – Networking

Install:

pacman -S networkmanager

For OpenRC:

rc-update add NetworkManager default
Step 18 – Install Useful Packages
pacman -S

nano

vim

git

wget

curl

htop

bash-completion

openssh
Step 19 – Graphics Drivers

Intel:

pacman -S mesa intel-media-driver vulkan-intel

AMD:

pacman -S mesa vulkan-radeon

NVIDIA:

pacman -S nvidia nvidia-utils
Step 20 – Install Xorg
pacman -S xorg xorg-server xorg-xinit
Step 21 – Install KDE Plasma
pacman -S plasma kde-applications sddm

Enable display manager:

rc-update add sddm default
Step 22 – Audio

Install PipeWire:

pacman -S

pipewire

pipewire-pulse

wireplumber
Step 23 – Fonts
pacman -S

noto-fonts

ttf-dejavu

ttf-liberation
Step 24 – Enable Services

Examples:

rc-update add dbus default

rc-update add elogind default

rc-update add NetworkManager default

rc-update add sddm default
Step 25 – Exit
exit

umount -R /mnt

reboot

Remove the installation USB when prompted.

Updating the System
sudo pacman -Syu
Installing the AUR Helper

Clone and build yay:

git clone https://aur.archlinux.org/yay.git

cd yay

makepkg -si
Common Useful Packages

Development:

gcc

clang

cmake

python

rust

go

Utilities:

firefox

vlc

gimp

libreoffice

keepassxc

Terminal:

kitty

alacritty

tmux

zsh

fish
Security Recommendations
  • Use a normal user account for daily work.
  • Keep the system updated regularly with pacman -Syu.
  • Enable the firewall (e.g., ufw or nftables).
  • Install CPU microcode updates (intel-ucode or amd-ucode) if applicable.
  • Use full-disk encryption (LUKS) for laptops if you need data protection.
[mai mult...]