Configurare Sistem de operare
How to install and configure Gentoo Linux
1.Boot from the USB and open a terminal.
Check internet connectivity:
If not connected:
- Use
nmtuifor Wi-Fi - Or configure networking manually using
ipordhcpcd
2. Disk Partitioning
Identify your disk:
Assume /dev/sda.
Start partitioning:
Example layout (UEFI):
/dev/sda1— EFI partition (512 MB)/dev/sda2— root partition (remaining space)
3. Format Partitions
mkfs.ext4 /dev/sda2
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:
wget <stage3-url>
tar xpvf stage3-*.tar.xz –xattrs-include=‘*.*’ –numeric-owner
6. Configure Portage Environment
Copy DNS configuration:
Mount system directories:
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
source /etc/profile
export PS1=“(gentoo) $PS1“
8. Sync Portage Tree
emerge –sync
9. Configure make.conf
Edit:
Basic configuration:
MAKEOPTS=“-j$(nproc)“
Optional USE flags:
Keep USE flags minimal at first.
10. Select Profile
eselect profile set <number>
Choose based on your needs:
- default/linux/amd64
- desktop profile
- systemd or OpenRC variant
11. Update System
This compiles the base system and may take significant time.
12. Timezone and Locale
Set timezone:
emerge –config sys-libs/timezone-data
Configure locale:
Add:
Generate:
eselect locale set en_US.utf8
13. Install Kernel
Recommended method:
Manual method:
cd /usr/src/linux
make menuconfig
make -j$(nproc)
make modules_install
make install
14. Configure fstab
Example:
/dev/sda2 / ext4 noatime 0 1
15. Install Bootloader (GRUB)
grub-install –target=x86_64-efi –efi-directory=/boot
grub-mkconfig -o /boot/grub/grub.cfg
16. Set Root Password
17. Install Basic Tools
Enable networking:
18. Create User
passwd youruser
Enable sudo:
Uncomment:
19. Exit and Reboot
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -R /mnt/gentoo
reboot
Post-Installation Setup
Desktop Environment (example GNOME)
rc-update add gdm default
Xorg (if needed)
Audio (PipeWire)
Performance Optimizations
Enable ccache:
Binary packages:
Common Pitfalls
- Incorrect kernel configuration can prevent booting
- Missing filesystem support in kernel
- Overusing USE flags early in setup
- Forgetting to mount
/bootbefore installing kernel.
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
- Go to the official website: https://zorin.com/os/pro/
- Choose an edition:
- Core (free, most common)
- Lite (for older PCs)
- Pro (paid, extra layouts and apps)
- Download the ISO file
3. Create a Bootable USB
You’ll need:
- USB drive (8 GB or larger)
On Windows
Use Rufus:
- Insert USB
- Open Rufus
- Select Zorin ISO
- Partition scheme:
- GPT for UEFI systems
- MBR for older BIOS
- Click Start
On macOS/Linux
Use balenaEtcher:
- Select ISO
- Select USB
- Flash
4. Boot from USB
- Restart your computer
- Enter boot menu (usually F2, F12, ESC, or DEL)
- 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 GBswap: 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:
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:
- VLC media player for media
- GIMP for editing
- Git for development
15. Enable Flatpak Support
Zorin supports Flatpak:
Add Flathub:
16. Install Snap
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
Install Steam:
Enable Proton for Windows games.
20. Security Basics
- Enable firewall:
- Install updates regularly
- Avoid running unknown scripts.
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):
-
Insert USB drive
-
Open Rufus
-
Select the Manjaro ISO
-
Partition scheme:
-
GPT for UEFI
-
MBR for legacy BIOS
-
-
Click Start
Linux
Use dd or Etcher.
Example:
Replace /dev/sdX with your USB device.
6. Boot from the USB
-
Restart computer
-
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:
or
8. Launch the Installer
Double-click:
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:
Installer creates automatically:
Typical layout:
| Partition | Size | Filesystem |
|---|---|---|
| EFI | 300MB | FAT32 |
| Root | rest | ext4 |
| Swap | optional | swap |
Option 2: Manual Partitioning
Choose:
Recommended layout:
EFI Partition
Filesystem: FAT32
Mount: /boot/efi
Flag: boot
Root Partition
Filesystem: ext4
Mount: /
Enter:
-
Full name
-
Username
-
Computer name
-
Password
Optional:
Installer displays summary:
-
partitions
-
bootloader
-
users
-
location
Bootloader used: GRUB from GNU GRUB.
Click: Install
Time required:
The installer:
-
copies system files
-
installs kernel
-
configures bootloader
-
sets user accounts
14. Reboot System
After installation finishes:
Check:
Remove USB when prompted.
15. First Boot
After reboot you will see:
Select:
Login with the account created earlier.
16. Update the System
Open terminal.
Run:
This updates all packages from Manjaro repositories.
17. Install AUR Helper
Manjaro supports the Arch User Repository.
Install helper:
Example usage:
Open:
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:
Install package:
Remove package:
Search packages:
Black screen after install
Try booting with:
in GRUB.
Often GPU driver related.
Wi-Fi not detected
Install firmware:
Reinstall GRUB:
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:
Install Raspberry Pi Imager or balenaEtcher.
Flash the Volumio image to the SD card.
Steps:
-
Insert SD card
-
Open flashing software
-
Select Volumio image
-
Select SD card
-
Flash
Insert the card into the Raspberry Pi.
4. First Boot
Power on the Raspberry Pi.
Wait about:
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:
or
You will see the Volumio music interface.
6. Add your Music Library
You can add music several ways.
Method 1 – USB drive
-
Insert USB drive
-
Volumio automatically scans it
-
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:
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:
You can also manually add stream URLs.
9. Enable Spotify
Install the plugin:
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 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:
Example:
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...]