Linux পরিচিতি ও Installation

লেসন ৬ / ৩৮

🐧 Linux কেন Server-এ?

  • Free, stable, lightweight
  • Strong security, full control
  • Internet 90%+ Linux Server

📦 Distros

  • Ubuntu — most popular। সেরা পছন্দ।
  • Debian — super stable
  • Rocky / RHEL — enterprise
  • Alpine — Docker tiny (5MB)

📁 Filesystem

/           root
/home       user homes
/etc        config (nginx, mysql)
/var        variable (logs, db, www)
  /var/log/      logs
  /var/www/      web files
/usr/bin    executables
/opt        3rd party
/tmp        temporary
/proc, /sys virtual (kernel)
/dev        device files

💻 Local Setup

  1. WSL 2 (Windows) — best for dev
  2. VirtualBox VM
  3. Docker Desktop
  4. Cloud VPS $5/month — real experience

🪟 WSL Setup

# PowerShell as Admin
wsl --install
wsl --set-default-version 2
wsl --list --online
wsl --install -d Ubuntu-22.04

🚀 Cloud VPS Options

  • DigitalOcean $5 — 1GB
  • Hetzner $4 — best price/perf
  • Vultr / Linode — alternative
  • AWS Lightsail $3.5

🎓 মূল কথা ⭐

Production = Ubuntu LTS (22.04, 24.04)। Local dev = WSL 2 fastest। শেখার জন্য $5 VPS — real experience।