Configurare Sistem de operare

How to install and configure Gentoo Linux

1.Boot from the USB and open a terminal.

Check internet connectivity:

ping -c 3 gentoo.org

If not connected:

  • Use nmtui for Wi-Fi
  • Or configure networking manually using ip or dhcpcd

2. Disk Partitioning

Identify your disk:

lsblk

Assume /dev/sda.

Start partitioning:

fdisk /dev/sda

Example layout (UEFI):

  • /dev/sda1 — EFI partition (512 MB)
  • /dev/sda2 — root partition (remaining space)

3. Format Partitions

mkfs.fat -F32 /dev/sda1
mkfs.ext4 /dev/sda2
4.Mount Filesystems
mount /dev/sda2 /mnt/gentoo
mkdir -p /mnt/gentoo/boot
mount /dev/sda1 /mnt/gentoo/boot

5. Download and Extract Stage3

Go to:
https://www.gentoo.org/downloads/

Download a suitable stage3 tarball (OpenRC or systemd).

Example:

cd /mnt/gentoo
wget <stage3-url>
tar xpvf stage3-*.tar.xz –xattrs-include=‘*.*’ –numeric-owner

6. Configure Portage Environment

Copy DNS configuration:

cp –dereference /etc/resolv.conf /mnt/gentoo/etc/

Mount system directories:

mount –types proc /proc /mnt/gentoo/proc
mount –rbind /sys /mnt/gentoo/sys
mount –make-rslave /mnt/gentoo/sys
mount –rbind /dev /mnt/gentoo/dev
mount –make-rslave /mnt/gentoo/dev

7. Chroot into Gentoo

chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1=“(gentoo) $PS1

8. Sync Portage Tree

emerge-webrsync
emerge –sync

9. Configure make.conf

Edit:

nano /etc/portage/make.conf

Basic configuration:

COMMON_FLAGS=“-march=native -O2 -pipe”
MAKEOPTS=“-j$(nproc)

Optional USE flags:

USE=“X wayland alsa pulseaudio networkmanager”

Keep USE flags minimal at first.

10. Select Profile

eselect profile list
eselect profile set <number>

Choose based on your needs:

  • default/linux/amd64
  • desktop profile
  • systemd or OpenRC variant

11. Update System

emerge –ask –verbose –update –deep –newuse @world

This compiles the base system and may take significant time.

12. Timezone and Locale

Set timezone:

echo “Europe/Bucharest” > /etc/timezone
emerge –config sys-libs/timezone-data

Configure locale:

nano /etc/locale.gen

Add:

en_US.UTF-8 UTF-8

Generate:

locale-gen
eselect locale set en_US.utf8

13. Install Kernel

Recommended method:

emerge sys-kernel/gentoo-kernel

Manual method:

emerge sys-kernel/gentoo-sources
cd /usr/src/linux
make menuconfig
make -j$(nproc)
make modules_install
make install

14. Configure fstab

nano /etc/fstab

Example:

/dev/sda1 /boot vfat defaults 0 2
/dev/sda2 / ext4 noatime 0 1

15. Install Bootloader (GRUB)

emerge sys-boot/grub
grub-install –target=x86_64-efi –efi-directory=/boot
grub-mkconfig -o /boot/grub/grub.cfg

16. Set Root Password

passwd

17. Install Basic Tools

emerge vim sudo networkmanager

Enable networking:

rc-update add NetworkManager default

18. Create User

useradd -m -G wheel,audio,video -s /bin/bash youruser
passwd youruser

Enable sudo:

visudo

Uncomment:

%wheel ALL=(ALL:ALL) ALL

19. Exit and Reboot

exit
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -R /mnt/gentoo
reboot

Post-Installation Setup

Desktop Environment (example GNOME)

emerge gnome-base/gnome
rc-update add gdm default

Xorg (if needed)

emerge x11-base/xorg-server

Audio (PipeWire)

emerge media-video/pipewire

Performance Optimizations

Enable ccache:

emerge dev-util/ccache

Binary packages:

FEATURES=“buildpkg”

Common Pitfalls

  • Incorrect kernel configuration can prevent booting
  • Missing filesystem support in kernel
  • Overusing USE flags early in setup
  • Forgetting to mount /boot before installing kernel.
[mai mult...]

How to install Zorin OS

1. System Requirements

Minimum

  • CPU: 1 GHz dual-core
  • RAM: 2 GB (4 GB recommended)
  • Storage: 20 GB
  • Display: 1024×768

Recommended

  • CPU: 2+ GHz quad-core
  • RAM: 8 GB
  • Storage: 64 GB SSD

2. Download Zorin OS

  1. Go to the official website: https://zorin.com/os/pro/
  2. Choose an edition:
    • Core (free, most common)
    • Lite (for older PCs)
    • Pro (paid, extra layouts and apps)
  3. Download the ISO file

3. Create a Bootable USB

You’ll need:

  • USB drive (8 GB or larger)

On Windows

Use Rufus:

  1. Insert USB
  2. Open Rufus
  3. Select Zorin ISO
  4. Partition scheme:
    • GPT for UEFI systems
    • MBR for older BIOS
  5. Click Start

On macOS/Linux

Use balenaEtcher:

  1. Select ISO
  2. Select USB
  3. Flash

4. Boot from USB

  1. Restart your computer
  2. Enter boot menu (usually F2, F12, ESC, or DEL)
  3. Select USB device

You’ll see:

  • “Try Zorin OS”
  • “Install Zorin OS”

You can test the system first without installing.

5. Start Installation

Double-click Install Zorin OS.

Language & Keyboard

  • Choose your preferred language
  • Select keyboard layout

6. Installation Type

Option A: Install alongside existing OS

  • Dual-boot with Windows

Option B: Erase disk

  • Full clean install

Option C: Something else (advanced)

  • Manual partitioning

7. Partitioning

Typical setup:

  • / (root): 20–50 GB
  • swap: 2–8 GB (or use swap file)
  • /home: remaining space

File system: ext4

8. User Setup

Enter:

  • Name
  • Computer name
  • Username
  • Password

Options:

  • Log in automatically
  • Require password

9. Install Process

  • Takes 10–20 minutes
  • System copies files and installs bootloader

When finished:

  • Restart
  • Remove USB when prompted

10. First Boot

Log into your new system. You’ll see the Zorin desktop (based on GNOME, customized for ease of use).

Post-Installation Configuration

11. Update System

Open Terminal:

sudo apt update && sudo apt upgrade -y

12. Install Additional Drivers

Go to:

  • Software & Updates → Additional Drivers

Install:

  • NVIDIA drivers (if applicable)
  • Wi-Fi drivers

13. Customize Desktop

Use Zorin Appearance:

  • Change layout (Windows-like, macOS-like, etc.)
  • Adjust themes
  • Modify panel and dock

14. Install Essential Software

Built-in Software Center

Use the graphical app store

Common apps:

sudo apt install git curl vlc gimp -y
  • VLC media player for media
  • GIMP for editing
  • Git for development

15. Enable Flatpak Support

Zorin supports Flatpak:

sudo apt install flatpak gnome-software-plugin-flatpak

Add Flathub:

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

16. Install Snap 

sudo apt install snapd

17. Set Up Backups

Use Deja Dup (Backups):

  • Schedule automatic backups
  • Store on external drive or cloud

18. Optimize Performance

Reduce startup apps

  • Settings → Startup Applications

Check system usage

htop

Install Steam:

sudo apt install steam

Enable Proton for Windows games.

20. Security Basics

  • Enable firewall:
sudo ufw enable
  • Install updates regularly
  • Avoid running unknown scripts.
[mai mult...]

How to install Manjaro

Go to the official site:

Main desktop editions:

  • KDE Plasma (most customizable)

  • Xfce (lightweight)

  • GNOME (modern UI)

Download the .iso file.

Example: manjaro-kde-23.x.x-xxxx-linux.iso

Verification ensures the file is not corrupted.

Download the SHA256 checksum from the Manjaro site.

On Linux: sha256sum manjaro-kde-*.iso

Compare the output with the official checksum.

  • Create a Bootable USB

Windows

Use:

  • Rufus

  • balenaEtcher

Steps (Rufus):

  1. Insert USB drive

  2. Open Rufus

  3. Select the Manjaro ISO

  4. Partition scheme:

    • GPT for UEFI

    • MBR for legacy BIOS

  5. Click Start

Linux

Use dd or Etcher.

Example:

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

Replace /dev/sdX with your USB device.

6. Boot from the USB

  1. Restart computer

  2. Enter BIOS/UEFI

Common keys:

  • F2

  • F10

  • F12

  • DEL

Change Boot Order so USB is first.

Save and reboot.

7. Start the Live Environment

You will see the Manjaro boot menu.

Select:

Boot with open source drivers

or

Boot with proprietary drivers Use proprietary if you have an NVIDIA GPU. After booting, you will enter the live desktop environment.

8. Launch the Installer

Double-click:

Install Manjaro Linux

This launches the **Calamares installer.

Select Language

Choose system language.

Example: English (US)

Click your location on the map.

Example: Europe → Bucharest

Select keyboard layout

Examples:

  • US

  • UK

  • Romanian

Test in the text box.

Disk Partitioning

This is the most important step.

Option 1 (Recommended): Erase Disk

Choose:

Erase disk

Installer creates automatically:

Typical layout:

Partition Size Filesystem
EFI 300MB FAT32
Root rest ext4
Swap optional swap

Option 2: Manual Partitioning

Choose:

Manual partitioning

Recommended layout:

EFI Partition

Size: 300–512 MB
Filesystem: FAT32
Mount: /boot/efi
Flag: boot

Root Partition

Size: 30GB+
Filesystem: ext4
Mount: /
Creat user acount

Enter:

  • Full name

  • Username

  • Computer name

  • Password

Optional:

Use same password for administrator account

Installer displays summary:

  • partitions

  • bootloader

  • users

  • location

Bootloader used: GRUB from GNU GRUB.

Click: Install

Time required:

5–20 minutes

The installer:

  • copies system files

  • installs kernel

  • configures bootloader

  • sets user accounts

14. Reboot System

After installation finishes:

Check:

Restart now

Remove USB when prompted.

15. First Boot

After reboot you will see:

GRUB boot menu

Select:

Manjaro Linux

Login with the account created earlier.

16. Update the System

Open terminal.

Run:

sudo pacman -Syu

This updates all packages from Manjaro repositories.

17. Install AUR Helper

Manjaro supports the Arch User Repository.

Install helper:

sudo pacman -S yay

Example usage:

yay -S google-chrome

Open:

Manjaro Settings Manager

Go to: Hardware Configuration

Install proprietary drivers if needed.

Especially for:

  • NVIDIA GPUs

  • Wi-Fi adapters

Install Common Software

Examples:

Browser: sudo pacman -S firefox

Development tools: sudo pacman -S base-devel git

Media: sudo pacman -S vlc

Update system:

sudo pacman -Syu

Install package:

sudo pacman -S package_name

Remove package:

sudo pacman -R package_name

Search packages:

pacman -Ss keyword

Black screen after install

Try booting with:

nomodeset

in GRUB.

Often GPU driver related.

Wi-Fi not detected

Install firmware:

sudo pacman -S linux-firmware

Reinstall GRUB:

sudo grub-install
sudo update-grub

Enable firewall: sudo ufw enable

Install Timeshift backups: sudo pacman -S timeshift

Useful for system restore.

[mai mult...]

Raspberry Pi Music jukebox

Recommended boards:

  • Raspberry Pi 4 Model B

  • Raspberry Pi 3 Model B+

You will need:

Component Purpose
Raspberry Pi Main computer
MicroSD card (32GB+) Operating system
Power supply 5V 3A
Speakers Audio output
USB DAC or amplifier Better sound quality

Optional Upgrades

These make the jukebox much cooler:

  • Touchscreen display

  • Arcade buttons for song selection

  • Rotary knob for volume

  • LED lighting

  • Wooden jukebox-style case

  • Large USB drive for music storage

 Install the Jukebox Software

The easiest software for this project is Volumio.

It is designed specifically for DIY music streamers and jukeboxes.

Step 1 – Download Volumio

Download the image from:

https://volumio.com
Step 2:

Install Raspberry Pi Imager or balenaEtcher.

Flash the Volumio image to the SD card.

Steps:

  1. Insert SD card

  2. Open flashing software

  3. Select Volumio image

  4. Select SD card

  5. Flash

Insert the card into the Raspberry Pi.

4. First Boot

Power on the Raspberry Pi.

Wait about:

2–3 minutes

Volumio will automatically create a network interface.

5. Access the Jukebox Interface

From any device connected to the same network:

Open a browser and go to:

http://volumio.local

or

http://<raspberry-pi-ip>

You will see the Volumio music interface.

6. Add your Music Library

You can add music several ways.

Method 1 – USB drive

  1. Insert USB drive

  2. Volumio automatically scans it

  3. Music appears in library

Supported formats include:

  • MP3

  • FLAC

  • WAV

  • AAC

  • OGG

Method 2 – Network storage

You can mount:

  • NAS drives

  • Shared folders

  • External servers

Go to:

Settings → Sources

Add a network share.

Method 3 – Upload music

Some plugins allow direct uploads from the web interface.

7. Connect Speakers

Option 1 – HDMI audio

Connect the Pi to a TV or receiver.

Option 2 – 3.5mm headphone jack

Simple but average quality.

Option 3 – USB DAC (Best audio quality)

Use a USB audio adapter or DAC.

Common examples include:

  • AudioQuest DragonFly Black

  • HiFiBerry DAC+

These significantly improve sound quality.

8. Enable Internet Radio

Volumio includes thousands of stations.

Go to:

Browse → Web Radio

You can also manually add stream URLs.

9. Enable Spotify

Install the plugin:

Settings → Plugins → Spotify

This adds Spotify Connect.

Your jukebox will appear as a device in Spotify.

10. Make It a Real Jukebox

You can connect physical buttons to GPIO pins.

Example controls:

  • Next song

  • Previous song

  • Play / Pause

  • Volume

Python script example:

import RPi.GPIO as GPIO
import osGPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.IN, pull_up_down=GPIO.PUD_UP)

while True:
if GPIO.input(17) == False:
os.system(“mpc next”)

This lets you build arcade-style controls.

11. Add a Touchscreen

Add a display such as:

  • Raspberry Pi 7-inch Touchscreen Display

Mount it in a case and run the Volumio interface full screen.

This creates a self-contained jukebox interface.

12. Auto Start Music

You can configure playlists to start automatically.

In settings:

Playback → Startup Options

Example:

Play random music at startup

Perfect for parties or background music.

[mai mult...]

Cum rezolvam problema cont Local si AD cu aceeasi denumire

In cadrul companiei sunt utilizate atat conturi Locale, cat si conturi Active Directory (AD). Ambele tipuri de conturi folosesc acelasi format de denumire: Nume.NumeFamilie. Din cauza faptului ca au acelasi format si aceeasi conventie de naming, Domain Controller-ul (DC) nu poate diferentia in mod corect conturile in anumite scenarii de autentificare.

In consecinta, contul de AD este blocat in mod repetat, generand incidente de securitate si intreruperi operationale pentru utilizatori.

[mai mult...]