🐧 INSTALASI ARCH LINUX UNTUK HACKING MU

·

Disclaimer: Ini untuk pengguna intermediate–advanced. Gunakan VM atau secondary machine kalau lo belum familiar.

🔧 1. PERSIAPAN


⚙️ 2. INSTALASI DASAR

Boot ke Arch ISO → masuk ke CLI:

# Cek internet
ping archlinux.org

# Sync waktu
timedatectl set-ntp true

# Partisi (contoh 1 disk)
cfdisk /dev/sda

# Format
mkfs.ext4 /dev/sda1
mount /dev/sda1 /mnt

# Install base system
pacstrap /mnt base linux linux-firmware vim networkmanager sudo

# Fstab
genfstab -U /mnt >> /mnt/etc/fstab

# Chroot
arch-chroot /mnt

# Set timezone, locale, hostname, root password
ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
hwclock --systohc
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
echo "archhacker" > /etc/hostname
passwd

🧠 3. POST-INSTALL & TOOLS PENTING

# Network manager
systemctl enable NetworkManager

# User sudo
useradd -m hacker
passwd hacker
usermod -aG wheel hacker
EDITOR=vim visudo # Uncomment %wheel ALL=(ALL) ALL

# AUR helper
pacman -S git base-devel
su - hacker
git clone https://aur.archlinux.org/yay.git
cd yay && makepkg -si

🔥 4. TOOLKIT HACKING WAJIB

Install dengan yay atau pacman:

# Network, pentest, OSINT tools
yay -S nmap wireshark aircrack-ng john metasploit hydra \
gobuster sqlmap dirb theharvester tor proxychains \
openvpn bettercap whois subfinder amass

🖥 5. TAMBAHAN: Desktop Environment

Kalau mau GUI ringan:

pacman -S xorg xorg-xinit xfce4 xfce4-goodies lightdm lightdm-gtk-greeter
systemctl enable lightdm

📁 6. FILE PERSISTEN & BACKUP TOOLS

  • Simpan config di ~/tools/hacking/
  • Gunakan Timeshift atau rsync buat backup reguler
  • Gunakan VM snapshot (kalau install di VirtualBox)

🧩 BONUS: OSINT ENV

# Install tools tambahan
yay -S sherlock photon spiderfoot maltego

# Python env
sudo pacman -S python-pip
pip install instaloader requests bs4 scapy

✅ SIAP DIGUNAKAN UNTUK:

  • Pentest lokal dan remote
  • Investigasi OSINT
  • Forensik jaringan
  • Red teaming dengan alat lengkap

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *