Debian 12 Β· Bash Script
π§ Debian
Mega
Install
// full system setup β one script to rule them all
root@debian ~ ./debian-mega-install.sh
==================================
π§ DEBIAN MEGA INSTALL SCRIPT
==================================
π Aktualizacja...
$ sudo apt update
$ sudo apt upgrade -y
π¦ Instalacja pakietΓ³w...
$ sudo apt install -y \
neofetch btop htop fastfetch ncdu timeshift \
tmux zsh fish ranger mc fzf tree \
curl wget git vim nano jq unzip p7zip-full \
ripgrep fd-find bat eza tldr \
ffmpeg imagemagick vlc \
gparted ufw fail2ban openssh-server \
net-tools nmap tcpdump wireshark \
cmatrix cowsay lolcat figlet sl hollywood \
python3-pip nodejs npm docker.io docker-compose \
default-jdk openjdk-17-jdk \
build-essential rsync lsof iotop iftop \
iputils-ping traceroute dnsutils \
ca-certificates gnupg lsb-release \
screen sqlite3 mariadb-server nginx apache2 clamav \
neovim vsftpd postgresql restic sysbench dos2unix \
gnome-system-monitor openssh-client bash
π§ͺ Test tools (opcjonalnie uruchom rΔcznie):
htop β
htop
btop β
btop
neofetch β
neofetch
sysbench β
sysbench
mc β
mc
neovim β
nvim
π§° JeΕli masz skrypty Windows:
$ dos2unix system-helper.sh
$ bash system-helper.sh
π§Ή Czyszczenie...
$ sudo apt autoremove -y
$ sudo apt clean
==================================
β INSTALL COMPLETE
πΎ SYSTEM READY
==================================
π Kopiuj skrypt
Kategorie pakietΓ³w
π
Monitoring
htop β procesy interaktywnie
btop β zaawansowany monitor
ncdu β uΕΌycie dysku
iotop β I/O procesΓ³w
iftop β sieΔ w czasie rzeczywistym
fastfetch / neofetch β sysinfo
π
SieΔ
nmap β skanowanie sieci
tcpdump β przechwytywanie pakietΓ³w
wireshark β analiza ruchu
net-tools β ifconfig, route
traceroute, dnsutils
iputils-ping
π‘οΈ
BezpieczeΕstwo
ufw β firewall
fail2ban β ochrona SSH
clamav β antywirus
openssh-server / client
ca-certificates, gnupg
restic β backup
ποΈ
Serwery
nginx β web server
apache2 β web server
mariadb-server β SQL
postgresql β SQL
vsftpd β FTP
sqlite3 β lekka baza
π³
Dev & Runtime
docker.io + docker-compose
nodejs + npm
python3-pip
default-jdk, openjdk-17
build-essential
git, vim, nano, neovim
π
Fun & Shell
cmatrix β Matrix efekt
cowsay, lolcat, figlet
sl, hollywood
tmux, zsh, fish
ranger, mc β file managers
fzf β fuzzy finder
Wszystkie pakiety
neofetch
btop
htop
fastfetch
ncdu
timeshift
tmux
zsh
fish
ranger
mc
fzf
tree
curl
wget
git
vim
nano
jq
unzip
p7zip-full
ripgrep
fd-find
bat
eza
tldr
ffmpeg
imagemagick
vlc
gparted
ufw
fail2ban
openssh-server
openssh-client
net-tools
nmap
tcpdump
wireshark
cmatrix
cowsay
lolcat
figlet
sl
hollywood
python3-pip
nodejs
npm
docker.io
docker-compose
default-jdk
openjdk-17-jdk
build-essential
rsync
lsof
iotop
iftop
iputils-ping
traceroute
dnsutils
ca-certificates
gnupg
lsb-release
screen
sqlite3
mariadb-server
nginx
apache2
clamav
neovim
vsftpd
postgresql
restic
sysbench
dos2unix
gnome-system-monitor
bash
Co robi skrypt β krok po kroku
01
set -e
JeΕli cokolwiek siΔ wysypie β skrypt zatrzymuje siΔ natychmiast.
02
sudo apt update && apt upgrade -y
PeΕna aktualizacja systemu przed instalacjΔ nowych pakietΓ³w.
03
sudo apt install -y [60+ pakietΓ³w]
Jednorazowa instalacja: monitoring, sieΔ, serwery, dev tools, fun tools.
04
alias bat='batcat' >> ~/.bashrc
Fix Debian β bat instaluje siΔ jako
batcat
, alias naprawia to automatycznie.
05
sudo apt autoremove -y && apt clean
Czyszczenie po sobie β usuwa niepotrzebne zaleΕΌnoΕci i cache pakietΓ³w.